Hello,
I am new to Xbee.
I would like to know if I can replace an USB cable to control a laboratory instrument that has a USB port from a computer using python.
Computer side: Xbee explorer (Sparkfun) with Xbee S2C in API (escape) mode and Python code to send ascii commands and read response.
Instrument side: Xbee explorer (Sparkfun) with Xbee S2C in API mode attached to the instrument USB port. External 5V power supply to the explorer. The Instrument board has an FTDI chip inside to convert from USB to UART. It should reply to every command send from the computer with an ASCII string. That means the data delivered wirelessly to the instrument should be converted to USB by the sparkfun explorer and then converted back to UART by the FTDI chip inside the instrument.
The system it is not working. The TX and RX leds at instrument side are not blinking so it looks like it the instrument is not receiving any data from the xbee explorer.
If I try the same link between two pc’s the system works, so I believe the python code is correct and the xbee modules are well configured.
Any ideas?
Thank you in advance