I need some help connecting an XBee (Series 2) to an Arduino Pro (8 Mhz, 3.3V, 328). I’m not sure what I am doing wrong.
To test the XBee setup I did the following:
-
Master XBee connected to my Mac using the XBee USB Explorer.
-
Slave XBee plugged in a breadboard using the XBee Breakout board. This is the non-active board, with just more convenient pins. No voltage regulator is on there.
-
Slave XBee is connected to a 3.3V FTDI USB/TTL cable. Only VCC, GND, RX, TX are connected. This is connected to my laptop.
This setup works great. I can walk around the house with a my laptop and type stuff, which I see appear on the master Xbee in my home office.
So to replace that laptop with an Arduino Pro, I did the following:
Programmed the Arduino Pro with:
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.print("Hello\r\n");
delay(1000);
}
I see this code works since it spits out Hello every second in the Arduino serial console.
Now I remove the FTDI board and add the Xbee to the setup, with the follow connections: VCC, GND, RX->DOUT, TX->DIN. I also added two LEDs to ON and ASSOC.
I power this setup with a small 3.3V regulator running from a 9V battery for now.
Arduino Pro power LED is on. Xbee power LED is on. Xbee ASSOC LED is on and starts blinking after a while.
But nothing is being transmitted.
What could go wrong here?[/code]