I am trying to communicate with an Xbee module with an ATmega1284P microcontroller through UART/RS232. When I connect the microcontroller’s RS232 port to my PC, I can see data coming in at the set baud rate of 9600. When I connect the Xbee to the computer and send some commands using X-CTU, I can see data being transferred through the LEDs on the DIN pin (same settings of baud rate, parity bit and stop bit). Xbee is also doing the wireless transmission correctly since I receive the data through another Xbee connected to my PC. But when I connect the microcontroller directly to the XBee through UART, there is no data coming in. The DIN LEDs don’t light up. Any idea what the issue here might be?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| XR 868 Module sends but does not receive frames | 1 | 22 | November 27, 2024 | |
| Communication between laptop and atmega2560 via two Xbee S2C | 1 | 437 | August 15, 2017 | |
| Why does XBee 868LP SPI not respond when connected to Atmega328P MCU | 3 | 1240 | January 25, 2018 | |
| Troubles configuring Xbee with AT commands from microcontroller | 2 | 517 | September 12, 2019 | |
| PIC32 and XBee | 3 | 2112 | April 12, 2010 |