[Tinyos-help] why Oscilloscope readings are always zero?
Hazem Al- Ojeh
hazem.alojeh at student.adelaide.edu.au
Thu Apr 3 02:39:23 PDT 2008
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.
More information about the Tinyos-help
mailing list