On 5/6/06, Jerry Xu <[EMAIL PROTECTED]> wrote:
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!

For rates like 6-8kHz, on mica-family motes, I would suggest looking
at the HighFrequencySampling application (I haven't tested it on
anything but mica2's, though). On micaz's, it might be possible to
sample&send rather than sample&store (but then again, the radio
overhead might be too  high).

David Gay

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

Reply via email to