I am hoping someone can help me with some issues I am having with baud rates not working correctly in Arduino IDE.
I am connecting my Arduino pro mini (ATmega 328, 5v, 16 MHz) to USB port with FTDI friend. Xbee is S1 802.15.4.
I am having issues with the Arduino baud rates not working correctly with the xbee. Here is what I have been struggling with for the past couple of weeks…
When xbee and code are set for 38400 baud rate the Serial Monitor only displays correct data when the serial monitor baud rate is set to 19200. If I go and change all of the baud rates to 19200 the data only displays correctly when I change baud rate in serial monitor to 9600. It is like it only works at half of whatever baud rate is set (and therefore doesn’t work when I try to communicate with xbee).
Here is what I have tried so far:
Tried running with Arduino 1.0, 1.6.12, 1.0.5, 1.6.13, 1.6.6 - Same behavior.
Then I completely removed all installations of Arduino. Did a clean install of Arduino 1.8.1 Changed baud rate on USB port to 19200. Set Xbee and code to 19200. Still only got correct data in serial monitor at 9600 baud (just as it would only work at 19200 when set baud rates to 38400).
Xbee is mounted on Adafruit Xbee adapter. (Have also tried using sparkfun Xbee Explorer Regulated with no luck)
Checked VCC pin and got reading of 4.9, so I believe this is the Arduino pro mini 5v 16mhz as it should be.
I have also tried using several Xbees (S1) and that doesn’t make any difference.