element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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 - the Intro
  • 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: 7 Jun 2016 1:33 AM Date Created
  • Views 509 views
  • Likes 1 like
  • Comments 2 comments
  • picontrolhub
  • piiot
  • piiot challenge
Related
Recommended

Pi Control Hub - the Intro

carmelito
carmelito
7 Jun 2016

Pi Control Hub is a DIY home automation system which can be extended in the future for more IoT capabilities. The name "Pi Control Hub" , correlates spoke and hub network topology, where Raspberry Pi 3 and the 7'' touch screen are going to act as the HUB aka the command and info center. And the other components as part kit including the EnOcean Sensor kit and some sensor that I already have lying around at home, will act as the SPOKE's, here are the feature -

  • DIY Security Camera
  • Blinds Automation
  • Key-less door entry
  • Lights on/off when you enter/leave home
  • Inside-Outside Weather Condition monitor using OpenWeatherMap API
  • Running Amazon Echo API on the Raspberry Pi - which means you have very own DIY Alexa at home   and you can ask her all sorts of questions like what is the Weather Condition, news and more.
  • All the features above and the security camera feed will be part of a Web app hosted on the Pi 3 written in Python-Flask , which means you will able to access Pi Control hub using Tablet/Computer and Phone when you are on you home Wifi.

 

There will be an individual blog post for each of the features aka the spokes of the Hub, so stay tuned!! .In addition, design 3D printed cases/holder for each of the components, I will include the STL files as part of the blog post so that each feature in the project can be replicated separately..

Details Feature to be implemented

Control Hub

The Control Hub flask web app running on boot up which will display the following

-The live feed from the security camera , and the last 3 times something moving was detected

-Display the temperature and humidity inside the house using DHT 11 senosr

-Display the Weather of conditions the outside temperature,humidity and weather condition using OpenWeatherMap current weather and forecast  API

-Also display the temperature from outside the house using the  EnOcean temperature sensor

- When you enter house/leave the house EnOcean Magentic contact sensor will detect this which will trigger the relay..

-Install the Amazon Echo API  python version to activate Alexa, here I am thing of using an Arcade button - to mimic the Amazon Dot functionality .

- And Yes , how can the control hub be complete with out music - will have to install  Mopidy ( https://www.mopidy.com/ ) to stream my Spotify playlist

image

<image above is a mashup of images in the Kit Section of PiIoT design challange>

I am going to have to 3D print a case or may have to laser cut some acrylic at my local makerspace , given that the bed size of my 3D printer is small image ..

 

 

Spokes of the Hub

  • DIY Security camera (Currently Work in Progress using an A+ that I have handy)

Like any other security camera this the DIY security camera you will have basic feature, like Pi camera feed will show up on the Control Hub. You will have two buttons(as part of the web app) below the feed to take a picture and take a 1 min video .

This will use Pi B+ with one of the Pi Cameras which will come as part of the kit

image

  • Blinds Automation

The hardware for this Pi Zero (borrowed from a friend, who has agreed to give me his ,till I find him a replacement with the added bonus of the  new pi Zero with Camera connector image )+ Wifi adapter + Continuous rotation servo or  gear motor (i will need a motor driver if i am using a gear motor )+Photo cell and capacitor for detecting light(currently have all these components) + 3D printed case

This will need open and close button on the Control Hub screen

 

image

 

  • Keyless door entry

The hardware for this Pi B+ (used in the Security Camera - I will have to figure out the wiring to the door lock image) + Servo + 3D printed parts

As part of this feature you will be able to unlock the door if your smart phone is connected to the home wifi router and you know the secret password. Here I have the 3D printed part and the servo parts ready from a previous project , will have to figure out how/if I can use the Pi B+ from the security camera

image

 

  • Light ON/OFF when you enter leave

Here I plan to use the PiFace digital 2 - connected to Contol hub Pi 3 + Lamp +  Humidifier during the winter (Connected to the second relay) + EnOcean push switch

As part of this feature the lamp will come on as soon as you enter your home, keeping time in mind. In addition in the winter the humidifier will come on base on the DHT11 humidity reading inside the house once you enter.

The relay can also be triggered using EnOcean push Switch , this will be handy when my mother visit me , as she does not have a fancy smart phone ..

 

If time permits(Once I completed the Hub and spokes mentioned above)

  • My very own Pi Hat base on https://www.element14.com/community/docs/DOC-81810?ICID=hp-pi3cadlibrary-topbanner instead of using the Pi Rack.
  • Open CV -  with the DIY security camera to check if it is a human or the neighbor's cat
  • Simple Android app to check if the mobile is in the vicinity of the Pi Control hub, which means a human is at home which will communicate to the Pi Bluetooth.
  • Sign in to reply

Top Comments

  • carmelito
    carmelito over 9 years ago in reply to pettitda +1
    Yes, it did work when I did something similar with an Arduino board as shown in the picture above.I will post a blog with the STL files and the code in a couple of weeks.. Here is the link to the servo…
  • carmelito
    carmelito over 9 years ago in reply to pettitda

    Yes, it did work when I did something similar with an Arduino board as shown in the picture above.I will post a blog with the STL files and the code in a couple of weeks.. Here is the link to the servo I used in the picture above- https://www.creatroninc.com/product/standard-servo-motor-44kgcm/?search_query=servo&results=45

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • pettitda
    pettitda over 9 years ago

    Does the door lock actually work?  It seems like a servo wouldn't have enough torque to open the deadbolt. 

    • 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 © 2026 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