Turn your existing door lock into a smart lock without replacing the original lock. This project uses an ESP32 and an MG995 servo to rotate the indoor key/knob, controlled from your phone through a local web page (Open / Close).
Watch the build on YouTube: https://youtu.be/eEBS4yl3FqA
- Open/Close from a local web page
- Two Wi-Fi modes:
- Access Point (AP): ESP32 creates its own Wi-Fi network
- Station (STA): ESP32 connects to your home Wi-Fi and is reachable by IP
- 3D-printed mount/case (STL/STEP files included)
- Simple DIY build, easy to customize
- ESP32 DevKit (or ESP8266)
- MG995 Servo Motor
- USB 5V power supply
- Jumper wires + screws
- 3D-printed parts
- Servo Red → ESP32 5V
- Servo Brown/Black → ESP32 GND
- Servo Orange/Yellow → ESP32 GPIO D1
- Connect your phone to the ESP32 Wi-Fi network (SSID you set)
- Open the URL shown in Serial Monitor
- Use Open / Close
- ESP32 connects to your home Wi-Fi
- Open the IP address shown in Serial Monitor
- Use Open / Close
This is a DIY project for learning and prototyping.
- Add mechanical limits / safe angles to avoid stressing the lock
- Use a stable external power supply for the servo
- Do not treat this as a certified security product