Smart Clock Lockbox for ESP32
An ESP32 display project.
Parts and sourceBefore you start
Confirm board compatibility and supported firmware targets in the upstream documentation.
Upstream README
smart-clock-lockbox
A smart clock display with a built in lockbox using an ESP32 and solenoid lock. This project was made for my High School Senior Technology Capstone class. This is a guide on how to construct one for yourself, step-by-step!
Clock/Weather display page

Pinpad page

Inside layout

Components:
ESP32 Display: https://www.amazon.com/dp/B0D93MBWC2
Solenoid lock: https://www.amazon.com/dp/B0C793X21J
Other components needed: 5V relay, 9V battery, misc. wiring.
Programming Directions:
- In clockLock.ino replace your Wifi credentials and lat/longitude
- Using the Arduino IDE, upload clockLock.ino to the ESP32
Electrical directions:
- Connect the included harness to the I2C port on ESP32
- Connect the 3.3V, 1025(SCL) and GND wires to the corresponding inputs on the relay
- Connect the positive terminal of the battery to the output of the relay
- Connect the positive wire of the solenoid lock to the output of the relay
- Connect the negatives of the battery and solenoid together
Your wiring is now set up! You can now 3D print a box and lid or construct one out of cardboard.