I'd be a little suspicious of the constant 4095 reading since that's
the max value for the ADC. You might try switching the mote sensor
to some other ADC channel, is there a temp or light sensor on the thing
that you could use?

MS

Ittipong Khemapech wrote:
All,

I have been running Oscilloscope application (with no modification) on Tmote Invent. Also installed and ran BaseStation on Tmote Sky.

After running SerialForwarder, I have a constant reading of (about) 4095 or 4096.

According to the DemoSensorC.nc, the actual voltage is obtained by dividing the reading (ADC counts) by 4096 and multiplying by 3.

So, I have 3 V.

I have some questions:

1. Is it normal to have that 4095 (or 4096) all the time?

2. As Invent is not supported by TinyOS 2.x, is voltage the only reading I can get?

Many thanks in advance,
Ittipong

Platforms - Tmote Sky and Invent
OS - TnyOS 2.x
Window XP & cygwin


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to