Here’s a fantastic project using an arduino, a motor, and a piezo sensor which allows you to both record and detect knocking patterns to unlock a door. The video below does a fantastic job of demonstrating how it works: It’s completely mobile and can be suction cupped to any dead bolt. Press a button to record a new sequence. Upon detecting the correct sequence of knocks, the motor turns the lock open. Brilliant!
Don’t miss: Top 40 Arduino Projects of the Web
![]()
For more details on the project including detailed photos and code, check out the project build. We have hundreds of the best Arduino projects for your inspiration:

![knock_sensor_layout_and_parts_list[1] knock_sensor_layout_and_parts_list[1]](http://hacknmod.com/wp-content/uploads/2009/11/knock_sensor_layout_and_parts_list1-600x307.jpg)





































November 3rd, 2009
Brilliant.
An original and simple yet functional project which looks convenient to mount and use. I may even make one of these!
November 3rd, 2009
That’s great! And actually fairly practical, as long as you change the pattern occasionally. Kudos!