I'd think detecting gunshots using a mote would depend
on how good a shot you are unless it's really close range...

But you probably want to do audio sampling, right?
I'm afraid I pontificate on that subject because I know
about it in general, rather than having done it with motes,
so I can't help more than to recommend that you look at the
High Frequency Sampling app example. The standard Timer
component has a low end of 1-3ms depending on your TOS version
so it's of no use for this. I think there are faster timers
available, like the JiffyTimer, or you can experiment with
free-running the ADC using an appropriate clock pre-scale value.
I suspect there are sample timing jitter problems with all
the possible techniques so you probably won't get good audio
but should be able to get enough to detect a short-sharp-sound.

MS

Akankshu Dhawan wrote:
> Dear Michael
> I am currently working as a research assistant at University of 
> Massachusetts, Dartmouth. I am working on a project for detecting 
> gunshots using wireless sensor networks . I came across this post from you :
> https://www.millennium.berkeley.edu/pipermail/tinyos-help/2006-January/014335.html
> I am having trouble with monitoring and controlling the sampling rate 
> and the timer component of the microphone onboard the MTS310 sensorboard 
> and would be grateful to you if you could guide me with my research. I 
> am using crossbow's moteworks platform for my research.
> 
> I am attaching my resume for your reference.
> 
> Looking forward to hearing from you
> 
> 
> 
> -- 
> Regards
> Akankshu Dhawan
> Research Assistant,
> Computer and Information Science Department
> University of Massachusetts,
> 285 Old Westport Road, North Dartmouth
> MA 02747
> 

-- 
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

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

Reply via email to