Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Secret Knock Sensor (1.4)

Secret Knock Sensor (1.4)

Scheduled Pinned Locked Moved Development
1.4secret knockexamplelock
13 Posts 7 Posters 8.4k Views 2 Watching
  • 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.
  • H Offline
    H Offline
    hek
    Admin
    wrote on last edited by hek
    #1

    Managed to get my secret knock sensor working tonight! A YouTube clip demonstrating sensor has been posted below.

    With this you can control a Relay or Solenoid Lock from your controller or by using your very own secret knock sequence detected by a sound sensor.

    You can even record a new knock sequence by attaching a button on the arduino which enables record mode (stores sequece to eeprom).

    The latest version can be found here:
    https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/SecretKnockSensor

    https://codebender.cc/example/MySensor/SecretKnockSensor

    https://www.youtube.com/watch?v=MGHtju7iJ4Q

    Much of the MySensors adopted secret knock code comes from this tutorial:
    https://learn.adafruit.com/secret-knock-activated-drawer-lock/overview

    Vera lock device:
    Screen Shot 2014-08-15 at 23.50.41.png

    C 1 Reply Last reply
    1
    • H hek

      Managed to get my secret knock sensor working tonight! A YouTube clip demonstrating sensor has been posted below.

      With this you can control a Relay or Solenoid Lock from your controller or by using your very own secret knock sequence detected by a sound sensor.

      You can even record a new knock sequence by attaching a button on the arduino which enables record mode (stores sequece to eeprom).

      The latest version can be found here:
      https://github.com/mysensors/Arduino/tree/development/libraries/MySensors/examples/SecretKnockSensor

      https://codebender.cc/example/MySensor/SecretKnockSensor

      https://www.youtube.com/watch?v=MGHtju7iJ4Q

      Much of the MySensors adopted secret knock code comes from this tutorial:
      https://learn.adafruit.com/secret-knock-activated-drawer-lock/overview

      Vera lock device:
      Screen Shot 2014-08-15 at 23.50.41.png

      C Offline
      C Offline
      clippermiami
      Hero Member
      wrote on last edited by
      #2

      @hek Practically diabolical :-)

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        Yveaux
        Mod
        wrote on last edited by
        #3

        Nice! Great you found some time to finish it ;-)

        http://yveaux.blogspot.nl

        1 Reply Last reply
        0
        • R Offline
          R Offline
          RJ_Make
          Hero Member
          wrote on last edited by
          #4

          Very Cool

          RJ_Make

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hek
            Admin
            wrote on last edited by hek
            #5

            -- video moved to first post --

            C ferpandoF 2 Replies Last reply
            4
            • H hek

              -- video moved to first post --

              C Offline
              C Offline
              clippermiami
              Hero Member
              wrote on last edited by
              #6

              @hek Very neat. Now I have to find some place to use this :-)

              1 Reply Last reply
              0
              • K Offline
                K Offline
                korttoma
                Hero Member
                wrote on last edited by
                #7

                Nice hek!
                I'we always had in mind to make a "Clapper" switch but I guess this could be used for that purpose also, I'll give it a try.

                • Tomas
                1 Reply Last reply
                0
                • H hek

                  -- video moved to first post --

                  ferpandoF Offline
                  ferpandoF Offline
                  ferpando
                  Hero Member
                  wrote on last edited by
                  #8

                  @hek
                  Very nice addition to the sensor collection. Congratulations.
                  Have you tried to use a piezo sensor instead of a mic?

                  Something like this:

                  -19301304925896892.jpg

                  H 1 Reply Last reply
                  0
                  • ferpandoF ferpando

                    @hek
                    Very nice addition to the sensor collection. Congratulations.
                    Have you tried to use a piezo sensor instead of a mic?

                    Something like this:

                    -19301304925896892.jpg

                    H Offline
                    H Offline
                    hek
                    Admin
                    wrote on last edited by
                    #9

                    @ferpando

                    No couldn't find any around the house. But it should probably work. You might need to us analog input to tune it.

                    ferpandoF 1 Reply Last reply
                    0
                    • H hek

                      @ferpando

                      No couldn't find any around the house. But it should probably work. You might need to us analog input to tune it.

                      ferpandoF Offline
                      ferpandoF Offline
                      ferpando
                      Hero Member
                      wrote on last edited by
                      #10

                      @hek
                      I have some arround so I'll try it one of these days and let you know.

                      1 Reply Last reply
                      0
                      • greglG Offline
                        greglG Offline
                        gregl
                        Hero Member
                        wrote on last edited by
                        #11

                        Knock Knock...

                        Who's there?

                        **Hek.
                        **
                        Hek who?

                        How the heck would i know!!!

                        ;-)

                        ( might only be amusing to aussies..or just me.hahah)

                        H 1 Reply Last reply
                        0
                        • greglG gregl

                          Knock Knock...

                          Who's there?

                          **Hek.
                          **
                          Hek who?

                          How the heck would i know!!!

                          ;-)

                          ( might only be amusing to aussies..or just me.hahah)

                          H Offline
                          H Offline
                          hek
                          Admin
                          wrote on last edited by hek
                          #12

                          @gregl

                          Haha! Here are some Aussie jokes for you:

                          Q. What's a crocodile's favourite game?
                          A. Snap!

                          Q. What's small, furry and bright purple?
                          A. A koala holding its breath!

                          Q. What do you call a boomerang that doesn't come back?
                          A. A stick!

                          Q. Why did the emu cross the road?
                          A. To prove he wasn't a chicken!

                          Q. Why did the dingo cross the road twice?
                          A. Because he was a double-crosser!

                          Q. What's a koala's favourite drink?
                          A. Coca Koala!

                          Q. What do crocodiles call children?
                          A. Appetisers!

                          Q. What do you get when you cross a kangaroo with sheep?
                          A. A woolly jumper!

                          Q. What animal can jump higher than the Sydney Harbour Bridge?
                          A. All animals, because bridges can't jump!

                          Q. Why do kangaroo mums hate bad weather?
                          A. Their joeys have to play inside!

                          1 Reply Last reply
                          0
                          • greglG Offline
                            greglG Offline
                            gregl
                            Hero Member
                            wrote on last edited by
                            #13

                            Oldies but goodies!

                            1 Reply Last reply
                            0

                            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
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            17

                            Online

                            12.0k

                            Users

                            11.2k

                            Topics

                            113.4k

                            Posts


                            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • MySensors
                            • OpenHardware.io
                            • Categories
                            • Recent
                            • Tags
                            • Popular