Is it possible to use a xbee module with 6 analog inputs?
How is the data transmitted? How comes it on the receiver xbee(dataframe or something else?)
Is it possible on the receiver to know which data is from which analog input?
Is it possible to use a xbee module with 6 analog inputs?
How is the data transmitted? How comes it on the receiver xbee(dataframe or something else?)
Is it possible on the receiver to know which data is from which analog input?
Which XBee? Series 1 or Series 2?
Look at the XBee Data Sheet. (Reference to the Series 1 running 802.15.4, Doc #90000982B).
Table 1-02 shows the XBee pins. There are 7 pins that can be used as Analog inputs (two can have another function).
The Analog data can be passed on to another XBee (Receiver) by querying the transmitting XBee for the data or by setting up a periodic sampling on the transmitter.
The Receiving XBee should be set in API command mode. Then the data comes out in an API ‘Frame’ that contains the address of the source XBee and the data for each on the digital and analog inputs that are enabled.
See “API Operation” in the data sheet and API Command Identifier Values: 0x80 & 0x81. Also the ‘ADC and Digital I/O Line Support’ chapter.
This data can be received in AT mode but then there isn’t the XBee source address attached to the data.
waltr:
Which XBee? Series 1 or Series 2?Look at the XBee Data Sheet. (Reference to the Series 1 running 802.15.4, Doc #90000982B).
Table 1-02 shows the XBee pins. There are 7 pins that can be used as Analog inputs (two can have another function).
The Analog data can be passed on to another XBee (Receiver) by querying the transmitting XBee for the data or by setting up a periodic sampling on the transmitter.
The Receiving XBee should be set in API command mode. Then the data comes out in an API ‘Frame’ that contains the address of the source XBee and the data for each on the digital and analog inputs that are enabled.
See “API Operation” in the data sheet and API Command Identifier Values: 0x80 & 0x81. Also the ‘ADC and Digital I/O Line Support’ chapter.
This data can be received in AT mode but then there isn’t the XBee source address attached to the data.
That…
or you can have the receiving xBee actually have it’s I/O pins do the same thing as the transmitting I/O pins. For the analog signals these voltages would come out as PMW waves, so you would use the RC filter that digi recommends to smooth this into a nicer analog signal.
i don’t know, i’m trying to figure it out which xbee to use…
Can i combine both things?
on the xbee A the analog inputs, send to xbee B with the api frame, and on xbee B use one or 2 digital inputs and send to xbee A, but on A they must come out on the digital outputs
Yep.
You can mix and match.
Read this and go through the lessons
http://www.parallax.com/portals/0/downl … l-v1.0.pdf
http://www.parallax.com/portals/0/downl … a-v1.0.pdf
http://www.parallax.com/portals/0/downl … alCode.zip