[Tinyos-help] Photo sensor on telosb ( tinyos-2.x )

hukang hukang at ic.sunysb.edu
Sat Mar 1 22:53:29 PST 2008


Dear All:
I am working on Tinyos-2.x using telosb and need the data from the
onboard sensor HamamatsuS1087. Since the DemoSensorC in 2.x is not wired
to HamamatsuS1087, I have to modify it as follows in Oscilloscope.
{
     //new DemoSensorC() as Sensor,
    , new HamamatsuS10871TsrC() as Sensor
    ...
    OscilloscopeC.Read -> Sensor;
}
Then I got the returned values by java net.tinyos.tools.Listen like
 03 E8
 04 45
 04 59
 04 45
 04 47
 04 39
 00 02
 00 02
 00 02
 00 03
 00 02
 00 01
 00 04
Converting to decimal the brightest is 1113 (04 59) and the darkest is 1
(00 01). Does anyone know if these data are valid?
And what is the unit of these value. is it Lux? Thanks.

Steven






More information about the Tinyos-help mailing list