Está en la página 1de 9

CELL PHONE/LANDLINE BASED DEVICE CONTROL

INTRODUCTION:

Being able to achieve reliable long distance communication is an important open area of research. Today,
everyone wants a comfortable lifestyle with everything controlled by just a press of some buttons. This
project intends to make a device which can be used to control home Appliances by just pressing some
buttons of a cell phone. It will use the existing infrastructure of cell phone networks for communication and
device control. This will eliminate the need of a new infrastructure and detailed technical research.

Currently, the primary mode for wireless communication uses RF (radio frequency). RF is an obvious
choice for communication since it allows more information to be transferred at high speed and over long
distance. However, creating RF network of long range for many simple applications is an impractical
solution. Thus, by using existing RF Network of Cell Phones it minimizes the cost of development and
maintenance. It will help in conserving energy as with help of this device any other appliance can be

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
controlled from any distance. It also has application in Robotics and various other fields which require long
distance communication.

AIM:

To construct a Device which can be used to control Appliances (maximum of 6) from anywhere in the world
just by pressing some buttons on a cell phone

PROJECT OVERVEIW

In this project the robot, is controlled by a mobile phone that makes call to the mobile phone attached to the
robot in the course of the call, if any button is pressed control corresponding to the button pressed is heard at
the other end of the call. This tone is called dual tone multi frequency tome (DTMF) robot receives this
DTMF tone with the help of phone stacked in the robot
The received tone is processed by the microcontroller with the help of DTMF decoder CM8870 the decoder
decodes the DTMF tone in to its equivalent binary digit and this binary number is send to the
microcontroller, the microcontroller is programmed to take a decision for any give input and outputs its
decision to motor drivers in order to drive the motors for forward or backward motion or a turn. The mobile
that makes a call to the mobile phone stacked in the robot acts as a remote. So this simple robotic project
does not require the construction of receiver and transmitter units.
DTMF signaling is used for telephone signaling over the line in the voice frequency band to the call
switching center. The version of DTMF used for telephone dialing is known as touch tone.
DTMF assigns a specific frequency (consisting of two separate tones) to each keys that it can easily be
identified by the electronic circuit. The signal generated by the DTMF encoder is the direct algebric
submission, in real time of the amplitudes of two sine(cosine) waves of different frequencies, i.e. ,pressing 5
will send a tone made by adding 1336hz and 770hz to the other end of the mobile
. The important components of this robot are DTMF decoder, Microcontroller and motor driver.
An CM8870 series dtmf decoder is used here. All types of the mt8870 series use digital counting techniques
to detect and decode all the sixteen DTMF tone pairs in to a four bit code output. The built -in dial tone
rejection circuit eliminated the need for pre- filtering. When the input signal given at pin (IN-) single ended

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
input configuration is recognized to be effective, the correct four bit decode signal of the DTMF tone is
transferred to outputs.
The microcontroller used here is a common 8 bit Atmel microcontroller AT89S8253.It is a low-power, high-
performance CMOS 8-bit microcontroller with12K bytes of In-System Programmable (ISP) Flash program
memory and 2K bytes of EEPROM data memory. It has 32 programmable input output lines.The resulting
architecture is more code efficient. Outputs from port pins of the microcontroller are fed to inputs IN1
through IN4 and enable pins (EN1 and EN2) of motor driver L293d respectively, to drive geared motors.
Switch S1 is used for manual reset

BLOCK DIAGRAM

TELEPHO
NIC MOBILE MOBILE KEYPAD
NETWORK
MICRO
CONTROLLE
R

MOBILE DECODER
MICROCONTROLL
ER

MANUAL RECEIVING APPLIANCE 1


SYSTEM
DRIV
AND
REL

REL
ER
AY

AY

APPLIANCE 8

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
DESCRIPTION

The complete working of this device can be divided in the following blocks for easier understanding:

1. TRANSMITTING CELL PHONE (CT): It acts as a remote control for the device. It remains with the
person who wishes to control the home appliances. Its purpose here is to generate the DTMF tones
corresponding to the number pressed on its keypad and transmit it thru the mobile wireless network.

2. RECEIVING CELL PHONE (CR): It receives the DTMF tones and forwards them to the decoder
thru its earphone plug outlet. In this project any common cell phone capable of generating tones can be
used.
3. MICROPHONE SYSTEM: This system receives the sounds generated by the receiving cell phone
and converts them into amplified electrical pulses.

4. DECODER: It decodes the DTMF tones received into the corresponding keypad number. This number
is available in four bit binary format at some of its output pins. The decoder used in this project is
M8870.

5. MICROCONTROLLER BLOCK: Microcontroller takes this 4 bit numbers from decoder and
converts them to the corresponding signal that will be fed into the power amplifying block. The
microcontroller used in this project is AT89S8253.

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
6. POWER AMPLIFYING BLOCK: This is the block that converts the TTL outputs of microcontroller
into high power signals. These signals can then be used be used to drive appliances. This block consists
of relays, relay pre-amplifiers and output sockets.

7. POWER SUPPLY BLOCK: This consist a 12V Battery and a power regulator (7805) to get 5v power
supply. This 12V supply drives motor drivers and motors while the 5v supply drives the microcontroller
and the decoder.

MICROCONTROLLER DETAILS:

The microcontroller used here is a common 8 bit Atmel microcontroller AT89s8253.It is a low-power, high-
performance CMOS 8-bit microcontroller with12K bytes of In-System Programmable (ISP) Flash program
memory and 2K bytes of EEPROM data memory. It has 32
programmable input output lines.

FEATURES:
• 12K Bytes of In-System Programmable (ISP) Flash Program
Memory
– SPI Serial Interface for Program Downloading
– Endurance: 10,000 Write/Erase Cycles
• 2K Bytes EEPROM Data Memory
– Endurance: 100,000 Write/Erase Cycles
• 2.7V to 5.5V Operating Range
• Fully Static Operation: 0 Hz to 24 MHz (in x1 and x2 Modes)

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
• Three-level Program Memory Lock
• 256 x 8-bit Internal RAM
• 32 Programmable I/O Lines
• Three 16-bit Timer/Counters
• Nine Interrupt Sources
• Enhanced UART Serial Port with Framing Error Detection and Automatic Address Recognition
• Enhanced SPI (Double Write/Read Buffered) Serial Interface
• Programmable Watchdog Timer

In this project the microcontroller block performs the following tasks:

KEY(on cell DATA(4 bit binary ACTION


phone) format)

1 0001 APPLIANCE 1 ON

2 0010 APPLIANCE 1 OFF

3 0011 APPLIANCE 2 ON

4 0100 APPLIANCE 2 OFF

5 0101 APPLIANCE 3 ON

6 0110 APPLIANCE 3 OFF

7 0111 APPLIANCE 4 ON

8 1000 APPLIANCE 4 OFF

9 1001 APPLIANCE 5 ON

* 1011 APPLIANCE 5 OFF

0 1010 APPLIANCE 6 ON

# 1100 APPLIANCE 6 OFF

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
PIN CONFIGURATION:

KEY PIN NUMBER

APPLIANCE 1 P2.0

APPLIANCE 2 P2.1

APPLIANCE 3 P2.3

APPLIANCE 4 P2.4

APPLIANCE 5 P2.5

APPLIANCE 6 P2.6

Dec P1.1
oder Input 1

Decoder Input 2 P1.2

Decoder Input 3 P1.3

Decoder Input 4 P1.4

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
KEY COMPONENTS

TYPE COMPONENT QUANTITY


TRANSMITTING CELL ANY COMMON CELL 1
PHONE PHONE
RECEIVING CELL PHONE ANY COMMON MOBILE 1
PHONE
VOICE INPUT DEVICE MICROPHONE 1
MICROPHONE AMPLIFIER LM386 1
DECODER M8870 1
MICROCONTROLLER AT89S8253 1
POWER AMPLIFIER ULN2803 1

AC POWER CONTROLLER RELAY SET 1

POWER SUPPLY 12V BATTERY 1


VOLTAGE REGULATOR 7805 1

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033
APPLICATIONS

Since a cell phone based home appliance control system has overcome the limitations of the range of a
normal RF controlled systems (or a manual switch on/off system), it has endless applications. It can be used
by any layman due to its simplistic nature. Also any commonly available cell phone can be used to control
this system. These features extend the scope of this system to a large number of diversified fields.

Some of the common applications have been listed below:

 This system of operating devices can be used to control all the appliances at the home even when you are
far away from the home. This increases your control over the house and makes your home more secured
and make these devices more users friendly. For e.g.-

• You can turn off the TV yourself when you don’t want that small children at your home to watch it
(in your absence).
• You can open the garage door only to allow some authorised person to take your vehicles out of our
house.
• You can automatically open the main door of your house when some of your workers/relatives come
home unexpectedly when you are away at your office.
• You can turn your Air Conditioner on when you are about to come back to your home to find your
room already cooled to the desired temperature.
• You can heat the food placed in the microwave oven when it’s time for the kids at home to have
lunch and so on.

Lucknow Branch:
3rd floor, Vaibhav Complex, Maruti Puram, Opposite Lekhraj Khazana, Faizabad Road, Lucknow-226 016,
Phone: 09793202258/0522 3294128,
Mumbai Branch: Mobile: 09793202258/022 32096033

También podría gustarte