روشن کردن چراغ 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:

تابع فرمان پارامتر
PAN ID ATID 3001 (هر آدرس از 0 به FFFE را انجام خواهد داد)
آدرس من ATMY 0 (هر آدرس از 0 به FFFE را انجام خواهد داد)
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.

نظرات بسته شده.