loading

This is a full home automation project implemented on this architecture house using the Arduino Uno,ESP8266 and different sensor with E-Mail notifications using python. You can use the 3g-GSM/GPRS module for SMS notifications but this is the cheapest solution.

The logic and the process by which this project has been built doesn't have much difference with respect to the real world or the industry.

All the codes are there and have been shared step by step.

Step 1: Components Required:

1) Arduino Uno

2) ESP8266

3) Ultrasonic Sensor

4) MQ2 Gas Sensor

5) LED & Light Dependent Resistance

6) Flame Sensor

7) DHT11 Sensor

3) IP Webcam in your phone from play store

Step 2: Security Surveillance Automation With Live CCTV Footage & E-Mail Notification

For the security surveillance system we are using the ultrasonic sensor. You can also use the PIR sensor.

For the connection part:

The Trigger Pin was connected to pin no. 2 of arduino and Echo pin to pin no. 4. The Vcc to 5V and GND to ground.

We connect the phone with IP Webcam installed to Wi-Fi connection. And also connect the phone where you are receiving the e-mail to the same Wi-Fi. Just replace the IP Address in the code with your IP Webcam IP Address.

Make sure you run the python code and then do the experiment in case you want the e-mail notifications. I don't know how to execute python files automatically with Arduino programming, so if you find out a solution then please do share it.

The code to be uploaded in arduino is as follows:

https://github.com/debadridtt/Full-Home-Automation/tree/master/Home%20Automation/security-automation

The code for E-Mail notification is in python is as follows:

https://github.com/debadridtt/Full-Home-Automation/blob/master/Home%20Automation/automation%20python%20files/security-automation.py

Step 3: Electrical Home Appliance Automation-Normal

In this part I have used LED as a light source in a room and I will show how it operates automatically depending on the light intensity. In this way you can automate any appliances given the same logic and process. For example temperature goes above 35 deg. C you want the AC to switch on automatically. If you want your fan to switch off when temperature goes below 15deg. C, the same logic and process.

So I have connected the +ve pin of the LED to the pin 8 and -ve to GND.

The LDR was connected to Analog pin 0 and I set the threshold voltage at which the LED will be on and off.

The Arduino code is as follows:

https://github.com/debadridtt/Full-Home-Automation/tree/master/Home%20Automation/electric-automation

Step 4: Electric Home Appliances Control-Web Server

Connect the ESP8266 as given in the diagram and the LED pin as normal connection. +ve was connected to digital pin 8 and -ve to GND.

In this way you can control any electrical appliance over the web server. For that you just need to have a relay with 120V O/P.

The Arduino code to be uploaded is as follows:

https://github.com/debadridtt/Full-Home-Automation...

Step 5: LPG Gas Leakage Detection With E-Mail Notification

For the gas detection system we are using the MQ2 gas sensor.

For the connection part: The A0 pin was connected to Analog pin 0. The Vcc to 5V and GND to ground.

To upload data to cloud connect the ESP Module and use the following code:

https://github.com/debadridtt/Full-Home-Automation/tree/master/Home%20Automation/gas-intensity

Make sure you run the python code and then do the experiment in case you want the e-mail notifications. I don't know how to execute python files automatically with Arduino programming, so if you find out a solution then please do share it.

The code to be uploaded in arduino is as follows:

https://github.com/debadridtt/Full-Home-Automation...

The code for E-Mail notification is in python is as follows:

https://github.com/debadridtt/Full-Home-Automatio...

Step 6: Fire Detection With E-Mail Notification

For the fire detection system we are using the digital ir flame sensor.

For the connection part: The DO pin was connected to Digital pin 5. The Vcc to 5V and GND to ground.

To upload data to cloud connect the ESP Module and use the following code:

https://github.com/debadridtt/Full-Home-Automatio...

Make sure you run the python code and then do the experiment in case you want the e-mail notifications. I don't know how to execute python files automatically with Arduino programming, so if you find out a solution then please do share it. The code to be uploaded in arduino is as follows:

https://github.com/debadridtt/Full-Home-Automatio...

The code for E-Mail notification is in python is as follows:

https://github.com/debadridtt/Full-Home-Automatio...

Step 7: Personal Room Weather Monitoring

For the temperature and humidity monitoring system we are using the dht11 sensor.

For the connection part: The AO pin was connected to Analog pin 0. The Vcc to 5V and GND to ground.

Connect the ESP8266 as per the diagram, just connect the Tx to 2 and Rx to 3.

To upload data to cloud connect the ESP Module and use the following code:

https://github.com/debadridtt/Full-Home-Automatio...

Step 8: The Code at One Place

All the codes can be found in this repository:

https://github.com/debadridtt/Full-Home-Automation

Any problems, don't forget to comment.

About This Instructable

1,101views

34favorites

License:

Bio: Currently in 3rd yr. of my B.Tech degree in Electronics & Telecommunication Engineering from KIIT University, Bhubaneswar, India. A few programming languages at which I ... More »
More by DebadriD:Car Parking Sensor Using Arduino and Ultrasonic Sensor Full Home Automation with E-Mail Notifications using Arduino,ESP8266 & Python Obstacle Avoider Bot Using Arduino UNO & Ultrasonic Sensor 
Add instructable to: