Hello,

I am using tmote sky (on windows xp with cygwin and tinyos2 installed) trying 
to sample all the sensors (i.e. temperature, humidity, internal temperature, 
internal voltage, PAR and TSR) of the mote to read and send the data in a 
mesh/multihop form. Since the MultihopOscilloscope application in tinyos 2 
already implements the mesh network I tried to modify the code to include other 
sensors. In the MultihopOscilloscopeApp.nc file by removing DemosensorC and 
using SensirionSht11C as Sensor, I was able to get either the temperature 
readings or the humidity readings (not sequentially) but separately. 
new SensirionSht11C() as Sensor;MultihopOscilloscopeC.Read -> Sensor.Humidity;
//MultihopOscilloscopeC.Read -> Sensor.Temperature;

I tried calling the read function a second time and a second readDone function 
too in the configuration file one for temperature and the other for humidity, 
it compiles (with 3354 bytes in RAM!) but gives no readings

I am having real trouble getting it to read sequentially (as said) and 
incorporating the other sensors as well. I would appreciate any help/advice I 
can get as to what I need to modify in the files- and if anyone has 
successfully implemented this before, please help me.

Thanks a lot.



_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to