Cheap wifi based Home automation.
In this project we are trying to create home automation without any special electricity adjustments and our goal is to do a simple kit for home automation.
Steps of Work:
learning how to use raspberry pi so that we decided to activate a LED lamp via pi.
we succeeded to control openHAB in the raspberry pi via our computer, that is to say that we connected between openHAB in our computer and openHAB in the raspberry pi and every change we made in our computer we saw it in the raspberry pi. (for more details, please watch “connect to openHab” video).
learning how to work with arduino and how to run programs on servo via arduino. then we run some programs on our servo in order to make sure that it works.
learning how to connent and make an integration between raspberry pi, arduino and servo.(for more details, please watch “activate servo using arduino and raspberry pi” video).
learning how to activate servo using raspberry pi and arduino via openHAB in our computer and smart phone. (for more details, please watch “activate servo using openhab via computer/smart phone)
after that, we decided to use esp8266 instead of raspberry pi in order to connect to wifi. The ESP8266 WiFi Module is a self contained SOC with integrated TCP/IP protocol stack that can give any microcontroller access to your WiFi network.
using arduino IDE we learn how to flash the esp and write programs into it.
we manage to create a simple TCP server on the esp8266 to control the GPIO on the chip. then, we connected the esp to the arduino the same way as we did with the raspbery pi.
the next step was to create the connection over the internet. for that we used a new platform named Blynk – an android application that can activate the esp securely over the internet.
in order to use Blynk on the esp, first we needed to install it into the arduino IDE.
using the above components, we managed to create a simple and cheap home automation kit that doesn’t require any electricity adjustments.