Light Switch XBee

PrintFriendly and PDF

Prepare The Simple Receiver’s Radio

Using a serial terminal program and AT commands (or X-CTU if you have access), configure the XBee Series 1 radio with the settings below:

Function Command Parameter
PAN ID ATID 3001 (any address from 0 to FFFE will do)
MY Address ATMY 0 (any address from 0 to FFFE will do)
Destination High ATDH 0
Destination Low ATDL 0 (this is only a receiver, destination optional)
Digital I/O pin 0 ATD0 4 (digital output, low to begin with)
Input sample rate ATIR FFFF (accept I/O commands from any radio)

When you’re finished, check your work by reissuing each AT command without any parameter so the radio can show you the addresses and register settings that it’s using. As a final step, use the ATWR command to write the new configuration to your radio’s firmware so it’s saved for the next power-up.

Comments are closed.