Hi everyone!
I want to receive the humidity and temperature from the remote Xbee(Router AT),but the packet i received is digital rather than analog.I connect the Router’s AD1 which is changed to 2-ADC mode,I/O Sampling rate set 1385.The packets i got from AD1 are Decimal:1023 Hexadecimal:03FF or 00 00(0).How can i get the right data from remote router ?
The analog signal needs to be between 0V and VREF which can be between VCC and 1.2V depending on which XBee you are using. The fact that you are getting 0x03FF indicates that you are exceeding VREF.
Thanks for your reply.
The Vcc for Xbee and DHT22 are connect to Arduino’s 3.3v.I use both of XBee S2 to trasmit the data. How should i fix this problem ?
The max voltage input for the analog pins on the XBee ZB or S2 modules is 1.2V. You are going to need to use a level shifter to get the voltage down to something the radio supports.
Hi fxsh1301,
I have the same problem. Did you get this resolved on your end?
If so, please share your setup to configure XBee S2 (Router AT) to transmit DHT22 data.
Appreciate your help.
Vijay