weatherbox:team_quasar:basic_arduino_api_packet_sending

XBee + Arduino Sending Packet API Mode

Another short tutorial I followed to send packet to XBee Arduino: http://www.desert-home.com/2012/10/using-xbee-library.html

You must download the XBee Library for Arduino!

  • 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.
  • 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)
  • 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

Authors

Contributing authors:

jobatake

Created by jobatake on 2016/03/06 01:49.

  • weatherbox/team_quasar/basic_arduino_api_packet_sending.txt
  • Last modified: 2021/09/19 21:59
  • (external edit)