MKR Keylock is an open-source IoT keypad for your front door
Arduino Team — February 16th, 2025
The age-old combination of physical locks and keys, although reliable, also comes with a few drawbacks, such as when you lose the key or you want to share access with someone else remotely. Davide Gomba has recognized this and built the MKR Keylock project as a way to address some of these shortcomings.
Starting with an existing electronic lock module, Gomba installed it in his door before identifying the circuit responsible for triggering it to open. Once found, he connected the line to a relay that, when triggered by a GPIO signal, will unlock the bolt. An Arduino MKR WiFi 1010 was then attached to a 4×4 keypad, a small buzzer for signaling an incorrect code, and another relay that runs to the doorbell for remote ringing. Thanks to the MKR board’s Wi-Fi connectivity, the firmware configures an MQTT client that listens to a few topics: “/code” to set the keypad code, “/open” to override the locking mechanism, and “/alive/status” that reflects the real-time status of the lock.
Over on the web side, Gomba made a new Home Assistant integration that operates on the same topics as a controller. From a webpage, users can then toggle the lock or provide a new code for the lock to check against.
Want to bring your own door into the IoT era? More information about this IoT lock can be found here on Hackster.io.
We care about the privacy and personal data of our users.
To continue, please give us your consent:
Please confirm that you have read the privacy policy
Thank you for subscribing!
Curious to learn more?
Are you also a teacher, student, or professional that loves using Arduino in your day-to-day activities?
Then keep up-to-date with either our STEM or Professional monthly newsletters.
Arduino weekly newsletter (already subscribed)
Educators can benefit from the ever growing tech that shapes our environment through fun cool projects.
Why not awe your boss with highly innovative ways to help keep your enterprise connected at no extra cost?
Arduino Survey
We'd like to get to know you little better.
Please help us improve by answering this super short optional survey.