Arduino-based Electronic Lock

by ridercz, published

Arduino-based Electronic Lock by ridercz May 28, 2017
3 Share
Download All Files

Thing Apps Enabled

Order This Printed View All Apps


Liked By

View All

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag.

Print Thing Tag


Thing Statistics

2093Views 631Downloads Found in Electronics


This is servo-based door lock controlled by Arduino Nano and powered by standard SG90 servo. The means to open the lock can be anything, from simple keypad trough magnetic hall sensors to Bluetooth or RFID.

This project contains complete material from Arduino Workshop SIG I did at ZodiaCon 2017.

In addition to STLs, there are the following files available:

  • Slides.pdf - presentation slides from my talk
  • Handbook-CS.pdf - lab handbook in Czech language
  • Handbook-EN.pdf - lab handbook in English language
  • Code.zip - source code for all labs

The following labs are included:

  1. Testing the environment (blinking the LED)
  2. Using the OH3144 Hall Sensor
  3. Using the 4x4 matrix keyboard
  4. Using the SG90 servo
  5. Simple lock controlled by magnetic sensor
  6. Simple lock controlled by keyboard
  7. Finished project - lock with changeable code stored in EEPROM.

The following electronic components are required:

  • Arduino Nano (or basically any Arduino, but the holder is designed for Nano)
  • OH3144 Hall Sensor
  • SG90 servo
  • 4x4 matrix keyboard

Print Settings

Printer Brand:








0.2 mm


Some parts have 'light' variants (*_LT.stl). These are less robust, but print faster.

How I Designed This

The rack and gear were inspired by Motorized Door Lock, but the other parts were created from scratch and designed for easy print.

More from Electronics

view more

All Apps

Auto-magically prepare your 3D models for 3D printing. A cloud based 3D models Preparing and Healing solution for 3D Printing, MakePrintable provides features for model repairing, wall thickness...

App Info Launch App

Kiri:Moto is an integrated cloud-based slicer and tool-path generator for 3D Printing, CAM / CNC and Laser cutting. *** 3D printing mode provides model slicing and GCode output using built-in...

App Info Launch App
KiriMoto Thing App

With 3D Slash, you can edit 3d models like a stonecutter. A unique interface: as fun as a building game! The perfect tool for non-designers and children to create in 3D.

App Info Launch App

Print through a distributed network of 3D printing enthusiasts from across the US, at a fraction of the cost of the competitors. We want to change the world for the better through technology, an...

App Info Launch App

Quickly Scale, Mirror or Cut your 3D Models

App Info Launch App

Treatstock is an online platform that offers decentralized manufacturing services such as 3D printing and CNC machining for clients all over the world. We offer free and instant access to comparati...

App Info Launch App

3D print your favourite design with NinjaPrototype, a professional 3D manufacture with consistent quality and speed.

App Info Launch App