Are you using a sensor board or your own set of custom sensors? Either way you may want to try sampling the sensor with the ADC using the ATM128AdcP module. This will allow you to manually sample the sensors. Use the the ADC in conjunction with the TimerMilliC module to periodically sample your sensors. I hope this helps.
Ian
---------- Forwarded message ----------
From: "Yao Hui" <[EMAIL PROTECTED]>
To: <[email protected] >
Date: Sun, 5 Nov 2006 15:30:06 +0800
Subject: [Tinyos-help] Problem of using mica2 and sensor function
Dear Sir
I am a University Student in Singapore. I am trying to use the sounder and photo sensors from a mica2 mote. I looked over Sense application and I saw that it uses DemoSenorC and I look under the mica2 directory to see what happens in that DemoSensorC. I couldn't figure out how to use the sensors. If you know the answer can you kindly tell me? thx!
Yao Hui
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
