Check to see that the O'scope program is configured to sample the light sensor. It may be using something else. I remember one less than spectacular demo that used the battery voltage...
MS Baudry Arthur wrote: > Good afternoon to both of you, > > Thanks for your answer, I was away for a few days and I'm just seeing it > now. > About the sensor type, I have no idea my mote is supposed to be a > telosb, if I do a motelist the reference is M4AP1122 and the description > is Sensilla tmote sky. I don't know what exactly is the type of the > sensor, this a light sensor mounted on the telosb node. > I am seeing anything changing when I cover the sensor with my finger, > that's why I know that there is a problem but I don't know how to fix > it, I'm using oscilloscope to send the data to another > node equipped with basestation and the value displayed after conversion > are around 3900 just like the values I can observe when I run the Java > GUI for Oscilloscope. > If you have any ideas, they are welcome :) > Have a good day > > On Fri, Nov 25, 2011 at 12:26 AM, Urs Hunkeler <u...@gmx.ch > <mailto:u...@gmx.ch>> wrote: > > Hi, > > I remember getting values close to 0 (< 50) when it is dark and > values just slightly greater than 1000 when it is very bright > (without any conversion). If your values don't change much, I think > there is a problem with the sensor. You should see a clear drop > (50%?) when you cover the light sensor with your finger. > > Cheers, > Urs > > > On 11/24/11 7:37 PM, Baudry Arthur wrote: > > Good afternoon everyone, > > I use a telosb node equipped with a light sensor, I have > succeeded in > receiving data from the node on my laptop, but for me the data are > talking non sense because I always get a value next to 4000 (when I > convert the readings to a decimal value) even if it is dark in > my place. > Is there a way to treat those data, I know that for example for > temperature data we have to apply a formula to get the real > temperature > value. Does anyone know how to interpret the light data ? > Have a good day, regards, > > -- > Arthur Baudry > ESEO > > > > _________________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.__berkeley.edu > <mailto:Tinyos-help@millennium.berkeley.edu> > > https://www.millennium.__berkeley.edu/cgi-bin/mailman/__listinfo/tinyos-help > > <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help> > > > > > > -- > Arthur Baudry > ESEO > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > Tinyos-help@millennium.berkeley.edu > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help