This new article series will be on Home Automation and security system Prototype with Raspberry Pi 3 as its main controller. Home automation with Raspberry Pi using Internet of Things (IOT) architecture have been on the rise for some time now and it is high time the team at steinacoz dig into it.
In this series, we will be developing a prototype of a remotely controlled home in the sense that doors can be remotely opened and closed, lights can also be remotely switched ON and OFF, intrusion and human detection will be remotely monitored, environmental parameters like temperature etc can be monitored: all from from an Android app developed with Ionic Framework .
- Remote Desktop Access setup with xrdp on Raspberry Pi raspbian stretch
- No Keyboard, Ethernet & Monitor: Setting up Raspberry Pi in headless Mode
- Reading Temperature & Humidity with DHT22 (AM2302) sensor module, Arduino mega
The post will be inform of series so stay glued and tuned to all parts of it. We will be needing some components for this both hardware and software and they will be listed below:
- Pubnub Data Streaming network
- Python atleast Python3
- Python IDE
- Raspberry Pi 3
- Raspberry Pi Camera
- PIR motion sensors
- bunch of LEDs
- servo motors (to open and close door)
- 5volts DC fan
- atleast 2-channel relay module
PubNub is a global Data Stream Network (DSN) and realtime infrastructure-as-a-service (IaaS) company based in San Francisco, California. The company makes products for software and hardware developers to build realtime web, mobile, and Internet of Things(IoT) applications.
PubNub’s primary product is a realtime publish/subscribe messaging API built on their global data stream network which is made up of a replicated network of at least 14 data centers located in North America, South America, Europe, and Asia. The network currently serves over 300 million devices and streams more than 750 billion messages per month. Pubnub is a very integral part of this project.
Ionic is a complete open-source SDK for hybrid mobile app development. The original version was released in 2013 and built on top of AngularJS and Apache Cordova. The more recent releases, known as Ionic 3 or simply “Ionic”, are built on Angular.
First, we need to setup our Raspberry Pi device using headless mode if you don’t have a keyboard and monitor. Refer to this post for that: No Keyboard, Ethernet & Monitor: Setting up Raspberry Pi in headless Mode and this: Remote Desktop Access setup with xrdp on Raspberry Pi raspbian stretch.
Make sure you can acquitted with the pin outs of raspberry Pi 3 using BCM numbering:
You can now check out the next POST in this series: Raspberry Pi Home Automation & Security System: Android Ionic App and don’t forget to drop your comments.