I'm a univerisity student in China. And currently I'm doning a project on gunshot detection with wireless sensor networks. We are using MICAz and MTS300 as the devices. I met with a problem. The sampling rate  we need is about 6k-8kHz. But the sampling rate of TimerM.nc is to limited and we have to deploy MicroTimer.nc. I'v already change the code of MicroTimer.nc so it's suitable for use in MICAz. I've integrated it into the application like XSensorMTS300 to replace the previous Timer. The yellow led does not act as what the codes act. And I set the maximun samples to 8000 and send the last sample. I rarely got the sample. Why?I add our codes to this mail.What should I do? I've attach our codes  in this mail. Thanks!

--
Yours sincerely.

                Jerry Xu
------------------------------------------------
Department of Computer Science
         Nanjing University
    Nanjing, P.R.China, 210093

Attachment: TestSensorM.nc
Description: Cdf file

Attachment: MicroTimerM.nc
Description: Cdf file

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to