[Tinyos-help] Unit of the Voltage sensor

Joe Polastre joe at polastre.com
Sat Jun 2 16:05:25 PDT 2007


Are you using InternalVoltageC or VoltageC?  It sounds like you are
using InternalVoltageC; instead use VoltageC, it returns the value in
millivolts.

On 6/2/07, Romain Thouvenin <romain.thouvenin at gmail.com> wrote:
> Hello,
>
> Does anyone know the unit of the values read by the voltage sensor on
> Tmote sky motes ?
>
> According to the data sheet, the voltage must be between 2.1 V and 3.6
> V. Recently, the batteries of two motes were exhausted, and the last
> reported value was about 2200, so one could imagine that's in
> millivolts. But the value with new batteries, which is supposed to be
> 3V (two AA), and the value when the mote is supplied through USB (also
> supposed to be 3V according to the data sheet), are 4095.
>
> Any idea ?
> Thanks for your help,
>
> Romain
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>


More information about the Tinyos-help mailing list