Knock Detector with microphone m5stickC
-
Hello!
Please give me an example of working with a microphone on m5sctickC. You need to know only the volume of the sound, like a shock detector.
I am using Python. I tried to read the analog signal from the G34, but it did not help.
Thank! -
What kind of microphone are you using?
If the internal microphone then its not an analogue device, it communicates over i2c. -
Yes, you need to use a internal microphone.
How? -
-
@world101 said in Knock Detector with microphone m5stickC:
Try this...
https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.inoThank you, I saw it. How to write it in Python?
-
@auct said in Knock Detector with microphone m5stickC:
@world101 said in Knock Detector with microphone m5stickC:
Try this...
https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.inoThank you, I saw it. How to write it in Python?
Sorry about that. I didn’t see that you were looking for a Python example. After a bit more digging, I noticed the M5Go default program has a Preview Microphone function. Check our lines 154-194 from here:
-
This post is deleted!