Xbee modules

XBee module comparison

IMG_2192.JPG WirelessArduinoIntro.012.png

XBee operation

  • Transparent operation: modules are configured using AT commands and API operations are not supported. All UART data received is queued for RF transmission. Device uses DH and DL to send data.
  • Application Programming Interface operation (API): is an alternative to the default Transparent operation. The frame-based API extends the level to which a host application can interact with the networking capabilities of the module.

XBee modes (states)

  • Idle mode: listens for incoming RF data
  • Transmit mode: device establishes PAN id and destination id and sends data accordingly
  • Receive mode (if a valid RF packet is received)
  • Command mode: To modify or read parameters, the module must first enter into Command mode - a state in which incoming serial characters are interpreted as commands

XBee AT command mode

Xbee AT command format

Useful XBee AT commands

WirelessArduinoIntro.018.png

Xbee addressing commands

WirelessArduinoIntro.019.png