Cahaya Beralih XBee

PrintFriendly and PDF

Siapkan Radio Receiver Simple

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:

Fungsi Perintah Parameter
PAN ID Atid 3001 (setiap alamat dari 0 untuk FFFE akan melakukan)
MY Alamat ATMY 0 (setiap alamat dari 0 untuk FFFE akan melakukan)
Destination High ATDH 0
Destination Low ATDL 0 (this is only a receiver, destination optional)
Digital I/O pin 0 ATD0 4 (digital keluaran, 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.

Komentar ditutup.