Project Overview
This project introduces a Smart Rhythm-Based Access System that replaces traditional keyholes with a movement-sensitive interface. Using an ultrasonic sensor for presence detection, the lock grants entry only when a specific, pre-programmed rhythmic pattern is entered via two tactile buttons.
Arduino UNO
Breadboard
Ultrasonic
LCD
I2C
Servo motor
Buzzer
2 buttons
2 leds
2 resistors (220ohm)
Jumbers (M/M - M/F)
connect the LCD with I2C and connect the M/F jumpers with I2C and Ultrasonic and M/M jumpers with servo
connect the - of the led with 220ohm resistor to ground and the + with pin 4 of the arduino, redo with another led and connect it to pin 5, connect a button led to ground and the other leg to pin 2
redo the button circuit and connect it to pin 3, add a buzzer connect the - leg to the ground and the + to pin 12
connect the I2C to A4 and A5 pins, connect servo to pin 11 and ultrasonic to pin 9 and 10, connect the 5v and Ground of the Arduino to the common ground and VCC of the breadboard
Code section