Final Project¶
Smart 4-Box Electronic Locker System¶
Project Evolution¶
Originally conceived as a mechanical 6-digit code locker inspired by parcel systems like Posti, the project has evolved into a Smart 4-Box Electronic Locker System that combines physical fabrication with embedded electronics. While maintaining the core concept of secure compartment access, the system now integrates Raspberry Pi Pico microcontrollers and electronic locking mechanisms for enhanced functionality and user experience.
Final Concept Description¶
A smart locker system featuring four individually lockable compartments controlled by an electronic keypad interface powered by Raspberry Pi Pico.
- Locker Structure: Four compartment enclosure constructed from laser-cut plywood or acrylic panels with modular design for easy assembly and potential expansion
- Electronic Access Control: Raspberry Pi Pico microcontroller managing a keypad input system and four electronic locking mechanisms
- User Interface: Digital keypad for code entry with visual feedback (LED indicators)
- Admin Functions: Programmable access codes for each compartment with the ability to reset and manage user access
Key Features¶
1. Smart Locker Enclosure¶
- Four identical compartments with individual doors
- Laser-cut construction for precision and reproducibility
- Modular design allowing for stackable expansion
- Transparent acrylic or wooden panels based on material availability
2. Electronic Locking System¶
- Raspberry Pi Pico as the central controller
- 4x4 matrix keypad for code input
- Solenoid locks or servo-controlled bolts for each compartment
- LED status indicators (red/green) for each locker
- Power management system (battery or external power)
3. Access Control Logic¶
- Unique 4-6 digit codes for each compartment
- Temporary code generation capability
- Admin override function
- Access logging (optional with additional storage)
- Wrong attempt limiting
Technical Implementation¶
Electronics Components¶
- Raspberry Pi Pico W (for potential network connectivity)
- 4x4 Matrix Keypad
- 4x Solenoid locks or servo motors
- 8x LEDs (2 per compartment for status)
- Breadboard/perfboard and wiring
- Power supply (5V/2A recommended)
Programming Approach¶
- MicroPython firmware on Raspberry Pi Pico
- Keypad scanning algorithm
- Lock control routines
- Code validation and management
- LED status control
Fabrication Process¶
Digital Design Phase¶
- 3D Modeling: Create detailed models of locker compartments, doors, and mounting points for electronic components
- Laser Cutting Preparation: Prepare vector files for acrylic/plywood panels with appropriate joinery
- 3D Printing: Design and print custom mounts for Pico, keypad, and locking mechanisms
Physical Construction¶
- Material Preparation: Laser cut all enclosure panels
- Assembly: Construct main locker body and individual compartments
- Electronics Integration: Mount controllers, keypad, locks and wiring
- Testing: Validate mechanical operation and electronic controls
