Project Perspective
Keypad and oled display safe circiut is an intuitive and flexible keypad and oled display safe circuit for your electronic projects. By utilizing an OLED display and a 4x4 Membrane Matrix Keypad, you can build a secure and interactive safe with ease.
Technical Implementation
The system uses the SSD1306 OLED Display to show the safe's status and the 4x4 Keypad to enter a passcode. A Servo Motor acts as the locking mechanism, while a Buzzer provides audible feedback for correct and incorrect code entries.
Hardware Infrastructure
- Arduino Uno: The primary controller for the safe's logic and sensors.
- 4x4 Membrane Matrix Keypad: Used to enter a passcode.
- OLED Display: Provides visual feedback on the safe's status and any entered characters.
- Buzzer: Sounds for correct and incorrect code entries.
- Servo Motor (SG90): The lock for the safe.
- Jumper Wires: Connect all the components together.
Passcode Logic and Logic
The Arduino code uses the Keypad and Adafruit SSD1306 libraries.
- Polling: The Arduino constantly polls the keypad for any key presses.
- Input Storage: Any pressed key is added to a buffer.
- Verification: When the
*or#key is pressed, the code compares the buffer against a pre-defined passcode. - Lock Activation: If the code matches, the servo rotates to the "Open" position, and the OLED shows "ACCESS GRANTED." If incorrect, an error message is shown, and the buzzer sounds.
Software Execution
The code is designed to update the OLED display after each key press and keep it synchronized with the safe's state. This provides a highly responsive and secure user interface.
Future Expansion
- Master Code: Implement a master code that allows the user or an administrator to reset individual passcodes.
- Wrong Guess Lockout: Add a timeout or a limited number of guesses before the safe is locked permanently.
- External Alarm: Connect to an external alarm or a web service to signal an unauthorized access attempt.
- Battery Powered: Make the safe battery-powered for a truly standalone security system.
Keypad and oled display safe circiut is a perfect project for any electronics enthusiast looking for a more interactive and secure security system!