Copy and paste the code below into a new sketch and upload it to your trinket.
Secret knock detecting door lock using arduino pdf.
A box or door when you provide the correct secret knock.
In this post let us build a secret knock detecting door lock using arduino which can detect the pattern of your knocks at the door and will only open the lock if the knocking pattern matches with the correct.
This is a great gadget for a secret clubhouse and for people like me who always seem to loose their keys.
When a piezo is struck it rings like a bell but instead of producing sound it outputs voltage which generates a number depending on the force.
This started out as a bit of a joke project but turned out to be surprisingly accurate at judging knocks.
Protect your secret hideout from intruders with a lock that will only open when it hears the secret knock.
Secret knock trinket code for running a secret knock lock on the adafruit trinket.
This project is based on the original secret knock lock instructable by grathio available below with the following main modifications.
Some examples are pir based security system rfid based security system digital lock system bio matrix systems electronics code lock.
Secret knock detecting door lock.
If the precision is turned all the way up it can even detect people apart even.
In this post let us build a secret knock detecting door lock using arduino which can detect the pattern of your knocks at the door and will only open the lock if the knocking pattern matches with the correct.
So far we ve been using a piezo buzzer only to make noise but we can also use it as a sensor to detect sounds in this case knocks.
Protect your secret hideout from intruders with a lock that will only open when it hears the secret knock.
This started out as a bit of a joke project but turned out to be surprisingly accurate at judging knocks.
If the precision is turned all the.
Arduino ide to work with the trinket yet follow the introducing trinket https adafru it ceu guide before continuing.
Version 13 10 31 built with arduino ide 1 0 5.