2-5 ZigBee
With a choice of AT or API decide how we will communicate with
the serial port (UART) module of the software algorithm:
• If you select the option that AT module receives the DIN pin of
the UART, send it by wireless communication, i.e. if we write
10100000 10100000 transmit module, that simple. And similarly it
is received by the module transmits it to the microcontroller as
rides on the DOUT pin. If sent to the module DIN characters + + +,
the module enters command mode, and allows us to configure
various options of the module through its serial port.
• If we select API to communicate with the module is more
complex, not what enters and leaves sent to the module through the
serial port, but we communicate with the XBee module using frames, i.e. the data has to go in the order established with bytes of start, length, data type, checksum, etc. With this choice of communication with the module have many more opportunities for communication as the other way, we can send commands to other modules for remote configuration, know who the sender of the message, whether the packages have arrived, etc...
To test the modules we setting up an XBee Coordinator AT and the
other as AT Router, we must first have the address of 64 bits single
module, the module 0013A2004081372A address will be the ...
No comments:
Post a Comment