🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Knock Detector with microphone m5stickC

    M5 Stick/StickC
    4
    7
    14.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      AucT
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by ajb2k3

        What kind of microphone are you using?
        If the internal microphone then its not an analogue device, it communicates over i2c.

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • A
          AucT
          last edited by AucT

          Yes, you need to use a internal microphone.
          How?

          world101W 1 Reply Last reply Reply Quote 0
          • world101W
            world101 @AucT
            last edited by

            @auct

            Try this...
            https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino

            A 1 Reply Last reply Reply Quote 0
            • A
              AucT @world101
              last edited by

              @world101 said in Knock Detector with microphone m5stickC:

              @auct

              Try this...
              https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino

              Thank you, I saw it. How to write it in Python?

              world101W 1 Reply Last reply Reply Quote 0
              • world101W
                world101 @AucT
                last edited by

                @auct said in Knock Detector with microphone m5stickC:

                @world101 said in Knock Detector with microphone m5stickC:

                @auct

                Try this...
                https://github.com/m5stack/M5StickC/blob/master/examples/Basics/Micophone/Micophone.ino

                Thank 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:

                https://github.com/m5stack/M5GO/blob/master/M5GO.py

                H 1 Reply Last reply Reply Quote 0
                • H
                  hetzer @world101
                  last edited by hetzer

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post