The mica's ATMEGA chips have 10 bit ADC converters so
you should expect readings from 0 to 0x3FF

I "think" your voltage reading is about right as it's
near to 1/2 scale and the mica2 schematic shows it
reading a fixed voltage ref of 1.2v, which is about
1/2 scale. I believe, but am not sure, that the micaz
does the same thing. (I know, WTF is with reading
a fixed value to get battery voltage? Well the ADC's
Vref _is_ the battery voltage, thus the reading should
effectively _increase_ as the battery droops...)

So... I don't know about the temp range, but if
you are in a brightly lit lab, having a nearly
full scale photo reading might work. Try putting
a box over the sensor board and see if it changes.

As for the Mic, in general I think you get the
instantaneous sound pressure, which should be
a fast moving AC signal centered around 1/2 scale.
So that could be right. See if you get wildly
changing values, and I might actually be right...

MS


Kendra Lukowski wrote:
> Hi,
> 
> I am using the MTS300 sensor board with MicaZ. What range should I 
> expect for the readings? What I am getting seems high. For example:
> 
>   Temp = 0x1ee
>   Photo = 0x3b2
>   Mic = 0x1c4
>   Voltage = 0x1ba
> 
> Thank you for any assistance,
> 
> Kendra
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to