What steps will reproduce the problem?
1. One Xbee is powered by two batteries AA. I have programmed the instruction
V+FFFF in order to get in each frame the supply voltage. I send also the
temperature I get from a PT100.
2.The other Xbee is connected to my PC using an Arduino Board(without
microcontroller) via USB.
3.Running Processing on my computer. I use function: ioSample.getAnalog0();to
get the temperature, values seem correct, and
data.supplyVoltage = ioSample.getSupplyVoltage(); to get the supply voltage.
Finally I post data to pachube.
What is the expected output? What do you see instead?
I expect to get the correct supply voltage of my Xbee ( usually between 2.7 and
3.3 V, in mV), but the value it returns it is between 368 or 342...Is it
because it returns only 3 numbers???
What version of the product are you using? On what operating system?
I use Processing 1.5.1.
Xbee Api Library: 0.5.5 and 0.9, both of them but separately.( Once at first,
and the other once later)
Operating System: W7 64bits
Please provide any additional information below.
I contact with you because I have some problems with the library Xbee Api for
processing, particularly with the funcion ioSample.getSupplyVoltage(); it does
not work good, because it returns the value it is not real supply voltage. In
fact, when I review the sample with the XCTU, I can see the correct value in
the frame, but this value is not the same that I get with the funcion
ioSample.getSupplyVoltage();...I don't know how it works and if there is any
other method to measure supply voltage.
Do you know? Can you help me?
I attach you my Processing program...I hope it will help you
Thanks
Anton
Original issue reported on code.google.com by tlerdr...@gmail.com on 7 Dec 2011 at 6:04
Original issue reported on code.google.com by
tlerdr...@gmail.com
on 7 Dec 2011 at 6:04Attachments: