Arduino Secret Knock Lock

10 Просмотры
In this project, we’ll make a circuit that moves a servo arm to unlock a box or door when you provide the correct secret knock. 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. When a piezo is struck it rings like a bell, but instead of producing sound, it outputs a voltage, which generates a number depending on the force of the strike. We’ll measure this voltage in numbers, and if the knocks fall within a certain range, the Arduino will register them as correct. If three knocks of the correct voltage are detected, you’ve cracked the code, and the servo arm moves to unlock the box or door.
Please leave a like and subscribe to my channel | RoBoTics GURUJI |
Комментариев нет.