[Tinyos-help] why Oscilloscope readings are always zero?
Murray, Ben
Ben.Murray at thalesgroup.com
Thu Apr 3 05:37:55 PDT 2008
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:hazem.alojeh at student.adelaide.edu.au]
> 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" <Ben.Murray at thalesgroup.com>:
>
> > 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: tinyos-help-bounces at millennium.berkeley.edu
> > [mailto:tinyos-help-bounces at millennium.berkeley.edu]On
> Behalf Of vaasu
> > Sent: 03 April 2008 10:59
> > To: Hazem Al- Ojeh
> > Cc: tinyos-help at millennium.berkeley.edu
> > 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 <
> > hazem.alojeh at student.adelaide.edu.au
> > <mailto:hazem.alojeh at student.adelaide.edu.au> > 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 serial at COM1:57600
> > -and i also opened another window to read the messages
> being sent and so on
> > $ java net.tinyos.tools.MsgReader -comm sf at localhost: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
> > Tinyos-help at millennium.berkeley.edu
> > <mailto:Tinyos-help at millennium.berkeley.edu>
> >
> 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.
>
****************************************************************************
***
>
>
More information about the Tinyos-help
mailing list