Hi, my Professor bought a couple of Xbee 3, with xbee grove development boards.
I followed every instruction on the internet, but xctu doesn’t see my xbee. I tried to work on Linux, Windows, and Mac. Also, tried different cables. Still, none of the xbee3’s can’t be found by xctu.
Is this a common issue? Are there any steps for troubleshooting?
This kit uses a standard FT232 USB to serial chipset. In Linux do you see the serial driver probe when plugged in?
Can you share an over head picture with your phone with the jumper positions?
Regards
If you’re using Windows, within XCTU, when you select the Discover Radio Devices icon, does a COM port show up?
If not, you may need to install the drivers for the FTDI transceiver chip, here are instructions on how to do this. FTDI Drivers for Windows/MAC/Linux for USB transceiver Chips - Semiconductor / Integrated Circuits (ICs) - Electronic Component and Engineering Solution Forum - TechForum │ DigiKey
Hi, sorry for the late reply.
Yes, every machine I connect them to do see the serial driver probe.
Later I tried to just use python to connect. and was constantly getting an error: “Could not determine operating mode”
The code:
import serial
from digi.xbee.devices import XBeeDevice
# Replace with the correct COM port and baud rate
PORT = "COM3" # e.g., COM3 on Windows or /dev/ttyUSB0 on Linux
BAUD_RATE = 9600
def send_data(device, data):
device.open()
print(f"Sending data: {data}")
device.send_data_broadcast(data)
device.close()
def receive_data(device):
device.open()
print("Waiting for data...")
device.flush_queues()
while True:
xbee_message = device.read_data()
if xbee_message:
print(f"Received data: {xbee_message.data.decode('utf-8')}")
break
device.close()
def main():
# Create an XBee device object
device = XBeeDevice(PORT, BAUD_RATE)
try:
# Send data
send_data(device, "Hello XBee")
# Receive data
receive_data(device)
except Exception as e:
print(f"Error: {e}")
if __name__ == "__main__":
main()
Hopefully this will give you a clue.
Hello,
Yes, xctu sees the COM ports to which xbee’s are connected. However, when I select the corresponding COM port, it is not able detect any modules.
I even checked on all baud rates.
Thank you for your follow up on this.
Move that jumper in the lower left hand side, the Loopback jumper, back into UART mode and try talking to them again.
1 Like