Re: [Tinyos-help] Sensor readings conflicts

2007-03-07 Thread Tiago Camilo
Hi all, Thanks for your quick response. Well I can say that the event ADCTemperature.getData() is never called, only the ADCHumidity.getData() is activated. Studying a little better my mote i found out that there is only one sensor responsible to provide me the humidity and temperature the SHT11

Re: [Tinyos-help] Sensor readings conflicts

2007-03-06 Thread Philip Levis
On Mar 6, 2007, at 9:40 AM, Tiago Camilo wrote: Hey list, I am writing a tinyOS program where I usually check some sensors readings. I am using boomerang with a tmote from moteiv. I have two timers, each one responsible to call a sensor reading: -call ADCTemperature.getData() and call ADCT

Re: [Tinyos-help] Sensor readings conflicts

2007-03-06 Thread Michael Schippling
On the Micas I think the ADC channels are queued so you could issue requests to more than one at a time and have it work. But I wouldn't trust it anyway...a more robust approach would be to fire the next getData() request from the dataReady() of the first, which will force them to work sequentiall

[Tinyos-help] Sensor readings conflicts

2007-03-06 Thread Tiago Camilo
Hey list, I am writing a tinyOS program where I usually check some sensors readings. I am using boomerang with a tmote from moteiv. I have two timers, each one responsible to call a sensor reading: -call ADCTemperature.getData() and call ADCTemperature.getData(), if the timers occur at the sam