Home Automation With Arduino

by Ayushman Saha in Circuits > Arduino

362 Views, 1 Favorites, 0 Comments

Home Automation With Arduino

1.jpg
2.jpg
5.jpg
6.jpg
7.jpg
HOME AUTOMATION WITH ARDUINO FOR ENERGY CONSERVATION - PART 3
Home Automation with SmartEdge Agile- Introduction

HISTORY

I started this project as a school project. Actually, I wanted to create something that would benefit the society. Therefore, I started examining what are the different problems that are exiting in the world that could be solved. Then, I found out that "Misuse of Electricity" and "Shortage of electricity" are some of the problems faced by the people of India. Therefore, I designed this system for the above mentioned purpose.

Supplies

The materials used in my project are given below along with their respective price (all price are in INR per piece);

Breadboard - INR 60

Four Channel Relay Module- INR 130

HC-SR04 Ultrasonic distance sensor - INR 80

Arduino Uno - INR 1500

Generic Jumper wire Male to Male - INR 5 (about 50-70 required)

Generic Jumper wire Male to Female - INR 5 (about 50-70 required)

9v Power Adapter - INR 100

HC - 05 BLUETOOTH MODULE - INR 250

Therefore, The total Cost of my project is around INR 4000

PRINCIPLE

Blank Diagram.jpeg

The working principle of this whole system is that:

1)The ultrasonic sensor will detect human presence

2) Relay module will control all the appliances but it will not be connected to sockets as there may be a need to turn it on when there are no people in a room

3) Smart Edge will take various sensors values display via Brainium server since this kit has sensor with high accuracy

*The relay module will be installed between the appliances and switch so to run the appliances there will an automated switch (run by Arduino Uno) and a normal manual switch

** If there is a need to run any appliance without human presence it can be achieved for 2 hrs via a customized app.

***To run the fan ( or ac) there will be two conditions first the human presence and second the temperature should be high enough(22 degree Celsius)

****To run the light there will be two conditions first the human presence and second the light intensity should be high enough (4.5 analog value)

BUILDING THE HOUSE

1G.jpg
2G.jpg
3G.jpg
4G.jpg

You can use any kind of model for this purpose, but the condition is that you need to have a house made of any material without any roof. I am enclosing the pictures of my (made) house.

MAKING THE CONNECTIONS

HOME AUTOMATION.jpg
Home automation with arduino and SmartEdge Agile - PART 2

The Smart Edge Agile needs no wiring while the remaining components may be wired AS ABOVE.

WRITING THE CODE:

HOME AUTOMATION WITH ARDUINO FOR ENERGY CONSERVATION - PART 3

The Code for Arduino IDE is given below in the attachment part and for more details please see the comments. A detailed description of the app is given in the the video in the last video in testing part.

Downloads

MAKING APP

Screenshot (5).png
Screenshot (6).png
Screenshot (7).png

I used the MIT App Inventor to make the app. For detailed description please refer to the second video in the principle part. Here are the screenshots of the blocks:

TESTING

HOME AUTOMATION WITH ARDUINO FOR ENERGY CONSERVATION - PART 3

You may proceed for testing the prototype by following the video as above.