Open Sesame - DIY Door Opening IoT




Introduction: Open Sesame - DIY Door Opening IoT

Open sesame

Another problem we wanted to solve was dealing with keys, searching them in your backpack, while you simply want to open the door. If you want to make your doors smarter just follow us making a simple DIY opening and locking device.

Step 1: Assembly

We prepared 3D printable elements available here on github, so if you want to print them and attach on your door lock. We don't want you to destroy your doors, so we made it easy to attach with some screws or tape.

First of all, solder some wires to the RGB LED. It will be the indicator, so we use only red and green color. Then insert LED to the larger gear.

We attach the PMMA plate with tape under a door lock for CORE2. There are 4 screws and 4 distance nuts. Then insert the larger gear on a knob, and tighten it with screws.

Tighten CORE2 with 4xM3 screws.

Next, assembly a servo with the smaller gear and the base. We tightened servo with 4xM3 screws. Then attach it above a door locker, so it will be able to move correctly. We used tape to attach the base with the servo to a door above the lock. Bear in mind, that the program will be starting at the open position, so unlock the door and make sure, that the servo is in a correct position before assembling gears togheter. The best is, to do it after programming, so the servo will be in the desired position.

Step 2: Circuit Diagram

Attach ESP8266 adapter delivered with CORE2 in the box for free in the RPi connector. Connect RGB LED to the hSens1 port as described on the schematics. Connect the servo to the hServo1 port. In the end connect Li-Po as a power supply.

Step 3: Code

We used Husarion Cloud to program CORE2 with ESP8266. Everything could be find on the site here.

When you connect your CORE2 to the Cloud just program it with our source code available from github here.

Use our User interface to controll your door via web browser.



    • Fix It! Contest

      Fix It! Contest
    • Creative Misuse Contest

      Creative Misuse Contest
    • Metalworking Contest

      Metalworking Contest

    25 Discussions

    Does anymody knows some short range RFID markers to mark tools in hackspace ? I have some problems with tools disappearing -- all tools in house, but have a long time to find man who take it last hour ago.


    1 year ago

    hello , it a cool project.

    what software do you used to design the 3d parts?

    1 reply

    Hi, thanks a lot. I used Inventor :)

    cant find the core2 board ,do you have a stock or model #

    or link

    i do have also 2 3d printers

    7 replies

    It's a board from Husarion:
    and the store is here:
    There are a pretty useful documentation and there is the Cloud, where you can program (online IDE) and control your devices

    i see it but looks very costly compare to stm32f4 board with arduino and wifi at mouser electronics and 2meg memory

    I see, I won't be a judge here, there are more expensive and also cheaper alternatives. This controller has its advantages in many built-in interfaces, where for example for other device you must add h-bridge, there it is onboard :D Then, it should be very useful in robotics. It is better in prototyping than in practical use, I guess, like Arduino is ;)

    i design and redesign robots and have over 263 robots

    and look at that board its not great for robots for many reasons ,mostly need very fast speed

    but looks ok i guess for IOT designs

    i do see the robotcore they have is not too bad for some robots

    since Edison board can be added to it and higher current h bridge

    i know you can use any board to program for cloud,sparkfun has a whole set of videos on IOT and using cloud with arduino

    also about IOT its very costly plus very big in size to put it on every outlet to control everything in the house,now if someone design a interface to X10 or smart modules with IOT board thats the way to go,since most modules are $25 or less and some hardwired inside wall

    is the lock plastic if is can easy break in,plus lock on outside the strike also easy broken

    circuit looks good,but i would use a magnet strike they are very cheap on amazon under $20

    thats what i have on mine

    2 replies

    Thanks for your feedback, you know, it's only a maker's thing, ofc 3D printed elements have their durability, but I just wanted to have fun and didn't want to destroy the door lock :p but anyway, your advices are useful, thanks ;)

    I made also other projects with my friends, for example this is kinda funny :D

    That is so awesome.
    I really would like to make one of my own, but I have no 3D printer.
    But I have the same question as a nother guy here had to you.
    Is there any possibility to purchase these 2 things that require a 3D printer?
    I would love to buy a set from you, if possible.
    I can understand if you say no to that.
    (You could see it as some support of your own future ideas.)
    Best regards from Peter in Denmark.

    1 reply

    I think it's possible :D Maybe I'll even work on a second version, if you are interested, just send me a message :)

    also another item you need to think about what if you forgot your phone or dead battery

    with a strike can easy use a key to open lock or deadbolt

    here is the one i have ,also you need for arduino is a mosfet driver circuit and a doorbell or 12 source and use his circuit with a few mods ,IOT might be the future

    I don't have and probably will not get a 3D printer in the future. Is it possible to get these made to order?