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. My Project
  3. Pirate Chest with Secret Knock Sensor

Pirate Chest with Secret Knock Sensor

Scheduled Pinned Locked Moved My Project
12 Posts 5 Posters 5.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.
  • SparkmanS Offline
    SparkmanS Offline
    Sparkman
    Hero Member
    wrote on last edited by Sparkman
    #1

    Hi all,

    My youngest son and I converted his toy pirate chest to include the secret knock sensor. Pictures are below. The chest we used is perfect as it already contained a false bottom which now hides the electronics. It would be relatively easy to add a false bottom into other chests. The only thing we still want to do is change the blue and red "crystal" eyes in the skull to LEDs that would flash with the secret knock sensor. The sample sketch was modified to only unlock for 5 seconds, otherwise the solenoid gets pretty hot, and also modified to not unlock at power up.

    Components Used:

    • Melissa & Doug Pirate Chest
    • Arduino Nano
    • Nano Breakout Board
    • Sound Detection Sensor Module
    • 12V Solenoid
    • Voltage Regulator
    • Relay Module
    • NRF24L01+ Radio Module
    • Piezo Buzzer from the parts bin
    • Momentary Switch from the parts pin
    • 470uF 35V Electrolytic Capacitor from the parts bin
    • Power Supply Barrel Jack connector
    • 12V Wall Wart from the parts bin

    Build Notes:

    • We used the Nano with the breakout board so that it would be easier to mount to the wood bottom. Any other Arduino should work as well.
    • We used the voltage regulator module to protect the Nano (as much as possible) in case the kids plugged the wrong wall wart into it.
    • We had to add the 470uF capacitor as about 50% of the time when the solenoid activated, the power fluctuations would cause the Nano to reset. With the capacitor added, there has been no issue with resets.
    • You need a fairly beefy wall wart. Although the specs indicate the solenoid is .35A, it seems to draw more than that. I haven't measured the actual usage yet.
    • We were planning to use a TIP120 Darlington Transistor to switch the solenoid on and off, but I was worried that it would get fairly hot so went with a relay instead.
    • Given the current draw of the solenoid we went with a wall-wart rather than with batteries.
    • Some parts (Nano and Voltage Regulator) were screwed down to the bottom, but most have a small dollop of hot glue to hold them down.
    • Total build cost, not including the pirate chest (which was a gift), was about US $20.

    Cheers
    Al

    1.jpg
    2.jpg
    3.jpg
    4.jpg
    5.jpg
    6.jpg

    BulldogLowellB 1 Reply Last reply
    4
    • SparkmanS Sparkman

      Hi all,

      My youngest son and I converted his toy pirate chest to include the secret knock sensor. Pictures are below. The chest we used is perfect as it already contained a false bottom which now hides the electronics. It would be relatively easy to add a false bottom into other chests. The only thing we still want to do is change the blue and red "crystal" eyes in the skull to LEDs that would flash with the secret knock sensor. The sample sketch was modified to only unlock for 5 seconds, otherwise the solenoid gets pretty hot, and also modified to not unlock at power up.

      Components Used:

      • Melissa & Doug Pirate Chest
      • Arduino Nano
      • Nano Breakout Board
      • Sound Detection Sensor Module
      • 12V Solenoid
      • Voltage Regulator
      • Relay Module
      • NRF24L01+ Radio Module
      • Piezo Buzzer from the parts bin
      • Momentary Switch from the parts pin
      • 470uF 35V Electrolytic Capacitor from the parts bin
      • Power Supply Barrel Jack connector
      • 12V Wall Wart from the parts bin

      Build Notes:

      • We used the Nano with the breakout board so that it would be easier to mount to the wood bottom. Any other Arduino should work as well.
      • We used the voltage regulator module to protect the Nano (as much as possible) in case the kids plugged the wrong wall wart into it.
      • We had to add the 470uF capacitor as about 50% of the time when the solenoid activated, the power fluctuations would cause the Nano to reset. With the capacitor added, there has been no issue with resets.
      • You need a fairly beefy wall wart. Although the specs indicate the solenoid is .35A, it seems to draw more than that. I haven't measured the actual usage yet.
      • We were planning to use a TIP120 Darlington Transistor to switch the solenoid on and off, but I was worried that it would get fairly hot so went with a relay instead.
      • Given the current draw of the solenoid we went with a wall-wart rather than with batteries.
      • Some parts (Nano and Voltage Regulator) were screwed down to the bottom, but most have a small dollop of hot glue to hold them down.
      • Total build cost, not including the pirate chest (which was a gift), was about US $20.

      Cheers
      Al

      1.jpg
      2.jpg
      3.jpg
      4.jpg
      5.jpg
      6.jpg

      BulldogLowellB Offline
      BulldogLowellB Offline
      BulldogLowell
      Contest Winner
      wrote on last edited by
      #2

      @Sparkman

      cool. Is it MySensor'ed to open or otherwise control remotely?

      SparkmanS 1 Reply Last reply
      0
      • BulldogLowellB BulldogLowell

        @Sparkman

        cool. Is it MySensor'ed to open or otherwise control remotely?

        SparkmanS Offline
        SparkmanS Offline
        Sparkman
        Hero Member
        wrote on last edited by
        #3

        @BulldogLowell Thanks. Yes it's mysensored. The radio is in the bottom right hand corner. I don't expect to get good range the way it's positioned so I may need to reposition it a bit.

        Cheers
        Al

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

          Nice one! - great project to get your kid into electronics and programming!

          1 Reply Last reply
          1
          • SparkmanS Sparkman

            @BulldogLowell Thanks. Yes it's mysensored. The radio is in the bottom right hand corner. I don't expect to get good range the way it's positioned so I may need to reposition it a bit.

            Cheers
            Al

            BulldogLowellB Offline
            BulldogLowellB Offline
            BulldogLowell
            Contest Winner
            wrote on last edited by
            #5

            @Sparkman

            A great project to get my (10yr old) son excited about technology & science and working on a project together with me! Thanks for posting!

            :+1:
            :+1:

            (two thumbs up!)

            1 Reply Last reply
            0
            • petewillP Offline
              petewillP Offline
              petewill
              Admin
              wrote on last edited by
              #6

              Cool! I can't wait until my son is old enough to do this. At 3 he's still a little too distracted :)

              My "How To" home automation video channel: https://www.youtube.com/channel/UCq_Evyh5PQALx4m4CQuxqkA

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

                Thanks for all the kind words everyone. I'm not sure what my son was more excited about. Building it, or seeing it posted on the internet and others commenting on it.:smiley:

                Cheers
                Al

                1 Reply Last reply
                0
                • SparkmanS Offline
                  SparkmanS Offline
                  Sparkman
                  Hero Member
                  wrote on last edited by
                  #8

                  I've updated the original post with a parts list and some build notes.

                  Cheers
                  Al

                  1 Reply Last reply
                  1
                  • Moshe LivneM Offline
                    Moshe LivneM Offline
                    Moshe Livne
                    Hero Member
                    wrote on last edited by
                    #9

                    cool project! I am waiting for my sound sensors from China. Patience comes to those who wait, or so they say. I was wondering if the same hardware and software can detect a clap sequence?

                    SparkmanS 1 Reply Last reply
                    0
                    • Moshe LivneM Moshe Livne

                      cool project! I am waiting for my sound sensors from China. Patience comes to those who wait, or so they say. I was wondering if the same hardware and software can detect a clap sequence?

                      SparkmanS Offline
                      SparkmanS Offline
                      Sparkman
                      Hero Member
                      wrote on last edited by Sparkman
                      #10

                      @Moshe-Livne Thanks. Yes it should be usable for claps as well as you can adjust the sensitivity on those sound sensors.

                      I know the frustration of waiting for shipments from China, especially if one gets lost. By the time they resend and it finally arrives can be over 3 months from the original order. I think for the cheaper parts, I'm going to order the same item at the same time from a couple of different sellers to improve the chances of them arriving in a reasonable time. The inconsistency is what's most annoying. Some packages arrive within a couple of weeks and some take 2 months, although I think Canada customs is to blame in some instances for my shipments.

                      Cheers
                      Al

                      BulldogLowellB 1 Reply Last reply
                      0
                      • SparkmanS Sparkman

                        @Moshe-Livne Thanks. Yes it should be usable for claps as well as you can adjust the sensitivity on those sound sensors.

                        I know the frustration of waiting for shipments from China, especially if one gets lost. By the time they resend and it finally arrives can be over 3 months from the original order. I think for the cheaper parts, I'm going to order the same item at the same time from a couple of different sellers to improve the chances of them arriving in a reasonable time. The inconsistency is what's most annoying. Some packages arrive within a couple of weeks and some take 2 months, although I think Canada customs is to blame in some instances for my shipments.

                        Cheers
                        Al

                        BulldogLowellB Offline
                        BulldogLowellB Offline
                        BulldogLowell
                        Contest Winner
                        wrote on last edited by
                        #11

                        @Sparkman said:

                        I think Canada customs is to blame in some instances for my shipments

                        Screen Shot 2015-05-19 at 10.41.44 PM.png

                        SparkmanS 1 Reply Last reply
                        1
                        • BulldogLowellB BulldogLowell

                          @Sparkman said:

                          I think Canada customs is to blame in some instances for my shipments

                          Screen Shot 2015-05-19 at 10.41.44 PM.png

                          SparkmanS Offline
                          SparkmanS Offline
                          Sparkman
                          Hero Member
                          wrote on last edited by
                          #12

                          @BulldogLowell LOL, eh!

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          17

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          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