Experiment 14- The Hands-On Xbee Lab Manual
How to configure XMTR (remote xbee):
DL - 1234
MY - 5678
AP - 1-API enabled
IA-I/O - FFFF
D7 - 3-DI
D6 - 3-DI
D5 - 2-ADC
D4 - 2ADC
D3 - DO LOW
D2 - DO LOW
D1 - DO HIGH
D0 - DO HIGH
How to configure XMTR (connected to computer:
DL - 5678
MY - 1234
AP - 1-API enabled
IA-I/O - FFFF
D7 - 3-DI
D6 - 3-DI
D5 - 2-ADC
D4 - 2ADC
D3 - DO LOW
D2 - DO LOW
D1 - DO HIGH
D0 - DO HIGH
Two examples to collect data on pins from a remote XMTR xbee:
Example 1:
In the API packet to send from RCVR to XMTR, the API command is "IS" which means Force Sample.
ASCII text values for IS are I = 0x49 and S = 0x53
On the XMTR xbee pins, connect D7 and D6 to ground. Here's the value for each of the pins:
D7 - 0V(set by connecting it to ground)
D6 - 0V(set by connecting it to ground)
D5 - 0V (nothing connected to it) Question - is there a pull down resistor on D3 and D4 to make the pin value 0V?
D4 - 0V(nothing connected to it)
D3 - 0V (set by xbee config)
D2 - 0V (set by xbee config)
D1 - 5V (set by xbee config)
D0 - 5V (set by xbee config)
Example 2:
On the XMTR xbee pins, connect D7 and D6 to ground. Here's the value for each of the pins:
D7 - 5V(set by connecting it to ground)
D6 - 6V(set by connecting it to ground)
D5 - 1.65V (nothing connected to it) Question - is there a pull down resistor on D3 and D4 to make the pin value 0V?
D4 - 1.34V(nothing connected to it)
D3 - 0V (set by xbee config)
D2 - 0V (set by xbee config)
D1 - 5V (set by xbee config)
D0 - 5V (set by xbee config)
No comments:
Post a Comment