RF Final Project PDF
RF Final Project PDF
Advisor: Mr Abinet
1
Table of contents
.ABSTRACT---------------------------------------------------------------------3
1.INTRODUCTION-------------------------------------------------------------4
.1. BACKGROUND----------------------------------------------------------4
.4.MOTIVATION--------------------------------------------------------------5
2. LITERATURE REVIEW-----------------------------------------------------7
3. METHODOLOGY---------------------------------------------------------------9
4.WORKING PRINCIPLE---------------------------------------------------------------14
5. COST BREAKDOWN---------------------------------------------------------------------------------16
6. PROJECT PLAN-----------------------------------------------------------------------------------17
7. REFERENCES---------------------------------------------------------------------------------------18
2
ABSTRACT
The main object of this project is to develop a home automation system with a four button key
fob transmitter by using RF (Radio Frequency) technology.
Nowadays, houses are gradually shifting from normal switches to centralized control system,
involving a remote control transmitter. This technology is not only easy to use but also helps to
prevent missuses of energy. Remote control (key fob) transmitter is small and very light weight,
which will work from a decent distance.
It helps elderly people to control switches from anywhere up to 75 feet. This four button key fob
transmitter is also very productive for commercial uses in Industrial and medical systems.
Remote controlled home automation system provides a simpler solution with RF technology.
This project can be upgraded by using GSM modem, which can control home appliances by
sending an SMS through a mobile or a computer. Benefit of using this technology is there will
not be any range limitation compared to Radio Frequency technology.
3
1. INTRODUCTION
1.1 BACKGROUND
Home Automation is the housing extension of building automation system. This system is
actually automating the residential activity. The trendiness of home automation has increased
tremendously in recent years for the reason of higher usability and simplicity by using remote
control (key fob), smart phones and tablet connectivity (through Wi-Fi, GSM, Bluetooth, Zig bee
etc.) Home systems like light, fan, air conditioner, air heater by using different switches in
different places. Therefore, people, especially adult people need to put a lot of afford to switch
all those components separately and with enough power to press. Those switches are mostly
made very unsafe way and it is also asking more energy to put. These problems could be solved
if home automation system would be used.
Nowadays, conventional power sockets located in different parts of the house makes it difficult
for the user to go near them to operate. It also becomes more difficult for the elderly people or
physically handicapped to do so. Many home systems like air heater, fan, lights and air
conditioners are operated by using different switches located in different places in the house. It
becomes a tedious process and consumes a lot of time to switch all those components separately.
Also people are normally lazy to wake up from the comfort of beds or couches to go and open
doors or windows when the need arises. As a result, as homes are getting smarter people need a
centralized control system from where they can comfortably control almost everything ranging
from water heaters, lights, switches, air conditioners, doors etc.
4
1.3.AIMS AND OBJECTIVES
Home automation system has different kinds like, remote control home automation, mobile
phone home automation. Aim of this project is to demonstrate an unostentatious Home
automation system that apprehends an outlying key fob controller and home machineries (here
we will try to show that by using some RF). The home appliances to be controlled include lights,
switches, air conditioners and also doors & windows.
Here, the project is based on remote control home automation system, which could help to save
energy like electricity and lots of physical strength. It could be secure, flexible, help to prevent
power and more accurate outcomes. Most of houses in the cities of the developed countries now
using remote control, mobile or touch screen based home automation system to prevent energy
and ensure adequate safety.
To accomplish the project, here first of all, trying to discuss about the research has been done
based on Home Automation and all related hardware.
1.4. MOTIVATION
The simple is just to make life easier. We invented TV remote controls so we did not have to
out of the chair to change the channel. Some people now own complex media systems that
require the owner to press 10 different buttons own 5 remote just to watch Oprah.
Press one button own a remote control and have it dim the light, set the volume level and start
playing a movie and music which you desire. Not have the sprinklers turn on if it is just rain.
Get emails sent to you at work or own you cell phone if a motion detector or security system
is tripped while out of the house. Get emails sent to you with the caller ID information of a
call received at your house when out. Automatically turn the light on in the when the garage
door goes up and its sun down. Automatically turn the front porch light on half-hour before
5
sun down every day( and automatically adjust for daylight savings). Automatically close the
garage doors every night.
Automatically turn on holiday light at specific times(all at ones). The full list is limited to
imagination and a family’s life style.
Failure to work within a long distance range. The transmitter being used can only work
from the distance of 25-30 meters. That means, it can only control living room appliances
from very little distance.
It’s also less secure since anyone who gets hold of the Keyfob can access and control the
system.
6
2. LITERATURE REVIEW
Automation is very famous thing for today's world. Nowadays, humans are trying to control
everything automatically without any physical efforts. Basic task of this system is to turn on and
off different home appliances.
In present construction in industrialized countries, most houses are depending on wire for
electrical power, telephones, TV cable or antenna, and doorbell (home automation) Though,
most of household tasks are automated by the development of specialized machineries. As
example, automatic washing machines are developed to reduce the physical labour of
washing clothes and water heaters attenuated the labour essential for bathing.
Houses will become "intelligent" and will dispatch signals or signs to the controller when
any movement happens inside. In case there is no one supposed to be home and the alarm
system is adjusted, the system could deliver signal towards the proprietor, or the police, or
an emergency number.
7
Simple examples of Home Automation are like, using of a remote control to turn on and off
a light across the room or unlocking the front or back door as you pull into the driveway.
Rotation of your home sprinkler system by using your mobile phone device or logging in
from your computer at work to check and view your home security cameras are also
examples of using home automation. Home automation includes everything that provides
you remote or automatic control of the electronic components inside it.
There is another project coming in the Home Automation department is named Ivee which
looks like an alarm clock. This alarm clock can talk with the operator, it can take order, and
it can control some home appliance. As example, if anyone asks about the weather to ivee
and if ivee is connected with Wi-Fi then it can tell and show you the total forecast. Ivee
voice is the first multi-room assistant for the home that lets one connect and control your
favorite smart devices and services. It also can trigger on and off the light and other home
appliances like television, radio, light, air-conditioner etc. Some other different kinds of
Home Automation projects are ongoing to improve and make easy the living of people.
8
3. METHODOLOGY
As already explained in previous parts, home automation is a smart home maintenance system
with intelligence, safety and luxurious home system. This procedure helps to provide a
comfortable, user friendly home system and also reduces the cost of energy and utility. This
home system also helps the elders to sustain with the new technologies; it helps them to use all
home appliances with little effort.
Considering the other sources, it is more comfortable to carry and easy to control from
anywhere. It helps to enhance the flexibility and security. For example, if the user gets a
message or signal by saying there is something wrong or an intrusion then he can check the
situation through video cameras. Another example could be, turning on any home appliances
like heater, computer from outside the house or from any distances. Through this technology
one can listen the music system which is playing inside the house, user can connect with
personal computer to collect some important files or it could be helpful to get a text when
any home appliances need to check or change. High flexibility, geographical distance and
good scalability properties are the most common reason to make remote-control system
suitable for all sorts of users.
9
4.WORKING PRINCIPLE
Home Automation has always been a hot buzzing topic to learn or to work on. It is really cool to
control AC appliances wirelessly. There are lots of ways to do this and imagination is the limit.
In this project we will learn the most simple and easy way to build a Wireless Home Automation
Project in which we can toggle AC loads by using 433 MHz RF transmitter and receiver module.
This project does not involve any microcontroller; hence no programming is required and can be
developed on a breadboard.
10
433MHz RF Transmitter and Receiver Module
The Transmitter module consists of three pins namely Vcc, Din and ground as shown above. The
Vcc pin has a wide range input voltage from 3V to 12V. The transmitter consumes a minimum
current of 9mA and can go as high as 40mA during transmission. The center pin is the data pin to
with the signal to be transmitted is sent. This signal is then modulated using the ASK (Amplitude
Shift Keying) and then sent on air at a frequency of 433MHz. The speed at which it can transmit
data is around 10Kbps.
The Receiver module has four pins namely Vcc, Dout, Linear out and Ground as shown above.
The Vcc pin should be powered with a regulated 5V supply. The operating current of this
module is less than 5.5mA. The pins Dout and Linear out is shorted together to receive the 433
MHz signal from air. This signal is then demodulated to get the data and is sent out through the
data pin.
11
the receiver side. This will not help in building better projects, so we employ the encoder and
decoder modules.
The HT12D and HT12E are 4-data bit encoder and decoder modules. This means that we can
make (2^4 = 16) 16 different combinations of inputs and outputs. These are 18 pin IC’s which
can operate between 3V to 12V input power supply. As said they have 4-data bit and 8-addresss
bit, these 8 address bits has to be set same on both the encoder and decoder to make them work
as a pair.
Out of the 4-data bit we will use only two in this project for demonstration purpose. You can use
all four and control four AC Appliances with the same circuit. You just have to add two more
Relay modules.
5V Relay Module:
As mentioned earlier, we will be using two 5V relay module to control the AC loads. The term
“5V” here represents the voltage required to trigger the relay. The 5V relay module used in this
project is shown below.
Our circuit operates at 5V and we need something to control 220V AC load, this is where a relay
comes handy. This relay when triggered with 5V will toggle an electromechanical switch; this
electromechanical switch is capable of candling 220V AC up to 10A current. Hence, our AC
load can be connected to the terminals of the relay.
We can also build this circuit without using a relay module. In that case we would have to use an
additional transistor like BC547 and drive it using a current limiting resistor to its base.
12
Circuit Diagram and Explanation:
There are two circuit Diagrams for this RF controlled Home Automation System, one for RF
Transmitter as RF remote control for Home Appliances and one for RF Receiver where AC loads
are connected. We have previously explained the RF Transmitter and Receiver circuit in detail.
RF Transmitter Circuit:
13
RF Receiver Circuit:
14
As you can see the transmitter Circuit consists of the Encoder IC and the Receiver circuit
consists of the Decoder IC. Since the transmitter does not need a regulated 5V we have directly
powered it with a 9V battery. Whereas in the receiver side we have used a 7805 +5V voltage
regulator to regulate 5V from the 9V battery.
Notice that the Address bits A0 to A7 on both the Encoder and Decoder IC are grounded. This
means that they are both kept at address 0b00000000. This way they both share the same address
and they will act as a pair.
The data pins D10 and D11 (Pin 12 and 13) are connected to switches on the Encoder side and to
Relay modules on the decoder side. Based on the position of switch on the encoder side the
information will be transferred to decoder and the corresponding light will get toggled.
The two relay modules are powered by the 5V supply provided by the 7805 Regulator and the
input pin is connected to the decoder module. The loads are connected through the Relay module
so that only when the relay is closed the connection to the load will be complete.
Note: Using a 9V battery to power the receiver set-up might not work properly since the battery
is not powerful to supply enough current for relay module. In that case use a 12V battery or
adapter.
Warning: High caution is required while handling 220V AC voltage. Make sure the connection is
according to circuit and for beginners it is recommended to use junction box (Spike box) that has
fuse in it. Also your wires should be of higher gauge so that it can carry the required current and
do not connect loads that consume more than 8A current.
The circuit of the project is very simple and can be easily connected in a breadboard, this circuit
is built without any microcontroller. we have used two breadboards, one for the transmitter part
and the other for the receiver part. we have also used two AC lamps to demonstrate the project.
Once we are done with the connections the set-up should look like something like below.
Here the breadboard that is powered by the 9V battery is the transmitter circuit and the other
powered by 12V adapter (not shown in pic) is the Receiver module. The AC supply is taken from
the black junction box shown above. We also have two relays to control the two AC loads
independently. The yellow wire makes up the phase connection and the green wire is the neutral
connection.
Once we power on both the circuits we can start toggling the AC loads by using the two switches
present on the Transmitter circuit. When the switch one is closed it connects the pin D13 of
encoder IC to ground and this value is sent to the decoder IC via the RF medium.
15
After the decoder receives the value of D13 is also makes its D11 pin to be zero. This means no
voltage is given to the input pin of the relay module and the Phase wire will be connected via the
Common (Com) and the normally closed (NC) terminals. The same happens in vise versa to turn
off the load.
we can now play around this set-up by toggling our switches and our AC loads should also be
toggled accordingly. The range of these modules could extend (tested up to 3 meters) by using
antenna on the transmitter module.
5. COST BREAKDOWN
Connecting wire 20 20
TOTAL 3405
16
6.PROJECT TIMEPLAN
Proposal(Drafting)
Functional Plan
Design Testing
Implementation
Documentation
17
7.REFERENCES
A.P. Godse, A.O.mulani (2009). Embedded Systems (First Edition). pp. (1-5).
B. Somanthan Nair (2006). Electronic Devices and Applications (3rd Printing). pp. (343).
J.S.Chitode (2009). Power Electronics (4th Edition). pp. (40-41).
Stephen Lindsay (2013). Smart Home Automation with Linux and Raspberry Pi. pp. (156-
160).
Tooraj jamasb, William J. Nuttall, Michael G. pllott (2006). Future Electricity Technologies
and Systems. pp. (333-334).
Virender kumar (2002). Digital Electronics: Theory and Experiments. pp. (177-179)
Y.N. Bapat (1992). Electronic Circuits and Systems: Analog and Digital (1st edition). pp.
(320-322).
All About Circuits (2003-2016: N.G.) [Online]Retrieved on 27th April 2016
Gregor Kleine(N.G.) Elektor Electronics [Online]Retrieved on 27th April 2016 from
Nairaland (2005-2016) [online]. Retrieved on 27th April 2016 from
Stephen Lindsay (2013). Smart Home Automation with Linux and Raspberry Pi. pp. (156-
160).
18