Robot Sound Detection / Activation
Hey Guys,
············ I need to make my Robot self activate after detecting a sound signal between 3.0KHz and 4.0 Khz. Does Parallax sell a sensor that can help me do this?
Any help would be greatly appreciated. Thank you kindly for your time.
Cheers!
R.K.
············ I need to make my Robot self activate after detecting a sound signal between 3.0KHz and 4.0 Khz. Does Parallax sell a sensor that can help me do this?
Any help would be greatly appreciated. Thank you kindly for your time.
Cheers!
R.K.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Thank you kindly.
R.K.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Jon's method works great in a quiet environment, but in a noisy one both COUNT and PULSIN will produce unreliable results for different reasons.
To detect the tone in a noisy environment you need a fairly complex analog front end of: amp->BPfilter->integrator->comparator which measures the audio energy in a frequency range and compares it to a threshold, this will require a little knowledge of analog design.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
to make a basic mic to listen to a range of frequency at a noisy environment would be an interesting stuff to deal with...
==>amp->BPfilter->integrator->comparator ... hmmm... seems tedious work...
any reference recommended?
thanks Paul Baker and Jon Williams...
[noparse]:)[/noparse]
and the bandpass stage is overviewed here http://hyperphysics.phy-astr.gsu.edu/hbase/electric/serres.html·a LC circuit in series resonance will only pass frequencies near 1/SQRT(LC) (measured in radians/second), the inductor inhibits high frequencies and the capacitor inhibits low frequencies.
The nice thing about using multiple stage op-amps is that you can individually tune each stage to the required parameters in an isolated circuit before assembling the entire circuit. This is best done with the aid of an oscilloscope.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10