xbee_wireless_arduino_programming
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
xbee_wireless_arduino_programming [2012/08/03 08:31] – tomgee | xbee_wireless_arduino_programming [2012/08/03 08:44] (current) – tomgee | ||
---|---|---|---|
Line 4: | Line 4: | ||
Then set the following: | Then set the following: | ||
+ | |||
+ | - The PAN ID should be some 4 digit hex number that will only be used by these two modems.\\ | ||
+ | - Set the baud rate to 19200 if you're using an Arduino with a 168 chip or older '328p chip. You can check your Arduino documentation to figure out which baud rate to use or 57600 if you're using a more recent Arduino with '328p chip.\\ | ||
+ | - Next set the Packetization Timeout. This is what determines how long to wait before sending the characters over. We're doing some 'bulk transfer' | ||
+ | - Set pin D3 to be a digital input\\ | ||
+ | - Set the Digital IO change detect to FF. Technically you can set it to 0x08, which is the mask to listen for only D3 but this certainly works fine.\\ | ||
+ | - Now the transmitter is set up to send the current status of pin D3 to any listening modems. | ||
+ | |||
+ | Now solder in a tiny jumper between the RTS pin and D3. This will tie the status of D3 to the status of the RTS pin which is can be configured to be used as the ' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
===== Wire up the receiver ===== | ===== Wire up the receiver ===== | ||
Line 24: | Line 41: | ||
- Finally, set I/O line passing input address to FFFF. If you set up unique addresses for the receiver and transmitter xbees, of course you should change this to match but FFFF will match all addresses.\\ | - Finally, set I/O line passing input address to FFFF. If you set up unique addresses for the receiver and transmitter xbees, of course you should change this to match but FFFF will match all addresses.\\ | ||
Now write the changes to the receiver XBee.\\ | Now write the changes to the receiver XBee.\\ | ||
- |
xbee_wireless_arduino_programming.1343997111.txt.gz · Last modified: 2012/08/03 08:31 by tomgee