[Tinyos-help] Sampling period on MDA320

=?ks_c_5601-1987?B?uejB2Ln8?= jbbae at hotmail.com
Tue Feb 5 21:30:02 PST 2008



Hi,
 
I'm using MDA 320, MICAz and MIB 520. I'm using the modified source code 'C:\Crossbow\cygwin\opt\MoteWorks\apps\xmesh\XMeshBase' for the base node, and 'C:\Crossbow\cygwin\opt\MoteWorks\apps\xmesh\XMDA320' for the node #1.
 
I want to send 4 analog signals and 1 battery signal from node #1 to the base node. They work well at the default sampling frequency. But the problem is, I want to raise the sampling frequency up to 100Hz. So I changed timer_rate in XSensorMDA320M.nc to smaller value(10) and ANALOG_SAMPLING_TIME in XSensorMDA320M.nc to small value(1) and TIME_SCALE in SamplerM.nc to smaller value(10) and MAX_SAMPLERECORD in sensorboard.h to smaller value(5). But they show only about 10Hz performance.
 
So how can I raise the sampling frequency up to 100Hz?
 
Any kind of advice will be appreciated.
Thanks,
 
Regards,
Joonbum Bae.
_________________________________________________________________
MSN ¸Þ½ÅÀúÀÇ Â÷¼¼´ë ¹öÀü, Windows Live Messenger!
http://windowslive.msn.co.kr/wlm/messenger/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080206/b252a552/attachment.html


More information about the Tinyos-help mailing list