Sensor for flooring bonding voids

Rich L

Member
Hello and thank you for your video presentation about processing audio on the teensy. I'm trying to round up hardware and noticed that the 3.2 is out of stock. Is it possible to use the 4.0 interchangeably as long as I keep input at 3.3V and below?

Also, I'm assuming that the potentiometers in the Hackaday8292
workshop are 10K

I have been working with an LM567 chip with a mems microphone. the chip listens for a narrow band of frequencies and when it hears the selected frequency it saturates a transistor and lights an LED.

I have had success lighting a green LED when the chip hears a 350hz signal from a "well bonded floor". I have also had success lighting a red LED when a separate chip hears a 1200hz signal from a "loosely bonded floor" these signals are sent as know samples of audio. However when the wand is used to scrape the floor being tested, the frequencies are a bit more erratic. So I'm wondering...

could a microphone (using the teensy audio sheild) listen for these two different live frequencies and compare them to samples in a library and report back to a pair of LED's whether the live frequency is more similar to one library sample than the other library sample?
 
First part answered on another thread where you asked the same question.

https://forum.pjrc.com/threads/72029-hardware-essentials

The audio library has this tone detection.

https://www.pjrc.com/teensy/gui/?info=AudioAnalyzeToneDetect

You could pretty easily send the I2S audio to 2 of these, like this:

2tone.png

Of course in setup() configure 1 for 350 Hz and the other for 1200 Hz, and in loop() check for when they have new results and write some code to decide on thresholds or other criteria to use the info.
 
Back
Top