Home/Support/Support Forum/Is it possible to transmit two analog inputs and output them with PWM0 and PWM1 on the recieving XBee?

Is it possible to transmit two analog inputs and output them with PWM0 and PWM1 on the recieving XBee?

0 votes
I have two XBee S1 802.15.4 and want to transmit two different Analog readings (and maybe one digital signal). On the reciever I want to output these analog signals with the PWM outputs (There are two on my XBee, RSSI/PWM0 and PWM1). Is this possible?
asked Nov 25, 2015 in IEEE 802.15.4 by eech New to the Community (1 point)

Please log in or register to answer this question.

2 Answers

0 votes
Yes, take a look at http://knowledge.digi.com/articles/Knowledge_Base_Article/Analog-to-Digital-Conversion-on-the-XBee-802-15-4/?q=802.15.4+ADC&l=en_US&fs=Search&pn=1

http://knowledge.digi.com/articles/Knowledge_Base_Article/Digital-and-analog-sampling-using-XBee-radios/?q=802.15.4+ADC&l=en_US&fs=Search&pn=1

http://knowledge.digi.com/articles/Knowledge_Base_Article/Converting-the-XBee-PWM-to-an-analog-voltage-for-DAC-Digital-to-Analog-Conversion/?q=802.15.4+ADC&l=en_US&fs=Search&pn=1


For ways of doing it.
answered Nov 25, 2015 by mvut Veteran of the Digi Community (11,302 points)
0 votes
Thank you mvut,

But, "In order to enable PWM output then set ATP0 and/or ATP1 equal to 2 (this will only convert for A/D-0 and A/D-1 respectively).".

I tried to output two separate ADC channels but as I understand the XBee is only able to output either A/D-0 or A/D-1 on both PWM0 and PWM1.

On the other hand, I've managed to send all readings with UART.
answered Nov 25, 2015 by eech New to the Community (1 point)
...