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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login