0
votes

I want to connect with a USB stick (ANT+ suntoo) for serial communication using under python USB libraries in eclipse under windows 8.1. I have to pass the serial address of my USB stick(Port_#0001.Hub_#0003) as a parameter to my python program.

In linux it would be as: #SERIAL = '/dev/ttyUSB0', so nothing like this in window

However in windows it will some variant of COMx, but my OS do't display the USB as COM port. Rather It just displays Generic USB HUB with Port and hub number.

I tried to just pass COM3 but the error I am getting is as: could not open port 'COM3': FileNotFoundError(2, 'The system cannot find the file specified.', None, 2)

These questions Qs01, Qs02 are related but no avail. Please guide.

1

1 Answers

0
votes

I'm guessing you are referring to the suunto HR belt. I'm not sure what type of output cables they have. One way to do it is by using a serial to USB adapter cable that makes it a 'COM' Port. Here is an example. But make sure you install the drivers for the adapter. After you install the drivers and connect the cable, you'll see the COM port under Ports in Device Manager.Hope this helps!