Atiq - Controlling Electrical Appliances USING ANDROID

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 32

CONTROLLING

ELECTRICAL
APPLIANCES USING
ANDROID
By : Sahar Khan 130222
Arifa Ajmal 130479

Supervised by: Sir Attiq ur Rehman


Co Supervisor: Sir Awais Shahid
BASIC LAYOUT
Mobile
Application
RELAY BOARD

Wi-Fi
Appliances
connectivity

Arduino
Command
Router with
forward
Ethernet shield
Aim Of Project

 The main aim of our project is to develop a


system that control the electrical appliances
wirlessly. The device can be made sure to be
available at a low cost so that everyone can
afford it.
OBJECTIVE

 To design and to implement a cheap and open source system that is capable
of controlling electric appliances through an easy android application.
 The proposed system has a great flexibility by using Wi-Fi technology to
interconnect its distributed modules to server. That will decrease
deployment cost and will increase the ability of upgrading.
 System will make use of secure wireless LAN connections between
distributed hardware modules and server.
Software Requirement:

 Arduino software for coding


 Android studio ( java language)
 Proteus for simulation

Hardware Requirement:
 Arduino Mega2560+Ethernet Shield
 Router
 Smart phone ( Android)
Software Description

ANDROID ARDUINO

 Android is an operating  Arduino provides an


system for many mobile open-source and easy-to-
phones. use programming tool, for
writing code and
 The software use for this
uploading it to the board.
purpose is Android studio.
 This software can be used
 It use Java language for
with any Arduino board.
creating application.
 It uses C/C++ language.
Android Application
Arduino Mega 2560 and its Working

 Arduino is an open-source electronics platform that


is easy to use hardware and software.
 It provides four hardware UARTs for TTL (5V)
serial communication.
 The Arduino Software (IDE) includes a serial
monitor which allows simple textual data to be sent
to and from the board.
Arduino Mega 2560

www.the
Company Name megaller
y.com
Arduino Mega 2560
Microcontroller Atmega 2560
Operating Voltage 5V
Input Voltage (recommended) 7-12V
Input Voltage (limit) 6-20V
Digital I/O Pins 54 (of which 15 provide PWM output)
Analog Input Pins 16
DC Current per I/O Pin 20 mA
DC Current for 3.3V Pin 50 mA
Flash Memory 256 KB
SRAM 8 KB
EEPROM 4 KB
Clock Speed 16 MHz
LED_BUILTIN 13
Length 101.52 mm
Width 53.3 mm
Weight 37 g
ETHERNET SHIELD

 It is based on the Wiznet W5100 Ethernet chip.


 The Ethernet Shield give extra capability to Arduino to
connect with internet.
 It enables to receive internet signal from Router and
send it to the Arduino Mega 2560.
Why we use Arduino ?

 PIC needed to be programmed using Specific Programming


Language whereas the Arduino is board needs just a USB cable
to plug it in the computer and you are ready to go. While in
PIC you need separate AVR/PIC programmer to upload your
code to it.
 “The Arduino is simpler, harder to ‘break’ or ‘damage’ and has
much more learning resources.With the Pi you have to learn
some Linux as well as programming—such as Python.
Router

 Router uses the combination to route from the


soured to destination. It catches the Wi-Fi
signal and send it to Arduino Ethernet shield.
Block diagram for Code
Store MAC
address of 8
bits in array

Store IP address
To declare local and
remote addresses

Creating Server on specified


Port

Initialize the Ethernet


library

Declare 5pins for reading


and 5 pins for writing
data

Serially print remote


port from UDP
packet

Print data serially


Why we use Wi-fi?

 Wi-Fi is better suited for operating full-scale


networks because it enables a faster
connection, better range from the base station.
 In Wi-Fi, Wireless adaptors are used on all the
devices of the network, a wireless router.
Flow chart for the Connection
establishment with internet
Waiting
Start
for
Command
from User
Static IP
address

Establish Command
connection with Receive
LAN

Connection Decode
Successful Command String

Execute
Idle Mode Command
Main Hardware components:
Relay:
In our project we use simple and SPDT relays. It is an
electrically operated switch that is use to control high current circuit with
low current signals.

Transformer:
Two types of transformers are used. First one is of 30 ampere rating and
others are of 2 to 3 ampere.

Diodes:

It allows current to pass in one direction, they are used as switch or bridge
rectifier. It convert AC input into DC output.
Other Hardware Requirements

 PCB Fibre board


 Relays
 Transformers
 Diodes
 Bjts
 Resistors
 Capacitors
 Switch sockets
 Jumping wires
 Electric wire
Layout
Flow Chart of full Working
Connectivity
through IP
address

Open application in
smart phone

Command switching of
desired appliance

Digital signal reach to


Ethernet shield via
Router
Arduino process the
signal & pass to Ethernet
shield

Ethernet shield pass


signal to Relay board

Relay Perform the


switching of
End
respective
appliance
Advantages

 Makes the switching control easy and convenient for


Physically Disabled people
 Saves electricity
 Man-power utilization is reduced
 More powerful and long ranged then Bluetooth.
 Controlling Electrical Appliances through Wi-Fi is a
cheap home automation system also user Friendly.
Cost of Project

Software Cost including Arduino,


Ethernet shield and Router = 6000/-
Hardware Cost = 4000/-
(ie Supply,switch,wires,connectors)
Additional Cost = 3000/-
Total Cost = 1300/-
Timeline
We divided our project in 3 steps .
Summer
Software and coding requirements.
 C/C++ language
 Java language
7th Semester
 Android application
 Arduino Coding
8th Semester
Hardware part and we will finalize the project.
 Arduino mega 2560
 Router interfacing
 PCB board ( LED’s, BJT’s, Relay, switches, transformer,
capacitors etc)
Video Demonstration
www.the
Company Name megaller
y.com

You might also like