This is an old revision of the document!
XBee + Arduino Sending Packet API Mode
Packet Sending: to Arduino XBee
Another short tutorial I followed to send packet to XBee Arduino: http://www.desert-home.com/2012/10/using-xbee-library.html
Packet Sending: from Arduino XBee
You must download the XBee Library for Arduino!
Packet Receiving XBee
- Connect the RX XBee to XCTU
- Get the High and Low 64 Bit Address and write it down. It should most likely be 0 if you didn't change the original settings. This is different from your PAN ID.
Packet Sending XBee
- Go to Arduino→File→Examples→XBee Library→Series2_Tx Example
- You must download it as a binary file
- Got to Arduino→Sketch→ Export File Binary
- Check it compiles
- Change the SH + SL Address of receiving XBee to the address you wrote down previously
- Check it compiles and upload to the Arduino
- Wire up board with Arduino and XBee (Make sure XBee TX goes to Arduino RX and XBee RX goes to Arduino TX)
Bringing two components together
- Open XCTU and go to the Console Log screen
- In Arduino, open the Serial Monitor
- You should receive a packet in XCTU and the XBee Serial Monitor should say it received data
CONGRATS! You sent a packet :D