Lady Ada's XBee wireless modem adapter looks interesting. Like the Xbee Explorer USB, it can can be quickly hooked to a USB port but it also has headers exposed that can used for prototyping.
Like the Xbee Arduino Shield, it's also a kit but it's only about 10 parts, only $10, and dirt simple to build.
It took about 1/2 hour to build, no troubles. Within an hour, I had both Xbee's associated with each other. Here's what I did:
- Xbee 1. Put it in the Xbee Explorer USB and plugged into my laptop. It shows up as /dev/ttyUSB0.
- Xbee 2. Put it in the new shiny Xbee Adapter with an FTDI USB TTL-232 cable and plugged into my laptop. It shows up as /dev/ttyUSB1.
- Used Digi's X-CTU to setup Xbee 1 as a ZNET 2.5 Router/End Device AT
- To use X-CTU, I had to first setup User Com Port COM10.
- Named Xbee 1 to PINK by setting the Node Identifier (NI)
- Set PINK's destination to Xbee 2 by entering this command in the terminal: ATDNWHITE
- Left X-CTU running and started another X-CTU instance for Xbee 2
- Used Digi's X-CTU to setup Xbee 2 as a ZNET 2.5 Router/End Device AT
- To use X-CTU, I first had to setup User Com Port COM11.
- Named Xbee 2 to WHITE by setting the Node Identifier (NI)
- Set WHITE's destination to Xbee 1 by entering this command in the terminal: ATDNPINK
+++
ATND
The Xbee should reply with the association information of the other. In PINK's terminal, I saw info about the associate WHITE:
1FEC (MY - 16bit Network Address)
0013A200 (SH - Serial Number High)
403E2174 (SL- Serial Number Low)
WHITE (NI - Node Identifier)
FFFE (? - Signal Strength?)
01 (?)
00 (?)
C105 (?)
101E (?)
Next, I'm planning to connect the Xbee Adapter to the Orangutan and have it send a simple test message to XBee in the Explorer.
No comments:
Post a Comment