Sie sind auf Seite 1von 61

Cell Phone Based Industrial Automation With Voice Acknowledgment

1.1 INTRODUCTION
Present era is 24x7 running era. With its huge technological advancement in
todays competing world people have to pay attention to lot of work in very limited
duration of time. Thus it becomes difficult for us to operate the devices at various sites
like home, offices and farms, etc simultaneously. For example if a person has switched
on motor at his home and if he needs to go out at the same time prior switching it off.
Then there would have been problematic situation for him, but this device can help him
greatly in such situation as he can get the idea of present status of motor and can take
action accordingly. Office automation can also be done with this project. This idea
would be helpful in agriculture sector also. As in many parts of India there is shortage
of electricity, hence peoples have to face the frequent electricity cut off problem.
Generally farmers have their homes and farms at different places. Hence whether the
electricity at farm is present or not cant be predicted from home. This affects most the
agriculture sector which thus needs to be automated significantly.
The aim of the proposed system is to develop a cost effective solution that will
provide controlling of industrial appliances remotely and enable industry security
against intrusion in the absence of homeowner. The system provides availability due to
development of a low cost system. The home appliances control system with an
affordable cost was thought to be built that should be mobile providing remote access to
the appliances and allowing home security. Though devices connected as home and
office appliances consume electrical power. These devices should be controlled as well
as turn on/off if required. Most of the times it was done manually. Now it is a necessity
to control devices more effectively and efficiently at anytime from anywhere.
In this system, we are going to develop a cellular phone based home/industry
appliance. This system is designed for controlling arbitrary devices, it includes a cell
phone (not included with the system kit, end user has to connect his/her cell phone to
the system) which is connect to the system via head set. To active the cellular phone
unit on the system a call is to be made and as the call is answered, in response the user
would enter a two/three digit password to access the system to control devices. As the
caller press the specific password, it results in turning ON or OFF specific device. The
device switching is achieved by Relays. Security preserved because these dedicated
passwords owned and known by selected persons only. For instance, our system
contains an alarm unit giving the user a remote on/off mechanism, which is capable of
informing up to five different numbers over telephony network about the nature of the
even The underlying principle mainly relies up on the ability of DTMF (Double Tune
Multi Frequency) ICs to generate DTMF corresponding to a number or code in the
number pad and to detect the same number or code from its corresponding DTMF.
1.1 Features:
To control any electronic device with the help this circuit, there is a need of
pressing just a key of cell phone. This eliminates the drawbacks which would
have to be faced with device controlling through SMS.
The circuit is very much user friendly, as it gives voice acknowledgement.
Dr. J. J. Magdum College of Engineering, Jaysingpur Page 1

Cell Phone Based Industrial Automation With Voice Acknowledgment

The instructions which are to be preloaded in the voice recognition IC, can be
given in any language whish user understands.
The use of advance microcontroller reduces size of the hardware to a greater
extent.
There are no specifications for the kind of mobile used.

The complete circuitry is proved to be very much economical.

The set of instructions is very much simplified. This eliminates the requirement
of expert user. An introductory knowledge of mobile phone is more than
sufficient.
The numbers of devices that will be controlled through this circuitry are not
limited to one or two. But total 6 devices can be controlled with ON/OFF
facility of each.
The circuitry is flexible enough to allow more number of devices to be operated,
just by changing the software programming and relay driver IC.
1.2 Power Supply:
The performance of each and every electronic system or electronic circuit
depends upon the power supply that energizes the circuit or system. It provides required
current to the circuit. Any disturbance noise in this power supply can cause problem in
working or operation of circuit. If there is any deviation in this power supply level the
circuit may not work properly. The accuracy and precision of circuit operation depends
upon it. In some of the circuits all the calibration are done at this voltage level. So all
these calibrations becomes false if there is fluctuation in supply level.
1.3 Relay Driver:
The seven NPN Darlington connected transistors in these arrays are well
suited for driving lamps, relays, or printer hammers in a variety of industrial and
consumer applications. Their high breakdown voltage and internal suppression diodes
insure freedom from problems associated with inductive loads. Peak inrush currents to
500 mA permit them to drive incandescent lamps.
1.4 Microcontroller:
The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash and 1024
bytes of data RAM. A key feature of the P89V51RD2 is its X2 mode option. The design
engineer can choose to run the application with the conventional 80C51 clock rate (12
clocks per machine cycle) or select the X2 mode (6 clocks per machine cycle) to
achieve twice the throughput at the same clock frequency. Another way to benefit from
this feature is to keep the same performance by reducing the clock frequency by half,
thus dramatically reducing the EMI.
The Flash program memory supports both parallel programming and in serial
In-System Programming (ISP). Parallel programming mode offers gang-programming
at high speed, reducing programming costs and time to market. ISP allows a device to
be reprogrammed in the end product under software control. The capability to
field/update the application firmware makes a wide range of applications possible. The

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 2

Cell Phone Based Industrial Automation With Voice Acknowledgment

P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash program


memory to be reconfigured even while the application is running.

1.5 DTMF Decoder:


The MT8870D/MT8870D-1 is a complete DTMF receiver integrating both the
band split filter and digital decoder functions. The filter section uses switched capacitor
techniques for high and low group filters; the decoder uses digital counting techniques
to detect and decode all 16 DTMF tone-pairs into a 4-bit code.External component
count is minimized by on chip provision of a differential input amplifier, clock
oscillator and latched three-state bus interface.
1.6 APR33A3:
The APR33A series are powerful audio processor along with high performance
audio analog-to-digital converters (ADCs) and digital-to-analog converters (DACs).
The aPR33A series are a fully integrated solution offering high performance and
unparalleled integration with analog input, digital processing and analog output
functionality. The aPR33A series incorporates all the functionality required to perform
demanding audio/voice applications. High quality audio/voice systems with lower billof-material costs can be implemented with the aPR33A series because of integrated
analog data converters and full suite of quality-enhancing features such as sample-rate
convertor.

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 3

Cell Phone Based Industrial Automation With Voice Acknowledgment

2.1 Introduction:This project is an example of embedded system and mobile communication as


all its operations are controlled by intelligent software inside the microcontroller and
communication takes place using a cell-phone. Here is a circuit that lets you operate the
home appliances like lights and water pump from the office or any other remote place.
So if anyone forgets to switch off the lights or other appliances while going out, it help
him to turn off the appliance with his cell-phone. The cell-phone works as a remote
control for the home appliances or any other devices which we want to operate. We can
control the desired appliance by pressing the corresponding key and through this circuit
we can operate 6 devices at a time. This system also gives you voice acknowledgement
of the appliance status. This means it gives us the information about that particular
appliance, weather it is switched on or off. The user can use any type of cell-phone.
This way it overcomes the limited range of infrared and radio remote controls

2.2 Literature Survey:In recent years, there has been a rapid increase in wireless network deployment
and mobile device market penetration. With various research that promises higher data
rates, future wireless networks will likely become an integral part of the global
communication infrastructure.The hardware part comprises of microcontroller
AT89C51, DTMF decoder MT8870, voicerecording/playback device APR9600 and a
few discretecomponents. Microcontroller AT89C51 is the heart of thecircuit. It is a lowpower, high performance, 8bitmicrocontroller with 4 KB of flash programmable
anderasable read only memory used as on-chip programmemory, 128 bytes of RAM, 32
individually programmableinput/output lines, a five vector two-level interrupt
architecture, on-chip oscillator and clock circuitry.The software part consists of a
program for themicrocontroller is written using BASCOM microcontrollerprogramming
software.
From the NCIPET-2012 ,The author A. P. Bagade says that in paper [1]
describes the development of an ultra low cost cell phone based remote control
application for induction motor-pump based irrigation in agriculture. As mobile service
is used by everyone these days, this system will be very much useful in rural areas as
well the device control can be applied in every field like agriculture, home, factories
etc.
The device control through SMS(Short Message Service ) is already existing
system. But that has number of drawbacks. In that system there are certain
specifications for the use of mobile handset. If any mobile has been programmed for the
controlling and receiving purpose, then it cannot be replaced. Only GSM(Global
Mobile System) mobiles are compatible with this system. There are certain protocols set
used for the communication between two handsets. This increases the complexity of the
installation process. The main drawback is that, the illiterate people cannot operate this
system as it includes controlling through SMS.The use of mobile communication in
device control has been thoroughly justified and the previous drawbacks and problems
have been overcome.
Dr. J. J. Magdum College of Engineering, Jaysingpur Page 4

Cell Phone Based Industrial Automation With Voice Acknowledgment

Automation is the use of control systems and information technologies reducing


the need for human intervention. In the scope of industrialization, automation is a step
beyond mechanization. Whereas mechanization provided human operators with
machinery to assist them with the muscular requirements of work, automation greatly
reduces the need.
In small scale industry many machines almost every machine is electronic. User
can control these machines, fans, lights in industrial area. Also in case of emergency
when it is impossible for user to reach at destination and switch off devices he will just
call and give voice command? Automatically that device will be off and in case of fire it
will save devices from damage. In HVAC that is high voltage a.c. current system also
remote operation is possible. If some day there is less number of workers in factory and
its impossible to control every operation our device will prove to be very useful one.
Factories can use more number of circuits of our device. One circuit will control six
devices at a time. Indirectly it will increase production of industry.
The authors namely Avigyan Datta Gupta , Sayan Samanta ,Avishek Acharjee
(ISSN 2250-2459, Volume 2, Issue 10, October 2012) describes Cell phone Based
Device Control With Voice Acknowledgement.
This paper proposes a method to control a domestic system using a mobile
phone, irrespective of the phone model and mobile phone carrier. The system suggested
consists of the mobile phone normally registered in communication service and a
computer that can receive a call from another phone. Existing methods for control and
monitoring, using mobile phones have usage problems because the cost and need for
continuous control. One of the disadvantages, being the lack of feedback during the
process. This paper proposes to solve the problems of existing methods of control that
use simple voice call and SMS. Method proposed uses the DTMF (Dual Tone Multi
Frequency) [2], [3], [4] generated when a keypad but to no of the mobile phone is
pressed by the user. The mobile phone user controls the system by sending the DTMF
tone to the access point. DTMF is a generic communication term for touch tone(a
Registered Trademark of AT&T).
The tones produced when dialling on the keypad on the phone could be used to
represent the digits, and a separate tone is used for each digit. However, there is always
a chance that a random sound will be on the same frequency which will trip up. It was
suggested that if two tones were used to represent a digit, the likelihood of a false signal
occurring ruled out. This is the basis of using dual tone in DTMF communication
.DTMF dialling uses a keypad with 12/16 buttons. Each key pressed on the phone
generates two tones of specific frequencies, so a voice or a random signal cannot
imitate the tones. One tone is generated from a high frequency group of tones and the
other from low frequency group.
The author namely Tuljappa M. Ladwa, Sanjay M.Ladwa, R. Sudharshan
Kaarthik, Alok Ranjan Dhara, Nayan Dalei (ICICI-BME 2009 Bandung, Indonesia)
describes Control of Remote Domestic System Using DTMF

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 5

Cell Phone Based Industrial Automation With Voice Acknowledgment

This paper proposes a control system which enables controlling remotely


through mobile phone and DTMF decoder. The system will control a cutter machine in
foam processing factory. The proposed system will take remote control process over
mobile network. In this system a mobile phone sends controlling signal from remote
location. 3.75G internet modem is used to receive the signal from the mobile and
transmits the signal to DTMF decoder through computer headphone, DTMF 8870
decoder is used to decode the tone generated by the buttons of the mobile keypad. PC
computer hosts software for controlling cutter machine, latching IC in the system is for
signal buffering and Darlington IC for signal amplifying.
The proposed system provides solution for industrial sector to access and
control devices and machines remotely .DTMF is short for Dual Tone Multi Frequency.
It is a generic communication term for touch tone (a Registered Trademark of AT&T).
The tones produced when dialling on the keypad on the phone could be used to
represent the digits, and a separate tone is used for each digit. Pressing any key generate
unique tone which consists of two different frequencies one each of higher and lower
frequency range. The resultant tone is convolution of two frequencies [2.2]. Figure
[2.1]shows mobile keypad frequencies and table1 also shows tone frequency associated
with a particular key.

Figure[2.1] Mobile Keypad Frequency


The signal is fed to 8870 DTMF decoder chip through headphone connected with the
PC computer. The DTMF decoder will give corresponding BCD value of tone as shown
in table2. Each key press at transmitter end reflects as a BCD value of Q1, Q2, Q3, and
Q4.
Below Table[2.1] shows Tone frequency associated with a particular key
resulting

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 6

Cell Phone Based Industrial Automation With Voice Acknowledgment

Table [2.1] DTMF Tone Frequency


Button

1
2
3
4
5
6
7
8
9
0
*
#

Low
Freque
ncy
697
697
697
770
770
770
852
852
852
941
941
941

High
Freque
ncy
1209
1337
1477
1209
1337
1477
1209
1337
1477
1209
1337
1477

Key
Freque
ncy
1906
2034
2174
1979
2107
2247
2061
2189
2329
2150
2278
2418

Table [2.2]8870 DTMF output truth table


Butt
on
1
2
3
4
5
6
7
8
9
0
*
#

Low
Freq
uenc
y
697
697
697
770
770
770
852
852
852
841
841
841

High
Freq
uenc
y
1209
1336
1477
1209
1336
1477
1209
1336
1477
1209
1336
1477

TOE Q4

Q3

Q2

Q1

1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
1
1
1
1
0
0
0
0
1

0
1
1
0
0
1
1
0
0
1
1
0

1
0
1
0
1
0
1
0
1
0
1
0

0
0
0
0
0
0
0
1
1
1
1
1

In this system, we are going to develop a cellular phone based


home/office appliance. This system is designed for controlling arbitrary devices, it
includes a cell phone (not included with the system kit, end user has to connect his/her
cell phone to the system) which is connect to the system via head set. To active the
cellular phone unit on the system a call is to be made and as the call is answered, in
response the user would enter a two/three digit password to access the system to control
devices. As the caller press the specific password, it results in turning ON or OFF
specific device.

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 7

Cell Phone Based Industrial Automation With Voice Acknowledgment

The device switching is achieved by Relays. Security preserved because these


dedicated passwords owned and known by selected persons only. For instance, our
system contains an alarm unit giving the user a remote on/off mechanism, which is
capable of informing up to five different numbers over telephony network about the
nature of the event. The underlying principle mainly relies up on the ability of DTMF
(Double Tune Multi Frequency) ICs to generate DTMF corresponding to a number or
code in the number pad and to detect the same number or code from its corresponding
DTMF.
The paper [3] author namely Abdiweli Abdillahi Soufi1, Abdirasoul

Jabar Alzubaidi2 (International Journal of Computational Engineering Research||Vol,


03||Issue, 8|| ||Issn2250-3005 || ||August||2013|| Page 45 ) describes Remote Control
System through Mobile and DTMF
Present era is 24x7 running era. With its huge technological advancement in
todays competing world people have to pay attention to lot of work in very limited
duration of time. Thus it becomes difficult for us to operate the devices at various sites
like home, offices and farms, etc simultaneously. For example if a person has switched
on motor at his home and if he needs to go out at the same time prior switching it off.
Then there would have been problematic situation for him, but this device can help him
greatly in such situation as he can get the idea of present status of motor and can take
action accordingly. Office automation can also be done with this project.
This idea would be helpful in agriculture sector also. As in many parts of India
there is shortage of electricity, hence peoples have to face the frequent electricity cut off
problem. Generally farmers have their homes and farms at different places. Hence
whether the electricity at farm is present or not cant be predicted from home. This
affects most the agriculture sector which thus needs to be automated significantly.
This project is an example of embedded system and mobile communication as all its
operations are controlled by intelligent software inside the microcontroller and
communication takes place using a cell-phone. Here is a circuit that lets you operate the
home appliances like lights and water pump from the office or any other remote place.
So if anyone forgets to switch off the lights or other appliances while going out, it help
him to turn off the appliance with his cell-phone. The cell-phone works as a remote
control for the home appliances or any other devices which we want to operate. We can
control the desired appliance by pressing the corresponding key and through this circuit
we can operate 6 devices at a time
This system also gives you voice acknowledgement of the appliance status. This
means it gives us the information about that particular appliance, weather it is switched
on or off. The user can use any type of cell-phone. This way it overcomes the limited
range of infrared and radio remote controls.
The developed system ensures that water is distributed to field whenever normal
conditions exist based on task specified. The task is initially specified through keyboard
/ SMS. A novel concept of number of miscalls in specified duration has been used to
Dr. J. J. Magdum College of Engineering, Jaysingpur Page 8

Cell Phone Based Industrial Automation With Voice Acknowledgment

reduce the operational cost of the system to bare minimum. Information is exchanged in
form of messages / miscalls between the system and the user cell phones.
The paper[4] author namely S. L. Haridas, A. P. Bagade, P. R. Indurkar
(National Conference INDIN 2008, July 2008) describes Development of a Mobile
Based Device Remote Control with Voice Acknowledgment
Some wise scientist once said that control system is a system where we can shut
down the machine whenever we want. Thats the difference between controlled and
uncontrolled machine. Our project is about make this control system efficient and
dynamic. As the name suggested the automatic control is for controlling the motor from
remote place, look over its operating conditions; get feedback from the motor itself. Our
target is to control the motor from distant place by mobile DTMF tone and also get
Feedback by SMS while it is in ON or OFF condition. We also ensure the safe operation
of the motor by detecting the voltage of the source and ensure feedback from system
while it is over or under voltage. Again we also get these feedbacks by SMS as well.
GSM network is everywhere in our country thats why we choose GSM network
to operate our motor also transfer feedback information through it. We also use GSM
network because if we use it then we dont need to establish extra equipment for
networking.
To transmit feedback signals we use GSM modem at the motor end also
generate control signal by mobile DTMF because it is very easy to generate DTMF by
mobile station and send feedback SMS by Modem as well. In industrial sector we hope
our project is become handy and cost effective to operate motor and give its protection
Kamrul Hassan1, Raziul Islam Siddiqui2, Md. Takdirul Islam3, Nahid Alam
Siddique4, Syed Mohammad Enam Uddin5 (International Journal of Advancements in
Research & Technology, Volume 2,
Issue2, Feb ruary-2013 , ISSN 2278-7763)
GSM Based Automatic Motor Control and Protection System

3.1 INTRODICTION

Dr. J. J. Magdum College of Engineering, Jaysingpur Page 9

Cell Phone Based Industrial Automation With Voice Acknowledgment

3.1.1 Power Supply:The 230V AC mains is stepped down by transformer X1 to deliver the secondary
output of 9V, 500 mA. The transformer output is rectified by a full-wave bridge rectifier
comprising diodes D1 through D4, filtered by capacitor C16 and then regulated by IC
7806 (IC5). Capacitor C15 bypasses the ripples present in the regulated 6V power
supply. LED3 acts as a power-on indicator and resistor R16 limits the current through
LED3. Below Figure [3.1.1] shows circuit diagram of power supply..

Figure [3.1.1]: Power supply circuit


The performance of each and every electronic system or electronic circuit
depends upon the power supply that energizes the circuit or system. It provides required
current to the circuit. Any disturbance noise in this power supply can cause problem in
working or operation of circuit. If there is any deviation in this power supply level the
circuit may not work properly. The accuracy and precision of circuit operation depends
upon it. In some of the circuits all the calibration are done at this voltage level. So all
these calibrations becomes false if there is fluctuation in supply level.
3.1.2 Regulated power supply
Unregulated supply is used in some circuits where there is no much change in
required load current. The load current remains fixed or deviation is very less. Because
in such supply
1)
2)

The output voltage reduces as load current increases


The ripple in output voltage increases as load current increases

So this kind of supply cannot be used where there is noticeable change in load current
frequently. But although many circuits works on unregulated supply because it requires
very few components and design is also very simple. Also some fluctuation in supply
level can be tolerated due to load current change. The regulated power supply is
required in digital circuits, the circuits in which the components cannot tolerate even
1% change in supply level like micro controller, micro processor etc..So here I am
giving the procedure to design regulated power supply that means which components
Dr. J. J. Magdum College of Engineering, JaysingpurPage 10

Cell Phone Based Industrial Automation With Voice Acknowledgment

should be chosen to have required regulated output voltage with required current. The
procedure requires calculations based on some designing equations, some assumptions
and
approximations
that
we
must
take
during
designing.

Design regulated power supply for 5 V @ 1 A


Design of Regulated section Step 1: select voltage regulator chip
Because we are designing regulated power supply, we need voltage regulator chip.
There are so many voltage regulator chips available. They are broadly classified into
different categories based on
1)
Polarity: positive, negative or dual
2)
Fixed output or variable output
3)
Required output current from 0.1 A 5 A
Here we require fixed and positive supply with current capacity 1 A. So we have to
choose LM7805 voltage regulator chip.
Step 2: input output capacitive filter
Input capacitor is required to suppress or minimize any ripple or variation in
input applied to regulator chip. Its typical value is 0.33F as specified in datasheet. This
can be neglected if regulator chip is connected very close to filtering capacitor of
rectifier. It is only required when the distance between rectifier output and regulator
input. Output capacitor is required to suppress any spike or glitch in fixed output
voltage that may occur due to transient change in AC input. Its typical value is 0.1 F as
specified in datasheet. This completes design of regulated section.

Figure[3.1.2] Specific Hardware of power supply & Three phase sensing

Here is a circuit that lets you operate your industrial appliances like lights and
motors from your office or any other remote place. So if you forgot to switch off the
Dr. J. J. Magdum College of Engineering, JaysingpurPage 11

Cell Phone Based Industrial Automation With Voice Acknowledgment

lights or other appliances while going out, it helps you to turn off the appliance with
your cell phone. Your cell phone works as the remote control for your home appliances.
You can control the desired appliance by pressing the corresponding key. The system
also gives you voice acknowledgement of the appliance status.
Microcontroller P89V51RD2 is at the heart of the circuit. It is a low-power,
high-performance, 8-bit microcontroller with 64 kB of flash programmable and erasable
read-only memory (EPROM) used as on-chip program memory, used as internal data
memory, 32 individually programmable input/output (I/O) lines divided into four 8-bit
ports, three 16-bit programmable timers/counters, a five-vector two-level interrupt
architecture, on-chip oscillator and clock circuitry.
The mobile unit is used to receive the DTMF signal from the user and also it is
used for transmission of the sound from the APR 33A3 IC. The DTMF decoder is used
for decoding the mobile signal. It gets DTMF tone from the mobile headsets speaker
pins and decodes it into 4-bit digital signal. Voice acknowledgement is provided by the
APR33A3 (IC2). It is a single-chip voice recording and playback device that can record
and play multiple messages at random or in sequential mode for 60 seconds. The user
can select sample rates with corresponding quality recording lengths. Microphone
amplifier, automatic gain control (AGC) circuits, internal anti aliasing filter, internal
output amplifier and message management are some of the features of the APR33A3.
The select switch is used to select the mode of operation, that is Manual operate,
Mobile operate and both of thi. The phase sensing circuit is used to sense the three
phase, if one of the phase vtg is absent then it sends the signal to the microcontroller
and then all the applications are switch off at this time.
Relays are components which allow a low-power circuit to switch a relatively
high current on and off, or to control signals that must be electrically isolated from the
controlling circuit itself. Newcomers to electronics sometimes want to use a relay for
this type of application, but are unsure about the details of doing so. Here a quick
rundown. To make a relay operate, you have to pass a suitable .pull-in. and .holding.
Current(DC) through its energizing coil. And generally relay coils are designed to
P
operate from a particular supply voltage. Often 12V or 5V, in the case of many of the
small relays used for electronics work. In each case the coil has a resistance which will
8
draw the right pull-in and holding currents when its connected to that supply voltage.
So the basic idea is to choose a relay with a coil designed to operate from the supply
9
voltage you.re using for your control circuit (and with contacts capable of switching the
currents you want to control), and then provide a suitable .relay driver. circuit so that
v
your low-power circuitry can control the current through the relays coil. Typically this
will be somewhere between 25mA and 70mA.Below Figure [3.1.3] shows Block
5
Diagram of our project.
Power
1 supply

R
D

Dr. J. J. Magdum College of Engineering, JaysingpurPage 12

Cell Phone Based Industrial Automation With Voice Acknowledgment

Phase
Select switch

Sensing Circuit

APR 33A3
Relay Deriver

Voice & playback

Manual Switch

DTMF

Mobile

Decoder

Unit

Figure[3.1.3]: Block diagram Cell phone based industrial automation with voice
ack.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 13

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.1.4] Circuit Diagram


In our project we use P89V52RD2 Microcontroller IC. The microcontroller consist
four port we use port 0 for manual switch, port 1 for DTMF decoder, port 2 for Relay
driver & port 3 for APR33A3. Above figure[3.1.4] shows circuit diagram of our project.
P89V51RD2 Following Features

80C51 Central Processing Unit


5 V Operating voltage from 0 to 40 MHz
64 kB of on-chip Flash program memory with ISP (In-System Programming)
and
IAP (In-Application Programming)
Supports 12-clock (default) or 6-clock mode selection via software or ISP
SPI (Serial Peripheral Interface) and enhanced UART
PCA (Programmable Counter Array) with PWM and Capture/Compare
functions
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable Watchdog timer (WDT)
Eight interrupt sources with four priority levels
Second DPTR register
Low EMI mode (ALE inhibit)
TTL- and CMOS-compatible logic levels
Brown-out detection
Low power modes
Dr. J. J. Magdum College of Engineering, JaysingpurPage 14

Cell Phone Based Industrial Automation With Voice Acknowledgment

Power-down mode with external interrupt wake-up


Idle mode

Program files of our project is 8kb that why we use P89V51RD2 IC. The P89VRD2 IC
has 64kb programmable memory. It is 40 pin IC .The IC contains 4 port each port
contains 8 bit. In our project the port one use for DTMF decoder .DTMF input pin 2&3
1&4 are short circuited. Output pin given to Microcontroller (Q0 to Q3). The pin 5,6,7
is high &p 1.7 pin no 8 use for mode selection. The DTMF Decoder following features
Complete DTMF Receiver
Low power consumption
Internal gain setting amplifier
Adjustable guard time
Central office quality
Power-down mode
Inhibit mode
Backward compatible with
Port3 used for APR33A3 voice Recording & Playback. In APR33A3 IC we can store
the 8 message. But in our We control the 6 application that why we store 6 massage.
The Following Features of this IC
Operating Voltage Range: 3V ~ 6.5V
Single Chip, High Quality Audio/Voice Recording & Playback Solution
No External ICs Required
Minimum External Components
User Friendly, Easy to Use Operation
Programming & Development Systems Not Required
170/ 340/ 680 sec. Voice Recording Length in aPR33A1/aPR33A2/aPR33A3
Powerful 16-Bits Digital Audio Processor.
Nonvolatile Flash Memory Technology
No Battery Backup Required
External Reset pin.
Powerful Power Management Unit
Very Low Standby Current: 1uA
Low Power-Down Current: 15uA
Supports Power-Down Mode for Power Saving
Built-in Audio-Recording Microphone Amplifier
No External OPAMP or BJT Required
Easy to PCB layout
Configurable analog interface
Differential-ended MIC pre-amp for Low Noise
High Quality Line Receiver
High Quality Analog to Digital and PWM module
Resolution up to 16-bits
Simple And Direct User Interface
Averagely 1,2,4 or 8 voice record & playback
Dr. J. J. Magdum College of Engineering, JaysingpurPage 15

Cell Phone Based Industrial Automation With Voice Acknowledgment

In our project we use 6 massage for example motor is on/off. Pin 10 to pin no15 the
massage is motor is & pin 16 & 17 the massage is on/off. Pin 18& pin 19 is crystal
oscillator. Pin 20 is ground pin. Port 0 used for manual switch. 6 applications you can
also operate manual through . pin 39 to pin 34 used for manual switch .pin 33 not used
in our project.p0.7 pin no 32 used for STD pin.pin 40 used for Vcc.
Port 2 used for Relay driver there are 6 relay for 6 application.pin 21 to pin 26 used for
6 application. The pin no 27 used for APR massage no 4.& p2.7 pin no 28 mode
selection. The relay driver following features
Output current (single output): 500 mA (max)
High sustaining voltage output: 50 V (min)
Output clamp diodes
Inputs compatible with various types of logic
Package Type-AP: DIP-16pin
Package Type-AFW: SOL-16pin
3.1.3 Microcontroller:
Port 0:
Port 0 is an 8-bit open drain bi-directional I/O port. Port 0 pins that have 1s
written to them float, and in this state can be used as high-impedance input. Port 0 is
also the multiplexed low-order address and data bus during accesses to external code
and data memory. In this application, it uses strong internal pull-ups when transitioning
to 1s. Port 0 also receives the code bytes during the external host mode programming,
and outputs the code bytes during the external host mode verification. External pull-ups
are required during program verification or as a general purpose I/O port.
Port 1:
Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 1 pins
are pulled high by the internal pull-ups when 1s are written to them and can be used as
inputs in this state. As inputs, Port 1 pins that are externally pulled LOW will source
current (IIL) because of the internal pull-ups. P1.5, P1.6, P1.7 have high current drive
of 16 mA. Port 1 also receives the
low-order address bytes during the external host mode programming and verification.
T2: External count input to Timer/Counter 2 or Clock-out from Timer/Counter 2
T2EX: Timer/Counter 2 capture/reload trigger and direction control
ECI: External clock input. This signal is the external clock input for the PCA.
CEX0: Capture/compare external I/O for PCA Module 0.Each capture/compare module
connects to a Port 1 pin for external I/O. When not used by the PCA, this pin can handle
standard I/O.
SS: Slave port select input for SPI
CEX1: Capture/compare external I/O for PCA Module 1
MOSI: Master Output Slave Input for SPI
Dr. J. J. Magdum College of Engineering, JaysingpurPage 16

Cell Phone Based Industrial Automation With Voice Acknowledgment

CEX2: Capture/compare external I/O for PCA Module2


MISO: Master Input Slave Output for SPI
CEX3: Capture/compare external I/O for PCA Module 3
SCK: Master Output Slave Input for SPI
CEX4: Capture/compare external I/O for PCA Module 4

Port 2:
Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. Port 2 pins are
pulled HIGH by the internal pull-ups when 1s are written to them and can be used as
inputs in this state. As inputs, Port 2 pins that are externally pulled LOW will source
current (IIL)because of the internal pull-ups. Port 2 sends the high-order address byte
during fetches from external program memory and during accesses to external Data
Memory that use 16-bit address (MOVX@DPTR). In this application, it uses strong
internal pull-ups when transitioning to 1s. Port 2 also receives some control signals
and a partial of high-order address bits during
the external host mode programming and verification.
Port 3:
Port 3 is an 8-bit bidirectional I/O port within internal pull-ups. Port 3 pins are
pulled HIGH by the internal pull-ups when 1s are written to them and can be used as
inputs in this state. As inputs, Port 3 pins that are externally pulled LOW will source
current (IIL)because of the internal pull-ups. Port 3 also receives some control signals
and a partial of high-order address bits during the external host mode programming and
verification.
RXD: serial input port
TXD: serial output port
INT1: external interrupt 1 input
INT0: external interrupt
T0: external count input to Timer/Counter 0
T1: external count input to Timer/Counter 1
WR: external data memory write strobe
RD: external data memory read strobe
Below Figure[3.1.5] shows pin-out diagram of microcontroller &Figure[3.1.6]
shows specific hardware of microcontroller.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 17

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.1.5]Pin-out of Microcontroller

Figure [3.1.6] Specific Hardware of Microcontroller

Dr. J. J. Magdum College of Engineering, JaysingpurPage 18

Cell Phone Based Industrial Automation With Voice Acknowledgment

Program Store Enable:


PSEN is the read strobe for external program memory. When the device is
executing from internal program memory, PSEN is in active(HIGH). When the device
is executing code from external program memory, PSEN is activated twice each
machine cycle, except that two PSEN activations are skipped during each access to
external data memory. A forced HIGH-to-LOW input transition on the PSEN pin while
the RST input is continually held HIGH for more than 10 machine cycles will cause the
device to enter external host mode programming.
Reset:
While the oscillator is running, a HIGH logic state on this pin for two machine
cycles will reset the device. If the PSEN pin is driven by a HIGH-to-LOW input
transition while the RST input pin is held HIGH, the device will enter the external host
mode, otherwise the device will enter the normal copy operation mode.

External Access Enable:


EA must be connected to VSS in order to enable the device to fetch code from
the external program memory. EA must be strapped to VDD for internal program
execution. However, Security lock level 4 will disable EA, and program execution is
only possible from internal program memory. The EA pin can tolerate a high voltage of
12 V.
Address Latch Enable:
ALE is the output signal for latching the low byte of the address during an
access to external memory. This pin is also the programming pulse input (PROG) for
flash programming. Normally the ALE is emitted at a constant rate of 16 the crystal
Frequency and can be used for external timing and clocking. One ALE pulse is skipped
during each access to external data memory. However, if AO is set to 1, ALE is
disabled.
No Connect
Crystal 1: Input to the inverting oscillator amplifier and
input to the internal clock generator circuits.
Crystal 2: Output from the inverting oscillator amplifier.
Power supply
In our project we use 5v power supply.
Ground
V=0V
Dr. J. J. Magdum College of Engineering, JaysingpurPage 19

Cell Phone Based Industrial Automation With Voice Acknowledgment

IE SFR Register Format


Table [3.1] IE SFR Register Format
Bit

Name

Bit Address

Explanation of Function

EA

AFh

Global Interrupt Enable/Disable

AEh

Undefined

ADh

Undefined

ES

Ach

Enable Serial Interrupt

ET1

ABh

Enable Timer 1 Interrupt

EX1

AAh

Enable External 1 Interrupt

ET0

A9h

Enable Timer 0 Interrupt

EX0

A8h

Enable External 0 Interrupt

In-System Programming (ISP)


In-System Programming is performed without removing the microcontroller
from the system. The In-System Programming facility consists of a series of internal
hardware resources coupled with internal firmware to facilitate remote programming of
theP89V51RD2 through the serial port. This firmware is provided by Philips and
embedded within each P89V51RD2 device. The Philips In-System Programming
facility has made in-circuit programming in an embedded application possible with a
minimum of additional expense in components and circuit board area. The ISP function
uses five pins (VDD, VSS, TxD, RxD, and RST). Only a small connector need to be
available to interface your application to an external circuit in order to use this
feature.
In Application Programming method
Several In-Application Programming (IAP) calls are available for use by an
application program to permit selective erasing, reading and programming of Flash
sectors, pages, security bit, configuration bytes, and device id.

3.2 DTMF:3.2.1 Description


The MT8870D/MT8870D-1 is a complete DTMF receiver integrating both the
band split filter and digital decoder functions. The filter section uses switched capacitor
techniques for high and low group filters; the decoder uses digital counting techniques
to detect and decode all 16 DTMF tone-pairs into a 4-bit code. External component
count is minimized by on chip provision of a differential input amplifier, clock
Dr. J. J. Magdum College of Engineering, JaysingpurPage 20

Cell Phone Based Industrial Automation With Voice Acknowledgment

oscillator and latched three-state bus interface. Figure[3.2.1] shows pin-out diagram of
DTMF Decoder.
3.2.2 Functional Description
The MT8870D/MT8870D-1 monolithic DTMF receiver offers small size, low
power consumption and high performance. Its architecture consists of a bandsplit filter
section, which separates the high and low group tones, followed by a digital counting
section which verifies the frequency and duration of the received tones before passing
the corresponding code to the output bus.

Figure[3.2.1] Pin-out Diagram of DTMF


3.2.3 Decoder Section
Following the filter section is a decoder employing digital counting techniques
to determine the frequencies of the incoming tones and to verify that they correspond to
standard DTMF frequencies. A complex averaging algorithm protects against tone
simulation by extraneous signals such as voice while providing tolerance to small
frequency deviations and variations.
This averaging algorithm has been developed to ensure an optimum
combination of immunity to talk-off and tolerance to the presence of interfering
frequencies (third tones) and noise. When the detector recognizes the presence of two
valid tones (this is referred to as the signal condition in some industry specifications)
the Early Steering (ESt) output will go to an active state. Any subsequent loss of
signal condition will cause ESt to assume an inactive state (see Steering Circuit).
The DTMF decoder is used for decoding the mobile signal. It gets DTMF tone from the
mobile headsets speaker pins and decodes it into 4-bit digital signal. The DTMF
decoder is operated with a 3.579MHz crystal (XTAL2 ) In DTMF receiver MT8870
(IC3), capacitor C12 is used to filter the noise and resistors R6 and R7 help to amplify
the input signal using the internal amplifier.
The mobile signal is decoded into the DTMF signal by IC3. The DTMF
output for each mobile key (used in this project) pressed is shown in Table IV. After
getting the input from the switches or mobile, the program goes to the device action
subroutine and executes the corresponding action (Refer Table[3.2] ).
Dr. J. J. Magdum College of Engineering, JaysingpurPage 21

Cell Phone Based Industrial Automation With Voice Acknowledgment

Table[3.2] Function of switches & mobile key

DIP switches S17 and S18 select the control sources as shown in Table [3.2.3].
Table[3.3] Control Source selection using DIP switches

The device action subroutine changes the status of the device and calls the voice
alert subroutine. The voice alert subroutine checks the device status and device name
from the source input and controls the corresponding pins of IC2. First, it selects the
voice signal for the device name. After playing that, it selects on/off status of
corresponding device as mentioned in Table [3.4]
Table [3.4] Voice Recording chart

Dr. J. J. Magdum College of Engineering, JaysingpurPage 22

Cell Phone Based Industrial Automation With Voice Acknowledgment

If you press * key followed by the device number on your mobile handset, it
will not change the status of that device and inform the current device status. If you
press device number followed by * key on your mobile handset, it will change the
status of that device and inform the changed device status. # key controls the voice
control subroutine and acts like a mute key. Below Table shows DTMF mobile value.
Table [3.5]DTMF Value of Mobile

3.3 Relay Driver:


Relays are components which allow a low-power circuit to switch a relatively
high current on and off, or to control signals that must be electrically isolated from the
controlling circuit itself. Newcomers to electronics sometimes want to use a relay for
this type of application, but are unsure about the details of doing so. Here a quick
rundown. To make a relay operate, you have to pass a suitable pull-in and holding.
Current through its energising coil. And generally relay coils are designed to operate
from a particular supply voltage .often 12V or 5V, in the case of many of the small
relays used for electronics work.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 23

Cell Phone Based Industrial Automation With Voice Acknowledgment

In each case the coil has a resistance which will draw the right pull-in and
holding currents when its connected to that supply voltage. So the basic idea is to
choose a relay with a coil designed to operate from the supply voltage you.re using for
your control circuit (and with contacts capable of switching the currents you want to
control), and then provide a suitable .relay driver. Circuit so that your low-power
circuitry can control the current through the relays coil. Typically this will be
somewhere between 25mA and 70mA. Often your relay driver can be very simple,
using little more than an NPN or PNP transistor to control the coil current. All your
low-power circuitry has to do is provide enough base current to turn the transistor on
and off, as you can see from diagrams A and B.
In A, NPN transistor Q1 (say a BC337 or BC338) is being used to control a
relay (RLY1) with a 12V coil, operating from a +12V supply. Series base resistor R1 is
used to set the base current for Q1, so that the transistor is driven into saturation (fully
turned on) when the relay is to be energised. That way, the transistor will have minimal
voltage drop, and hence dissipate very little power .as well as delivering most of the12V
to the relay coil. How do you work out the value of R1? Its not hard. Let. Easy RLY1
needs 50mA of coil current to pull in and hold reliably, and has a resistance of 240W so
it draws this current from 12V. Our BC337/338 transistor will need enough base current
to make sure it remains saturated at this collector current level.
To work this out, we simply make sure that the base current is greater than this
collector current divided by the transistors minimum DC current gain hFE. So as the
BC337/338 has a minimum hFE of 100 (at 100mA), we need to provide it with at least
50mA/100 = 0.5mA of base current. In practice, you. give it roughly double this value,
say 1mA of base current, just to make sure it does saturate. So if your control signal Vin
was switching between 0V and +12V, you. Give R1 a value of say 11kW, to provide the
1mA of base current needed of to turn on both Q1 and the relay. Below Figure [3.3.1]
shows pin-out diagram of uln2003 & Figure [3.3.2] shows specific hardware of relays.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 24

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure[3.3.1] pin-out Diagram of uln2003

Figure [3.3.2] Specific Hardware Relay


3.4 APR33A3 Voice Recording & Playback:The aPR33A series are powerful audio processor along with high performance
audio analog-to-digital converters (ADCs) and digital-to-analog converters (DACs).
The aPR33A series are a fully integrated solution offering high performance and
unparalleled integration with analog input, digital processing and analog output
functionality.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 25

Cell Phone Based Industrial Automation With Voice Acknowledgment

The aPR33A series incorporates all the functionality required to perform


demanding audio/voice applications. High quality audio/voice systems with lower billof-material costs can be implemented with the aPR33A series because of it integrated
analog data converters and full suite of quality-enhancing features such as sample-rate
convertor. In fixed 1/ 2/ 4/ 8 message mode (C2.0), user can divide the memory
averagely for 1, 2, 4 or 8message(s). The message mode Figure[3.4.2] will be applied
after chip reset by the MSEL0 and MSEL1 pin.
Please note the message should be recorded and played in same message mode,
we CAN NOT guarantee the message is complete after message mode changed. For
example, user recorded 8messages in the 8-message mode, those messages can be
played in 8-message mode only. If user changed to 1, 2 or 4 message mode, system will
discard those messages. Figure[3.4.1] shows pin-out Diagram of APR33A3.

Figure[3.4.1] Pin-out Diagram of APR33A3


3.4.1 8-Message mode
The memory will be divided to 8 messages averagely when both MSEL0 and
MSEL1 pin float after chip reset. Figure [3.4.2] shows 8 message modes.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 26

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.2] Diagram of 8 Massage mode

3.4.2 Record Massage


During the /REC pin drove to VIL, chip in the record mode. When the message
pin (M0, M1, M2 M7) drove to VIL in record mode, the chip will playback beep
tone and message record starting. The message record will continue until message pin
released or full of this message, and the chip will playback beep tone 2 times to
indicate the message record finished. If the message already exist and user record again,
the old ones message will be replaced. The following fig. showed a typical record
circuit for 8-message mode. We connected a slide-switch between /REC pin and VSS,
and connected 8 tact-switches between M0 ~ M7 pin and VSS. When the slide-switch
fixed in VSS side and any tact-switch will be pressed, chip will start message recorded
until the user releases the tact-switch. Figure [3.4.3] shows recording massage.
Note: After reset, /REC and M0 to M7 pin will be pull-up to VDD by internal resistor

Dr. J. J. Magdum College of Engineering, JaysingpurPage 27

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.3] Diagram of Recording Massage

3.4.3Playback Massage
During the /REC pin drove to VIH, chip in the playback mode. When the
message pin (M0, M1, M2 M7) drove from VIH to VIL in playback mode, the
message playback starting. The message playback will continue until message pin drove
from VIH to VIL again or end of this message. The following fig. showed a typical
playback circuit for 8-message mode. We connected a slide-switch between /REC and
VSS, and connected 8 tact-switches between M0 ~ M7 and VSS. When the slide-switch
fixed in float side and any tact-switch will be pressed, chip will start message playback
and until the user pressed the tact-switch again or end of message. Figure[3.4.4] shows
Playback massage.
Note: After reset, /REC and M0 to M7 pin will be pull-up to VDD by internal resistor.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 28

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.4] Diagram of Playback Massage

3.4.4 Voice Input


The aPR33A series supported single channel voice input by microphone or linein. The following figure [3.4.5] show circuit for different input methods: microphone,
line-in and mixture of both.

Figure [3.4.5] Diagram of Voice input


3.4.5 Reset:
APR33A series can enter standby mode when RSTB pin drive to low.
During chip in the standby mode, the current consumption is reduced to ISB and any
operation will be stopped, user also cannot execute any new operate in this mode. The
standby mode will continue until RSTB pin goes to high, chip will be started to initial,
and playback beep tone to indicate enter idle mode. User can get less current
consumption by control RSTB pin specially in some application which concern standby
current. Figure[3.4.6] shows reset diagram.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 29

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.6] Diagram of Reset


3.4.6 Head phone
Voice acknowledgement is provided by the APR33A3 (IC2). It is a single-chip
voice recording and playback device that can record and play multiple messages at
random or in sequential mode for 60 seconds. The user can select sample rates with
corresponding quality recording lengths. Microphone amplifier, automatic gain control
(AGC) circuits, internal anti aliasing filter, internal output amplifier and message
management are some of the features of the APR33A3.Here the APR33A3 is
configured in random-access mode, which supports two, four and eight messages of
fixed durations. The length of each message is the total recording length available
divided by the total number of memory segments/tracks enabled. Audio processor
APR33A3 can store up to eight voice messages.
Port P0 pins and P2.7 are configured to communicate with IC2. Port P0 pins
trigger selection of the message.pin P2.7 is the input signal to identify whether the voice
message is playing or not. Pins P3.0 through P3.5 of Port P3 control the devices with
the help of relays RL1 through RL6 via relay driver IC4.A speaker is connected to IC2
for audio output. The speaker output drives the mic input of the mobile for audio
acknowledgement. An electrets microphone MIC1 is connected to IC2 to record the
voice in IC2. LED2 flashes to show the busy status of IC2 during recording and
playback. The audio messages to be recorded in APR33A3, by using trigger switches S9
through S16, are shown in Table III. SPST switch S19 is closed for recording and
switch S19 is opened for playback. Figure[3.4.7] The mobile handset consist 4 pin left,
right, MIC, ground. In our Project we use 3 pin.

:
Dr. J. J. Magdum College of Engineering, JaysingpurPage 30

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.7] Headphone


To record the voice in IC2, follow Table III. Close SPST switch S19 to make
pin 27 of IC2 low. Thereafter, press and hold switches S9 through S16 to record
corresponding voice messages. LED2 flashes to indicate audio recording. For playback
of any device status, open SPST switch S19 and press the corresponding switch (S9
through S16). The recorded audio can be heard from the speaker connected to pins 14
and 15 of IC2. Figure [3.3.7] shows the pin configuration of mobile headset.
3.5 Regulator:The KA78XX/KA78XXA series of three-terminal positive regulator are
available in the TO-220/D-PAK package and with several fixed output voltages, making
them useful in a wide range of applications. Each type employs internal current
limiting, thermal shut down and safe operating are a protection, making it essentially
indestructible. If adequate heat sinking is provided, they can deliver over 1A output
current. Although designed primarily as fixed voltage regulators, these devices can be
used with external components to obtain adjustable voltages and currents. Below
Figure[3.4.1] shows Regulator.

Figure [3.5.1] Regulator

3.6 AND Gate:IC 78LS08 contains Four AND Gate we use two AND Gate in our
project.Output of AND Gate gives to the micro contrpller.AND Gate output obtain at
pin na 6 these Output gives to the micro controller.Below Figure[3.5.1] shows pin-out
of AND Gate.
Dr. J. J. Magdum College of Engineering, JaysingpurPage 31

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.6.1] Pin-out of AND Gate

3.7 PCB LAYOUT


3.7.1 PCB Making
When the master diagram portable twice the size of real PCB has been evolved,
the text major step consists of etching or dissolving the unwanted metal from copper
clad board to create the circuit as depicted by master diagram. It must be stressed that
very accurate checking of master is essential at this stage. Then the ,master point is
mounted on a special frame on easy facing of a larger camera and with the aid of the
very powerful illumination a master diagram clearly photographic negative. Next so
called step and repeat camera is brought into operation. This comprises the camera
body mounted so that side ways after each exposure. In this way no. of copies of the
original master diagram is set out exactly to cover slandered sheet of copper clad
laminate laboratory method of making PCB. In case of simple and need of number of
less PCB, economic and advisable to use the following lab method of PCB.
Figure[3.7.1] Shows layout of Power supply & three phase sensing , Figure[3.7.2]
Shows layout of Relay Driver & Figure[3.7.3] Shows layout of Microcontroller.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 32

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure[3.7.1] layout of power supply &three phase sensing circuit

Figure[3.7.2] layout of Relay driver circuit

Figure[3.7.3] Layout of Microcontroller circuit

Dr. J. J. Magdum College of Engineering, JaysingpurPage 33

Cell Phone Based Industrial Automation With Voice Acknowledgment

3.7.2 Cleaning the board


The copper side of the board must be thoroughly cleaned before circuit plan is
transferred to it. This is very important because even slightest trace of graze (from
figure of instance) will impure the etching process and when the circuit plan has been
neatly transferred to copper in this manner the board is held under the , running tap and
the allowed to dry before resist is applied.
3.7.3 Transforming the plan
Now, once cleaning is done plan has to transfer on copper surface of PCB
material. A convenient way to do this is simply put a carbon paper between a copper
surface of the board and working planned carefully trace the lines of original plan with
a ball pen.
3.7.4 Resist
Resist is nothing more than a substrate that is unaffected by presence etching
chemicals. It is usually colour so that it can be easily seen the copper surface. When
plan is clearly worked on clean copper the a that are to be left in fact as the copper
conductors must be covered when resists the leaguer type of paints possess good resist
properties but disadvantages of relatively long time taken for drying. It is essential to
resist through hardening before etching is started. Nail polished are better as they
quickly and are less difficult to remove.
To overcome this drying effect and to achieve the sharp edges of the trace on
PCB. Now-a-days etching taps along with IC pads are commonly used. To this, chances
of short circulating due to paints are completely the avoid etching tapes and pads are
available in different sizes.
3.7.5 Correcting errors
When a result has been thoroughly hardened any errors that have been made can
usually be corrected by gently scratching away with knife. To ensure clear out lines
round edges of copper conductors on board the resist must be applied with steady band.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 34

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure[3.7.4]Before Etching Microcontroller PCB

3.7.6 Etching
Next comes etching of unwanted copper and whether a small single is all that is
required as quantity of board to be produce certain precautions must be taken before
operation is commenced the most used etch anti ferric chloride and to this is added
small quantity of HCL to accelerate. But not critical as lab construction is concerned .
Mixing 10 grams of ferric chloride and 25 grams of HCl with 15 grams of water
produce a good etchant.
Small plastic bath is ideal for storing the etchant process. The depth of liquid must be
sufficient to incomplete, the laminated board carrying the resist pattern circuit is then
dropped into etchant bath and the gentle agitation takes 5 to 20 minutes to complete
depending on the strength of the etchant temperature of copper foil.[2]

Figure[3.7.5] After Etching Microcontroller PCB

Dr. J. J. Magdum College of Engineering, JaysingpurPage 35

Cell Phone Based Industrial Automation With Voice Acknowledgment

Below Figure [3.7.6] shows specific hardware of our project

Figure [3.7.6] Specific Hardware of project

3.8APPLICATION
3.8.1 DC motor
A DC motor is any of a class of electrical machines that converts direct current
electrical power into mechanical power. The most common types rely on the forces
produced by magnetic fields. Nearly all types of DC motors have some internal
mechanism, either electromechanical or electronic, to periodically change the direction
of current flow in part of the motor. Most types produce rotary motion; a linear motor
directly produces force and motion in a straight line. DC motors were the first type
widely used, since they could be powered from existing direct-current lighting power
distribution systems. A DC motor's speed can be controlled over a wide range, using
either a variable supply voltage or by changing the strength of current in its field
windings. Small DC motors are used in tools, toys, and appliances. The universal motor
can operate on direct current but is a lightweight motor used for portable power tools
Dr. J. J. Magdum College of Engineering, JaysingpurPage 36

Cell Phone Based Industrial Automation With Voice Acknowledgment

and appliances. Larger DC motors are used in propulsion of electric vehicles, elevator
and hoists, or in drives for steel rolling mills. The advent of power electronics has made
replacement of DC motors with AC motors possible in many applications.

Figure [3.8.1] DC Motor


Principle:
When a rectangular coil carrying current is placed in a magnetic field, a torque
acts on the coil which rotates it continuously. When the coil rotates, the shaft attached to
it also rotates and thus it is able to do mechanical work.
Specifications:
Switching power supply output current shail be not less than the motor peak
current; through AVI terminals can be governor does not need, it can short VDC & then
motor running at rated speed; DIR terminals can be controlled the motor rotation
direction, when switch off, the motor anti-clockwise rotation, when linking-up, the
motor rotating clockwise.
Advantages:

Dr. J. J. Magdum College of Engineering, JaysingpurPage 37

Cell Phone Based Industrial Automation With Voice Acknowledgment

Besides their high reliability and safety combined with long periods without
requiring maintenance, WEG DC motors have important characteristics that make them
stand out in the industry:
Wide range of speed variation
Dimensions according to ABNT and IEC
Low weight / power ratio
High efficiency
Low noise level
Low moment of inertia
High capacity for dynamic loads
Robust construction
High resistance to vibration
Excellent commutation quality
3.8.2 Fan
Principles of Cooling
Cooling the Human Body
Your body can cool down through three processes: convection, radiation, and
per- spiration. Ventilation enhances all these processes. Convection occurs when heat is
carried away from your body via moving air. If the surrounding air is cooler than your
skin, the air will absorb your heat and rise. As the warmed air rises around you, cooler
air moves in to take its place and absorb more of your warmth. The faster this
convicting air moves, the cooler you feel. Radiation occurs when heat radiates across
the space between you and the objects in your home. If objects are warmer than you are,
heat will travel toward you. Removing heat through ventila-tionreduces the temperature
of the ceiling, walls, and furnishings. The cooler your surroundings, he less heat youll
attract, and the more of your own excess heat youll lose. Perspiration can be
uncomfortable, and many people would prefer to stay cool without it. However, during
hot weather and physical exercise, perspiration is the bodys powerful cooling

Dr. J. J. Magdum College of Engineering, JaysingpurPage 38

Cell Phone Based Industrial Automation With Voice Acknowledgment

Mechanism

Figure [3.8.2] Fan


Window and Exhaust Fans
Window fans are best used in windows facing the prevailing wind or away from
it to provide cross-ventilation. Window fans augment any breeze or create a breeze
when the air is still. If the wind direction changes frequently in your area, use
reversible-type window fans so you can either pull air into the home or push air out,
depending on which way the wind blows. Experiment with positioning the fans in
different windows to see which arrangement gives the best cooling effect. In a larger
house, consider installing a window fan that blows air in through a lower- level window
in a cool area and another window fan that blows air out through a higher-level window
in a hotter area .Use exhaust fans in the kitchen and bath.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 39

Cell Phone Based Industrial Automation With Voice Acknowledgment

4.1 Software of project:To overcome the above said drawbacks we are here proposing the then solution
by which we can achieve our goal. The block diagram of our proposed system is
shown below in figure 1 which is based on embedded system and mobile
technology. Flow chart showing how mobile based device remote control with voice
acknowledgment works. After getting the input from decoder conditional block will
check the option, if it is true then get the numeric input for that option and
according it will perform the operation and if input is wrong, system will get
another input option.
The technology used here is embedded system with mobile technology
which is future of todays modern electronics. Microcontroller is used here for
centralized operation and digital processing. A microcontroller can be considered a
self-contained system with a processor, memory and peripherals and can be used as
an embedded system.
We has also incorporated a special feature of voice acknowledgment with the
help of APR9600. The APR9600 device offers true single-chip voice recording,
non-volatile storage, and playback capability for 40 to 60 seconds. Thus the project
has become more users friendly and also efficient. The care has been taken while

Dr. J. J. Magdum College of Engineering, JaysingpurPage 40

Cell Phone Based Industrial Automation With Voice Acknowledgment

developing its hardware and software part that it should be compatible with any
kind of mobile handset.

Figure [4.1] Flow Chart


Flowchart showing how the Mobile Based Device Remote Control with voice
Acknowledgment

Dr. J. J. Magdum College of Engineering, JaysingpurPage 41

Cell Phone Based Industrial Automation With Voice Acknowledgment

4.2 SOFTWARE OVERVIEW:

4.2.1 PROTUES Software:

It is a simulation program for electronics devices and components .

Just design your project and test it on PROTUES.

It is trusted and reliable.

ARES software for layout

4.2.2 MCU-IDE 8051:

It is the software for run the program which is in the assembly language.
Create the hex file using this software.
Then burn the hex file into microcontroller by flash magic software.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 42

Cell Phone Based Industrial Automation With Voice Acknowledgment

Conclusion:
The cell phone-based device control with voice acknowledgement is an
excellent device to operate any electronic equipment from miles away as the mobile
technology is becoming advanced day by day; it is used for much other application as
device control. As mobile service is used by everyone these days, this system will be
very much useful in rural areas as well the device control can be applied in every field
like agriculture, home, factories etc. The use of mobile communication in device control
has been thoroughly justified and the previous drawbacks and problems have been
overcome.
The project Development of Cell-phone Based Device Control with Voice
Acknowledgement" an effective switching system for controlling home and industrial
appliances. The cell phone-based device control with voice acknowledgement is an
excellent device to operate any electronic equipment from miles away as the mobile
technology is becoming advanced day by day; it is used for much other application as
device control. As mobile service is used by everyone these days, this system will be
very much useful in rural areas as well the device control can be applied in every field
like agriculture, home, factories etc. The use of mobile communication in device control
has been thoroughly justified and the previous drawbacks and problems have been
overcome.
The project Development of Cell-phone Based Device Control with Voice
Acknowledgement" an effective switching system for controlling home and office
appliances. has been successfully designed and tested. It has been developed by
integrating features of all the hardware components used. Presence of every module has
been reasoned out and placed carefully thus contributing to the best working of the unit.
Secondly, using highly advanced ICs and with the help of growing technology the
project has been successfully implemented.
Finally we conclude that CELL-PHONE BASED WIRELESS HOME
APPLIANCES MONITORING AND CONTROL is an emerging field and there is a
huge scope for research and development .In the process of realizing this project, the
construction was initially carried out on a breadboard to allow for checking and to
ascertain that it is functioning effectively. All irregularities were checked then tested
and found to have a satisfactory output. Here is a circuit that lets you operate your home
appliances like lights and water pump from your office or any other remote place. So if
you forgot to switch off the lights or other appliances while going out, it helps you to
turn off the appliance with your cell phone. Your cell phone works as the remote control
for your home appliances. You can control the desired appliance by pressing the

Dr. J. J. Magdum College of Engineering, JaysingpurPage 43

Cell Phone Based Industrial Automation With Voice Acknowledgment

corresponding key. The system also gives you voice acknowledgement of the appliance
status.

Future Scope
Video Calling: In future we can add video facility to our circuit. It will be an
advanced way like video conferencing. Along with the reply as a voice we
will get the visual status of condition of the devices. Also if anybody is
misusing our device we can immediately make it off. Means for security
purpose also we can use it. It will be applicable in home, offices, industry,
and our vehicle parking system, agriculture also.
Alarm Facility: Alerts user on occurrence of any abnormal conditions like
power failure, parameters exceeding prescribed limits, Voice Operated
System: A system is developed for remote monitoring and control of devices
using mobile through spoken command.
Use of Robots: In this the static circuitry will be replaced by the Robots
which will be controlled through commands given remotely by mobile. This
will be major step in automation and will have tremendous future scope of
development and applications.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 44

Cell Phone Based Industrial Automation With Voice Acknowledgment

References:

Book reference: The 8051 Microcontroller and Embedded Systems By Muhammad Ali Mazidi and
Janice Gillispie Mazidi. Pearson Education.
Journal paper: Author Namely Avigayan Datta Gupta , Sayan Samanta, Avishek Acharjee (ISSN
2250-2459, Volume 2, Issue 10, October 2012) Cell phone Based Industrial
Automation With Voice Acknowledgement.
Author Namely Tujappa M. Ladwa, Sanjay M.Ladwa R. Sudharshan kaarthik,alok
ranjan Dhara, Nayan Dalei (ICICI-BME 2009 Bandung, Indonesia) describes Control
of Remote Domestic System Using DTMF
Author Namely Abdweli Abdillahi SouFi , Abdirasoul jabar Alzubai2 (International
Journal of Computational Engineering Research||Vol, 03||Issue, 8|| ||Issn2250-3005 || ||
August||2013|| Page 45) Remote Control System through Mobile and DTMF
Author namely S. L. Haridas, A. P. Bagade, P. R. Indurkar (National Conference
INDIN 2008, July 2008) describes Development of a Mobile Based Device Remote
Control with Voice Acknowledgment
Kamrul Hassan1, Raziul Islam Siddiqui2, Md. Takdirul Islam3, Nahid Alam Siddique4,
Syed Mohammad Enam Uddin5 (International Journal of Advancements in Research &
Technology, Volume 2,
Issue2, Feb ruary-2013 , ISSN 2278-7763) GSM Based
Automatic Motor Control and Protection System

WEBSITES:1. http://www.zarlink.com
2. http://www.worldofmcu.com/2012/12/dual-tone-multiple-frequency
3. http://en.wikipedia.org/wiki/Automation

Dr. J. J. Magdum College of Engineering, JaysingpurPage 45

Cell Phone Based Industrial Automation With Voice Acknowledgment

DATA SHEETS
P89V51RD2
8-bit 80C51 5 V low power 64 kB Flash microcontroller with 1 kB RAM
1. General description
The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash and 1024 bytes
of data RAM.A key feature of the P89V51RD2 is its X2 mode option. The design
engineer can choose to run the application with the conventional 80C51 clock rate (12
clocks per machine cycle) or select the X2 mode (6 clocks per machine cycle) to
achieve twice the throughput at the same clock frequency. Another way to benefit from
this feature is to keep the same performance by reducing the clock frequency by half,
thus dramatically reducing the EMI.
The Flash program memory supports both parallel programming and in serial
In-System Programming (ISP). Parallel programming mode offers gang-programming
at high speed, reducing programming costs and time to market. ISP allows a device to
be reprogrammed in the end product under software control. The capability to
field/update the application firmware makes a wide range of applications possible. The
P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash program
memory to be reconfigured even while the application is running.
2. Features
80C51 Central Processing Unit
5 V Operating voltage from 0 to 40 MHz
64 kB of on-chip Flash program memory with ISP (In-System Programming)
and IAP (In-Application Programming)
Supports 12-clock (default) or 6-clock mode selection via software or ISP
SPI (Serial Peripheral Interface) and enhanced UART

PCA (Programmable Counter Array) with PWM and Capture/Compare


functions
Four 8-bit I/O ports with three high-current Port 1 pins (16 mA each)
Three 16-bit timers/counters
Programmable Watchdog timer (WDT)
Eight interrupt sources with four priority levels
Second DPTR register
Low EMI mode (ALE inhibit)
TTL- and CMOS-compatible logic levels
Philips Semiconductors P89V51RD2
8-bit microcontrollers with 80C51 core
Dr. J. J. Magdum College of Engineering, JaysingpurPage 46

Cell Phone Based Industrial Automation With Voice Acknowledgment

Product data Rev. 01 01 March 2004 2 of 75

Brown-out detection
Low power modes
Power-down mode with external interrupt wake-up
Idle mode
PDIP40, PLCC44 and TQFP44 packages

3. Ordering information
3.1 Ordering options
Table 1: Ordering information
Type number Package Version
Name Description
P89V51RD2FA PLCC44 plastic leaded chip carrier; 44 leads SOT187-2
P89V51RD2FBC TQFP44 plastic thin quad flat package; 44 leads SOT376-1
P89V51RD2BN PDIP40 plastic dual in-line package; 40 leads SOT129-1

Table 2: Ordering options


Type number Temperature range Frequency
P89V51RD2FA-40 C to +85 C 0 to 40 MHz

Dr. J. J. Magdum College of Engineering, JaysingpurPage 47

Cell Phone Based Industrial Automation With Voice Acknowledgment

Dr. J. J. Magdum College of Engineering, JaysingpurPage 48

Cell Phone Based Industrial Automation With Voice Acknowledgment

aPR33A1 / aPR33A2 / aPR33A3


Fixed 1/ 2/ 4/ 8 Message Mode (C2.0)
Datasheet Recording voice IC
Integrated Circuits Inc. aPR33A1/aPR33A2/aPR33A3
FEATURES
Operating Voltage Range: 3V ~ 6.5V
Single Chip, High Quality Audio/Voice Recording & Playback Solution
No External ICs Required
Minimum External Components
User Friendly, Easy to Use Operation
Programming & Development Systems Not Required
170/ 340/ 680 sec. Voice Recording Length in aPR33A1/aPR33A2/aPR33A3
Powerful 16-Bits Digital Audio Processor.
Non volatile Flash Memory Technology
No Battery Backup Required
External Reset pin.
Powerful Power Management Unit
Very Low Standby Current: 1uA
Low Power-Down Current: 15uA
Supports Power-Down Mode for Power Saving
Built-in Audio-Recording Microphone Amplifier
No External OPAMP or BJT Required
Easy to PCB layout
Configurable analog interface
Differential-ended MIC pre-amp for Low Noise
High Quality Line Receiver
High Quality Analog to Digital and PWM module
Resolution up to 16-bits
Simple And Direct User Interface
Averagely 1,2,4 or 8 voice messages record & playback
DESCRIPTION
Todays consumers demand the best in audio/voice. They want crystal-clear
sound wherever they are in whatever format they want to use. APLUS delivers the
technology to enhance a listeners audio/voice experience.
The aPR33A series are powerful audio processor along with high performance
audio analog-to-digital converters (ADCs) and digital-to-analog converters (DACs).
The aPR33A series are a fully integrated solution offering high performance and
unparalleled integration with analog input, digital processing and analog output
functionality. The aPR33A series incorporates all the functionality required to perform
demanding audio/voice applications. High quality audio/voice systems with lower billof-material costs can be implemented with the aPR33A series because of its integrated
analog data converters and full suite of quality-enhancing features such as sample-rate
Convertor. The aPR33A series C2.0 is specially designed for simple key trigger, user
can record and playback the message averagely for 1, 2, 4 or 8 voice message(s) by
Dr. J. J. Magdum College of Engineering, JaysingpurPage 49

Cell Phone Based Industrial Automation With Voice Acknowledgment

switch, It is suitable in simple interface or need to limit the length of single message,
e.g. toys, leave messages system, answering machine etc. Meanwhile, this mode
provides the power-management system. Users can let the chip enter power-down mode
when unused. It can effectively reduce electric current consuming to 15uA and increase
the using time in any projects powered by batteries. Integrated Circuits Inc.
aPR33A1/aPR33A2/aPR33A3

ABSOLUTE MAXIMUM RATINGS


Symbol Rating Unit
VDD VSS -0.3 ~ +10.0 V
VIN VSS-0.3 < VIN < VDD+0.3 V
VOUT VSS < VOUT < VDD V
T(Operating) -40 ~ +85
T(Junction) -40 ~ +125
T(Storage) -40 ~ +125

Dr. J. J. Magdum College of Engineering, JaysingpurPage 50

Cell Phone Based Industrial Automation With Voice Acknowledgment

DC CHARACTERISTICS
Symbol Parameter Min. Typ. Max. Unit Conditions
VDD Operating Voltage 3.0 6.5V
ISB Standby Current 1A
IPDN Power-Down Current 15 20A
IOP(IDLE) Operating Current (Idle)20 mAVDD = 5V
IOP(REC) Operating Current (Record) 35 mA VDD = 5V
IOP(PLAY) Operating Current (Playback) 25 mA VDD = 5V
VIH "H" Input Voltage 2.5 V
VIL "L" Input Voltage 0.6 V
IVOUT VOUT Current185 mA
IOH O/P High Current 8 mA VDD = 5V /VOH=4.5V
IOL O/P Low Current 14 mA VDD = 5V / VOH=0.5V
RNPIO Input pin pull-down resistance
300 K
External floating or drive low.
1M
External drive high.
RUPIO Input pin pull-up resistance 4.7K
Fs/FsFrequency stability 5 % VDD = 5V 1.0V
Fc/Fc Chip to chip Frequency Variation 5 %

MT8870D/MT8870D-1
ISO2-CMOS Integrated DTMF Receive
Dr. J. J. Magdum College of Engineering, JaysingpurPage 51

Cell Phone Based Industrial Automation With Voice Acknowledgment

Features
Complete DTMF Receiver
Low power consumption
Internal gain setting amplifier
Adjustable guard time
Central office quality
Power-down mode
Inhibit mode
Backward compatible with MT8870C/MT8870C-1
Applications
Receiver system for British Telecom (BT) or
CEPT Spec (MT8870D-1)
Paging systems
Repeater systems/mobile radio
Credit card systems
Remote control
Personal computers
Telephone answering machine
The MT8870D/MT8870D-1 is a complete DTMF receiver integrating both the band
split filter and digital decoder functions. The filter section uses switched capacitor
techniques for high and low group filters; the decoder uses digital counting techniques
to detect and decode all 16 DTMF tone-pairs into a 4-bit code.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 52

Cell Phone Based Industrial Automation With Voice Acknowledgment

Decoder Section
Following the filter section is a decoder employing digital counting techniques
to determine the frequencies of the incoming tones and to verify that they correspond to
standard DTMF frequencies. A complex averaging algorithm protects against tone
simulation by extraneous signals such as voice while providing tolerance to small
frequency deviations and variations. This averaging algorithm has been developed to
ensure an optimum combination of immunity to talk-off and tolerance to the presence of
interfering frequencies (third tones) and noise. When the detector recognizes the
presence of two valid tones (this is referred to as the signal condition in some
industry specifications) the Early Steering (ESt) output will go to an active state. Any
subsequent loss of signal condition will cause ESt to assume an inactive state (see
Steering Circuit).
Basic Steering Circuit
Steering Circuit
Before registration of a decoded tone pair, the receiver checks for a valid signal
duration (referred to as character recognition condition). This check is performed by an
external RC time constant driven by ESt.A logic high on EStcausesvc (see Figure 4) to
rise as the capacitor discharges. Provided signal condition is maintained (ESt remains
high) for the validation period (tGTP), vc reaches the threshold (VTSt) of the steering
logic to register the tone pair, latching its corresponding 4-bit code (see Table 1) into the
output latch. At this point the GT output is activated and drives vc to VDD. GT
continues to drive high as long as ESt remains high. Finally, after a short delay to allow
the output latch to settle, the delayed steering output flag (StD) goes high, signalling
that a received tone pair has been registered. The contents of the output latch are made
available on the 4-bit output bus by raising the three state control input (TOE) to a logic
high. The steering circuit works in reverse to validate the interdigit pause between
signals. Thus, as well as rejecting signals too short to be considered valid, the receiver
will tolerate signal interruptions (dropout) too short to be considered a valid pause. This
facility, together with the capability of selecting the steering time constants externally,
allows the designer to tailor performance to meet a wide variety of system
requirements.
Power-down and Inhibit Mode
A logic high applied to pin 6 (PWDN) will power down the device to minimize
the power consumption in a standby mode. It stops the oscillator and the functions of
the filters. Inhibit mode is enabled by a logic high input to the pin 5 (INH). It inhibits
the detection of tones representing characters A, B, C, and D. The output code will
remain the same as the previous detected code (see Table 1).
Differential Input Configuration
The input arrangement of the MT8870D/MT8870D-1 provides a differentialinput operational amplifier as well as a bias source (VRef) which is used to bias the
inputs at mid-rail. Provision is made for connection of a feedback resistor to the op-amp
output (GS) for adjustment of gain. In a single-ended configuration, the input pins are
connected as shown in Figure 10 with the op-amp connected for unity gain and VRef
biasing the input at 1/2VDD.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 53

Cell Phone Based Industrial Automation With Voice Acknowledgment

Crystal Oscillator
The internal clock circuit is completed with the addition of an external 3.579545
MHz crystal and is normally connected as shown in Figure 10 (Single-Ended Input
Configuration). However, it is possible to configure several MT8870D/MT8870D-1
devices employing only a single oscillator crystal. The oscillator output of the first
device in the chain is coupled through a 30 pF capacitor to the oscillator input (OSC1)
of the next device. Subsequent devices are connected in a similar fashion. The problems
associated with unbalanced loading are not a concern with the arrangement shown, i.e.,
precision balancing capacitors are not required.
Absolute Maximum Ratings1
2
3
4
5

Parameter
DC power Supply
Voltage
Voltage on any pin
Current at any Pin
Storage Temperature
Package
Power
dissipation

Symbol
VDD

Min

Max
7

Units
V

VI
II
TSTG
PD

VSS-0.3

VDD+0.3
10
+150
500

V
mA
C
mW

-65

Recommended Operating Condition1


2
3
4

Parameter
DC
Power
Supply Voltage
Operating
Temperature
Crystal/Clock
Frequency
Crystal/Clock
Frequency
Tolerance

Symbol
VDD

Min.
4.75

TO

-40

Type
5.0

Max.
5.25

Units
V

+85

Fc

3.5795

MHz

fc

+-0.1

Dr. J. J. Magdum College of Engineering, JaysingpurPage 54

Cell Phone Based Industrial Automation With Voice Acknowledgment

Relay Driver IC (ULN2003)


In A, NPN transistor Q1 (say a BC337 or BC338) is being used to control a
relay (RLY1) with a 12V coil, operating from a +12V supply. Series base resistor R1 is
used to set the base current for Q1, so that the transistor is driven into saturation (fully
turned on) when the relay is to be energised. That way, the transistor will have minimal
voltage drop, and hence dissipate very little power .as well as delivering most of the12V
to the relay coil. How do you work out the value of R1? Its not hard .Let easy RLY1
needs 50mA of coil current to pull in and hold reliably, and has a resistance of 240W so
it draws this current from 12V. Our BC337/338 transistor will need enough base current
to make sure it remains saturated at this collector current level.
To work this out, we simply make sure that the base current is greater than this
collector current divided by the transistors minimum DC current gain hFE. So as the
BC337/338 has a minimum hFE of 100 (at 100mA), we need to provide it with at least
50mA/100 = 0.5mA of base current. In practice, you give it roughly double this value,
say 1mA of base current, just to make sure it does saturate. So if your control signal Vin
was switching between 0V and +12V, you. give R1 a value of say 11kW, to provide the
1mA of base current needed of to turn on both Q1 and the relay.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 55

Cell Phone Based Industrial Automation With Voice Acknowledgment

Absolute Maximum Rating (Ta=25C)


Characteristic
Output
Sustaining
Voltage
Output Current
Input Voltage
Clamp Diode Reverse
Voltage
Clamp Diode Forward
Current
Power Dissipation AP
AFW

Symbol
VCE(SUS)

Rating
-0.5~50

Unit
V

IOUT
VIN
VR

500
-0.5~30
50

mA/ch
V
V

IF

500

mA

Operating Temperature
Storage Temperature

PD

Topr

1.47
1.25(Note)
-40~85

Tstg

-55~150

DC Electric Characteristic-Vdd=5.0v,Vss=0v,-40C<To<+85C
Characteristics

Typ
.

Ma
x

Unit
s

Test Conditions

supply I
DDQ

10

25

uA

PWDN=V DD

Operating supply I DD
current

3.0

9.0

mA

Power
consumption

Po

15

High level input

V IH

Low level input


voltage

V IL

Input
current

IIH/II
L

0.1

Pull
up
(source)current

I SO

7.5

Pull
down(sink)curren
t

I SI

15

Input
impedance(IN+,I
N-)

R IN

10

Steering

V Tst

1
2
3

Standby
current
SUPPL
Y

INPUT
S

leakage

Sym.

Mi
n

mW

Fc=3.579545MHz

VDD=5.0V

VDD=5.0V

uA

V IN=Vss or V DD

20

uA

TOE(pin
DD=5.0V

45

uA

INH=5.0V,PWDN=5.0V,
V DD=5.0V

@1KHz

V DD= 5.0V

3.5
1.5

2.2

2.4

Dr. J. J. Magdum College of Engineering, JaysingpurPage 56

2.5

10)=0,V

Cell Phone Based Industrial Automation With Voice Acknowledgment

threshold voltage

Regulator IC 7805/06
Features
Output Current up to 1A
Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V
Dr. J. J. Magdum College of Engineering, JaysingpurPage 57

Cell Phone Based Industrial Automation With Voice Acknowledgment

Thermal Overload Protection


Short Circuit Protection

7805 IC

Dr. J. J. Magdum College of Engineering, JaysingpurPage 58

Cell Phone Based Industrial Automation With Voice Acknowledgment

7806 IC
Description
The KA78XX/KA78XXA series of three-terminal positive regulator are available in the
TO-220/D-PAK package and with several fixed output voltages, making them useful in
a wide range of applications. Each type employs internal current limiting, thermal shut
down and safe operating area protection, making it essentially indestructible. If
adequate heat sinking is provided, they can deliver over 1A output current. Although
designed primarily as fixed voltage regulators, these devices can be used with external
components to obtain adjustable voltages and currents.

Absolute Maximum Ratings


Electrical Characteristics (KA7805/KA7805R)
(Refer to test circuit, 0C < TJ < 125C, IO = 500mA, VI =10V, CI= 0.33F,
CO=0.1F, unless otherwise specified)
Note:
1. Load and line regulation are specified at constant junction temperature. Changes in
Vo due to heating effects must be taken into account separately. Pulse testing with low
duty is used.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 59

Cell Phone Based Industrial Automation With Voice Acknowledgment

IC Specification:Parameter
Input
voltage(for
V0=5Vto
18V)(for
V0=24V)
Thermal
Resistance
Junction-Cases(TO220)
Thermal
Resistance
Junction-Air(TO-220)
Operating Temperature
Range(KA78XX/A/R)
Storage Temperature
Range

Symbol
VI
VI

Value
35
40

Unit
V
V

C/W

65

C/W

TOPR

0 ~ +125

TSTG

-65 ~ +150

R JC

R JA

AND GATEIC

78LS08 contains Four AND Gate we use two AND Gate in our project.Output of AND
Gate gives to the micro contrpller.AND Gate output obtain at pin na 6 these Output
gives to the micro controller.

Dr. J. J. Magdum College of Engineering, JaysingpurPage 60

Cell Phone Based Industrial Automation With Voice Acknowledgment

Absolute Maximum Ratings:


Symbol

Parameter

Rating

Vcc
Ilk

Supply Voltage
DC Input Diode current
VI=-0.5V
VI=Vcc+0.5V

-0.5V To +7.0V

DC Input Voltage
DC Output Diode Current
V0=-0.5V
VO=Vcc+0.5V

-0.5V To Vcc+0.5V

DC Output Voltage
DC Output or Sink Current
DC Vcc or Ground Current
per Output Pin
Storage Temperature
Junction Temperature

-0.5V To Vcc+0.5
+-50mA
+-50mA

VI
IOK

V0
I0
ICC or IGND
TSTG
TJ

Dr. J. J. Magdum College of Engineering, JaysingpurPage 61

-20mA
+20mA

-20mA
+20mA

-65C to+150C
140C

Das könnte Ihnen auch gefallen