I think one of the (early-ish) tutorials covers using the light sensor. I
last tried some months ago (been concentrating on a networking aspect for
most of the time) but I think it wasn't much more complex than what you'll
have done already. Maybe someone else who's been using them more recently
can help you better.

-Ben



> -----Original Message-----
> From: Hazem Al- Ojeh [mailto:[EMAIL PROTECTED]
> Sent: 03 April 2008 13:12
> To: Murray, Ben
> Subject: RE: [Tinyos-help] why Oscilloscope readings are always zero?
> 
> 
> Thanks, the SineSensorC did make some changes, but I could 
> not find how to try
> the light or temperature sensing, or is that something I have 
> to write myself?
> 
> 
> Quoting "Murray, Ben" <[EMAIL PROTECTED]>:
> 
> > Maybe try to re-wire the Sensor / DemoSensorC to something that does
> > fluctuate more. E.g. SineSensorC or the temp/light/etc sensor.
> >
> > -Ben
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] 
> Behalf Of vaasu
> > Sent: 03 April 2008 10:59
> > To: Hazem Al- Ojeh
> > Cc: [email protected]
> > Subject: Re: [Tinyos-help] why Oscilloscope readings are 
> always zero?
> >
> >
> > the straight line is the voltage value of the mote 
> batteries...and ofcourse
> > the value will be constant .... run the oscilloscope for 
> sufficient time...
> > you will see a drop in the voltage level.....
> >
> > zoom the voltage range of y-axis.. you might see little 
> fluctuations....
> > but voltage level cant rise unless you change batteries...
> >
> >
> > On Thu, Apr 3, 2008 at 11:39 AM, Hazem Al- Ojeh <
> > [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> > wrote:
> >
> >
> > Hi all,
> >
> > I am up to lesson 5 for tinyos 2.0 tutorials. Anyway I 
> followed all the
> > steps
> > and everything seems to working find, however, when I 
> actually ./run the
> > Oscilloscope program, the results are always 0! like i get 
> a straight line
> > for
> > all the connected sensors, where in the figure in lesson 5, 
> shows some
> > fluctuation going on. Is it supposed to be like that? Given 
> that I followed
> > the
> > lesson instructions without changing anything.
> >
> > -I installed the program on 3 motes.
> > -BaseStation on another mote which is sitting on the board.
> > -started a SerialForwarder
> >   $ java net.tinyos.sf.SerialForwarder -comm [EMAIL PROTECTED]:57600
> > -and i also opened another window to read the messages 
> being sent and so on
> >   $ java net.tinyos.tools.MsgReader -comm [EMAIL PROTECTED]:9002 
> OscillosocopeMsg
> > and it was sending the right everything I suppose, however 
> the readings
> > array
> > contained similar readings most of the time, i.e
> > [readigs=0x8a 0x89 0x8a 0x8a .....], so I thought maybe 
> thats the reason why
> > i
> > am getting a straight line at value 0 on the y access.
> >
> > So anyone knows why I am getting straight lines for all the 
> sensors readings
> > at
> > 0?
> >
> > thank you all.
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > <mailto:[email protected]>
> > 
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/t
inyos-help
> <https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help>
>
>
>
>
>
****************************************************************************
***
> Please consider the environment before printing this email.
>
****************************************************************************
***
> This email and any files transmitted with it are intended solely for the
use
> of
> the individual or entity to whom they are addressed and may not be
divulged
> to
> any third party without the express permission of the originator.  Any
views
> expressed in this message are those of the individual sender, except where
> the
> sender specifically states them to be the views of Thales Research &
> Technology
> (UK) Limited.
>
****************************************************************************
***
>
>

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

Reply via email to