0% found this document useful (0 votes)
7 views4 pages

Home Automation with Raspberry Pi IoT

The project titled 'Home Automation Using Raspberry PI and Custom Built Android App (IOT)' aims to create an energy-efficient home automation system using Raspberry Pi and a custom app. It leverages the Internet of Things (IoT) to allow devices to communicate and be controlled remotely, enhancing convenience and energy management. The system consists of a server-client architecture, where the server manages user interactions and the client executes commands to control home appliances.

Uploaded by

Mainali Keshav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Home Automation with Raspberry Pi IoT

The project titled 'Home Automation Using Raspberry PI and Custom Built Android App (IOT)' aims to create an energy-efficient home automation system using Raspberry Pi and a custom app. It leverages the Internet of Things (IoT) to allow devices to communicate and be controlled remotely, enhancing convenience and energy management. The system consists of a server-client architecture, where the server manages user interactions and the client executes commands to control home appliances.

Uploaded by

Mainali Keshav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

ACHARYA POLYTECHNIC

Department of Computer Science and Engineering


Soldevanahalli, Bangalore-560090

Project Synopsis

1 TITLE OF THE PROJECT : Home Automation Using Raspberry PI and Custom


Built Android App(IOT)

2 SUBMITTED BY : Keshav Prasad Mainali (434CS14028)

3 INTRODUCTION ABOUT PROJECT:


 This era is the pick point where AI (Artificial Intelligence) may win the human
mind and evolution of another generation take place which are more creative
and intelligent than us. And we all are putting efforts to make the world
better place so no one have enough time to remember or do their simple
Switching works of home. Although we have many source of energy but it is
not enough to let the home appliance run without any needs. And energy
should not be wasted. And another part is if we need some appliance to run
before we reach home to save time then what could be the best technique to
fulfil our needs? So Home Automation brings a new concept which saves the
energy when not used and also turn on the things with our time is saved. So
my project is about Home Automation using Raspberry Pi and with Custom
built app(Which can connect through Internet) can help to sort out this
problem. So lets go through it.
The Internet Of Things is the most trending technology today that stands alongside wearables
and robotics. It is a very simple concept where devices in our home or wherever they are ,
have the capability to communicate with each other via the internet. Usually sensors are used
with this technology to pass data to the internet. You can imagine a sensor installed in your
garden which uploads data like temperature, humidity, soil purity, etc to the internet, and this
data will be visible to you from anywhere around the world. Or imagine home automation
systems connected to the net , which can be used to control appliances in your home like
lights, door locks, air conditioning, etc through a web interface or smartphone application.
Here we have the project that saves the time and energy.

4 REQUIREMENTS

Hardware:

1 Raspberry Pi Model B+ 2 with memory card preloaded with an


OS.
2 Bc547 Transistor.
3 5V SPDT relay.
4 1N4001 diode.
5 Solder dot prototyping board.
6 9V battery
7 (Optional) WiFi dongle : Edimax EW 7811UN.
8 USB keyboard.
9 HDMI monitor.

Softwares(Programming Language and OS involved):

1) PHP.
2) HTML/CSS.
3) Python.
4) Linux/Rasbian.

6 Working

You can consider the whole system to be composed of two parts: Server and Client. Here,
the server is the web interface consisting of buttons and UI (User Interface) that will allow
you to turn ON/OFF a [Link] consists of PHP files, Html files and a .txt file (to store
data).The server usually stores information regarding the button press on the page (ON/OFF)
on a .txt file. This is a simple Html file called [Link] ,consisting of two [Link]
clicking of the buttons will trigger the execution of a PHP file called [Link]. This
program serves as an API (Application Programming Interface) to store data on to a text file
called [Link] data is a string : “ON”, if ON button is clicked and “OFF”, if OFF
button is [Link] the current button press state is recorded in the text file :
[Link]

The client side consists of a Raspberry Pi with a relay circuit connected to its GPIO [Link]
pi runs a python program which is used to ‘Post’ a url link using [Link] is, the pi
constantly reads the contents of a url link. Here, the url link is another PHP file called
[Link]. This PHP file serves as an API to read the contents of the text file
[Link] reading the data, the python program checks if the string obtained is
“ON” / “OFF” based on which it switches ON/OFF the relay respectively via its GPIO pin.

You might also like