Ljusomkopplare 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:

Funktion Kommando Parameter
PAN-ID ATID 3001 (någon adress från 0 att FFFE gör)
Min adress ATMY 0 (någon adress från 0 att FFFE gör)
Destination High ATDH 0
Destination Low ATDL 0 (this is only a receiver, destination optional)
Digital I/O pin 0 ATD0 4 (digital utgång, 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.

Kommentarer är stängda.