BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Cant find serial port for arduino / Blynk

Good day everyone, I have built an arduino sketch with blynk an a UNO configured for serial connection and it works fine on my computer. I sent a copy to a friend in Malaysia and, after selecting the right server (thank you again Pete) the sketch works fine. I have now delivered an identical copy to a friend in UK. He is running Windows 10 but unfortunately after plugging the arduino into a USB port of his laptop, the device does not appear under Ports (COM & LPT). Interestingly “USB2.0-Serial” appears under “other devices” and this disappears when the arduino is disconnected. Under Ports (COM & LPT) there is just "Multiport Communications Port (COM3)
When I connect an identical sketch into my computer under Ports (COM & LPT) I have USB - SERIAL CH340 (COM9) which is my arduino UNO (copy)
I have connected another copy of this sketch on UNO to my laptop and it appears (with the port number) fine under Ports (COM & LPT).
Thinking about this this is probably a Windows problem but I was hoping that someone here might suggest what we could try to see the device under the ports field. We have tried going to device manager then view then hidden devices but that dosen’t help. Has anyone else had this problem and if so can anyone please suggest what we could do to try and get the port number for the project so we can edit and run the script. My friend has tried connecting this to a different laptop and has the same issue.

Your friend needs to install a driver so that his PC recognises the CH340 TTL to USB chip and creates the virtual port when the Uno is plugged-in.

Pete,

Good morning Pete, Thanks for your guidance once again. We have followed the appropriate application note on the ftdichip.com site and now see the device as port 4 under Ports (COM & LPT), which we are delighted about !. The .bat file has been amended to reflect that the device is plugged into port 4 but, unfortunately when we plug the UNO into the computer using the serial port and run the script we get the following error:
…lectern files\com2tcptcp.exe" ’ is not recognized as an internal or external command, operable programme or batch file.
Reconnection in 3 s…
Do you recognise this error message, can you suggest what might be causing this error ?
With best regards, Charlie

Well, as I explained in this post…

the com2tcp.exe file is created, if it doesn’t already exist, by re-naming the com2tcp.bin file. For this to work, the com2tcp.bin file needs to exist in the same folder as the script batch file that is being executed.
In addition, the user executing the batch file needs to have permissions to create executables in that folder, which may require the batch file to be ‘run as administrator’ by right-clicking on it.

BTW, why are you still using this horrible serial batch file method rather than a NodeMCU with wifi manager?

Pete.

1 Like