Quantcast
Viewing all articles
Browse latest Browse all 8

XBee Handy Command Reference

Here are some common AT commands I have most frequently while working on XBee projects.  Remember, ALL NUMBER VALUES ARE IN HEX!

  • ATID – PAN ID
  • ATDH/DL – Destination address high/low: which local address to send ADC data
  • ATMY – Local address of this unit
  • I/O:
    • ATD0…D8 – digital pins I/O enable
    • ATP0…P1 – PWM output enable
    • ATIU – I/O output enable (UART) – send out through serial
    • ATIA – I/O input address – address to pay attention to for serial output
    • ATIT – ADC Samples before TX
    • ATIR – ADC Sample rate (ms)
    • ATBD – Baud Rate:
      • 3 = 9600
      • 4 = 19200
      • 5 = 38400
      • 6 = 57600
      • 7 = 115200
  • ATWR – Write parameter values

Remember to ATWR to save changes to parameters.

Interesting note from the manual: “The maximum sample rate that can be achieved while using one A/D line is 1 sample/ms or 1 KHz (Note that the modem will not be able to keep up with transmission when IR & IT are equal to “1”).”


Viewing all articles
Browse latest Browse all 8

Trending Articles