[Tinyos-help] Get Ambient Humidity and Temperature from SurgeTelos

Inés C.M ines.cabrera at gmail.com
Mon Mar 14 05:16:29 PST 2005


I had a similar problem and Joe suggested skipping the Deluge wiring,
that is present by default in SurgeTelos. It seems that it causes
problems when HumidityC is used. For me, that was the solution to the

Hope this helps,

On Mon, 14 Mar 2005 17:58:59 +0800, dragonrn <dragonrn at 163.com> wrote:
> Dear All: 
>  Both Oscilloscope and SurgeTelos work well on my Telosb and now I want to
> get the humidity and temperature sensor data from SurgeTelos.As the previous
> mails mentioned, I modified something in SurgeTelos, comparing to
> Oscilloscope in contrib/moteiv/:SurgeM.HumidityControl -> HumidityC; then in
> SurgeM.nc:interface SplitControl as HumidityControl;And add some codes just
> like OscilloscopeM.nc  
> call HumidityControl.init(); in StdControl.init() 
> call HumidityControl.start();in StdControl.start() 
> call HumidityControl.stop();in StdControl.stop() 
> event result_t HumidityControl.initDone() { return SUCCESS;}event result_t
> HumidityControl.startDone() { return SUCCESS; }event result_t
> HumidityControl.stopDone() { return SUCCESS; } I didn't add any code in the
> above three events in order to see if I can also get the original DemoSensor
> readings.It can be compiled into the telosb node, but I can't get any sensor
> readings.When I use Chipcon's packet sniffer, it received one corrupted
> message after every several seconds.It seems like that it could run to
> ADC.dataready, and Senddone, but why they can't run correctly?I wonder
> what's wrong with the implementation.Any suggestion is appreciatedThanks in
> advance.Regards,Liang 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help

More information about the Tinyos-help mailing list