loading

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.

<p>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. </p>
<p>hello , it a cool project.</p><p>what software do you used to design the 3d parts?</p>
<p>Hi, thanks a lot. I used Inventor :) </p>
<p>cant find the core2 board ,do you have a stock or model #</p><p>or link</p><p>i do have also 2 3d printers</p>
It's a board from Husarion: https://www.husarion.com/<br>and the store is here: https://store.husarion.com/<br>There are a pretty useful documentation and there is the Cloud, where you can program (online IDE) and control your devices
<p>i see it but looks very costly compare to stm32f4 board with arduino and wifi at mouser electronics and 2meg memory</p>
<p>both uses the stm32f4 chip also </p>
<p>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 ;)</p>
<p>i design and redesign robots and have over 263 robots</p><p>and look at that board its not great for robots for many reasons ,mostly need very fast speed</p><p>but looks ok i guess for IOT designs</p>
<p>i do see the robotcore they have is not too bad for some robots</p><p>since Edison board can be added to it and higher current h bridge </p>
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
<p>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</p>
<p>is the lock plastic if is can easy break in,plus lock on outside the strike also easy broken</p><p>circuit looks good,but i would use a magnet strike they are very cheap on amazon under $20</p><p>thats what i have on mine </p>
<p>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 ;) </p>
<p>I made also other projects with my friends, for example this is kinda funny :D https://www.instructables.com/id/Candy-Jar-Watch-Your-Candies-and-Know-When-Sb-Eats/ </p>
That is so awesome. <br>I really would like to make one of my own, but I have no 3D printer.<br>But I have the same question as a nother guy here had to you. <br>Is there any possibility to purchase these 2 things that require a 3D printer? <br>I would love to buy a set from you, if possible. <br>I can understand if you say no to that. <br>(You could see it as some support of your own future ideas.)<br>Best regards from Peter in Denmark.<br><br><br>
<p>I think it's possible :D Maybe I'll even work on a second version, if you are interested, just send me a message :)</p>
<p>also another item you need to think about what if you forgot your phone or dead battery</p><p>with a strike can easy use a key to open lock or deadbolt</p>
<p>here is the one i have</p><p>https://www.amazon.com/BephaMart-Electric-Narrow-type-Electronic-Control/dp/B01IX7T0EI/ref=sr_1_5?s=hi&amp;ie=UTF8&amp;qid=1474988414&amp;sr=1-5&amp;keywords=electric+strike ,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</p>
<p>I don't have and probably will not get a 3D printer in the future. Is it possible to get these made to order?</p>
<p>There are many workshops that prints 3D things for clients, you can send them our .stl files, if you are sure, that you have similar door lock. Then they will print them for you ;)</p>
<p>Realy cool!</p><p>Is it possible to open the door if the Li-Po is empty?</p>
<p>Yes, in that case servo will be just turned off, so you can easily open or close door with your hands or key. </p>
<p>Awesome. One step closer to the automated smart house of the future.</p>
<p>Thanks, we hope we'll make other things to share soon ^^</p>

About This Instructable

23,230views

264favorites

License:

More by PawełJ17:SpyBot - Internet-controlled robot with videostreaming Open Sesame - DIY door opening IoT Roller blind controlled via web browser with CORE2 and RPi 
Add instructable to: