element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Pi IoT
  • Challenges & Projects
  • Design Challenges
  • Pi IoT
  • More
  • Cancel
Pi IoT
Blog Pi Control Hub:Spoke3: Keyless Door entry
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: carmelito
  • Date Created: 16 Aug 2016 12:58 AM Date Created
  • Views 652 views
  • Likes 2 likes
  • Comments 1 comment
  • picontrolhub
  • piiot
  • servo
  • raspberry pi
  • piiot challenge
Related
Recommended

Pi Control Hub:Spoke3: Keyless Door entry

carmelito
carmelito
16 Aug 2016

As part of the previous blog post we setup a simple circuit with a servo and Raspberry Pi A+, to test the code we are going to use for the keyless door entry mechanism.The code included a python-flask web application that you can open in your browser when your outside the door, and then enter a password to open it. Here is the link to the blog post

Pi Control Hub:Spoke3: Key-less Door entry-testing the Servo

As part of this blog, we are going to 3D print parts, to house the Raspberry Pi A+ and a mount for the the servo.

 

Here is a video demo keyless door entry mechanism in action ..

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

To add the 3D printed parts to the door knob, you will have to remove the existing door mechanism, and also remove the metallic rod just behind the open/close knob,.We will use this metallic part to add to the 3D printed part which will then connect to the servo horn.

{gallery:width=900,height=400,autoplay=true} 3D printing and putting together the KeyLess Door Entry mechanism

image

Final setup of the Door Lock mechanism,  which includes 3D printed parts + Servo and the Pi A+ mounted on the door lock bolt

image

3D print the servo holder- for this print you don't need to have your supports on, as part of the slicing program

image

3D print the Raspberry Pi A+ holder - here ensure that you have supports turned on as part of the Slicer

image

All the 3D printed parts, that is the Pi A plus Base Holder + Pi holder lid + servo holder + the servo horn attachment

image

Removing the existing door locking mechanism

image

Screw the 3D printed servo holder with the screws from the old door mechanism

image

Add the servo horn to the 3D printed part, it should snap fit, but also add glue to secure it to the 3D printed part..

image

Add the servo and the Pi A+ to the 3D printed parts,and also add some hot glue over the screws used to attach the servo..

image

Move the circuit to Mini breadboard and add the lid, which should snap to the base.

image

Screenshot of the python-flask web app.

 

 

Link to the servo motor used - Standard Servo Motor (4.4KG*CM) and here is the link to mini breadboard which fits nicely in the Pi A+ enclosure.In addition as part of the setup , as you see in the pictures above I am using a 4AA batteries to drive the servo, but as part of the final setup I plan to use a USB cable cut at one end.

 

Here are the slicer setting I used on my Flashforge creator pro, in my case I am using normal PLA , but a suggestion would be to use PLA + (unfortunately I just have a couple of meters of red PLA+ left image)

Layer height - 0.3 mm

Infill density - 20%

Temperature - 205 C

 

For the steps for setup the flask web app, the code and the circuit details,refer to previous blog post

Attachments:
KeylesssDoorEntryPiA_STLs.zip
  • Sign in to reply
  • DAB
    DAB over 9 years ago

    Very nice update.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube