+ All Categories

Report

Date post: 21-Dec-2015
Category:
Upload: ashokupadhye1955
View: 219 times
Download: 8 times
Share this document with a friend
Description:
Report
Popular Tags:
82
Cell Phone Based Industrial Automation With Voice Acknowledgment 1.1 INTRODUCTION Present era is 24x7 running era. With its huge technological advancement in today’s 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 can’t 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. Dr. J. J. Magdum College of Engineering, JaysingpurPage 1
Transcript
Page 1: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

1.1 INTRODUCTION

Present era is 24x7 running era. With its huge technological advancement in today’s 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 can’t 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, JaysingpurPage 1

Page 2: Report

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 P89V51RD2 is also In-Application Programmable (IAP), allowing the Flash program memory to be reconfigured even while the application is running.

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

Page 3: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 bill-of-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.

2.1 Introduction:-

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

Page 4: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 low-power, 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.

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

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

Page 5: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 it’s 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, JaysingpurPage 5

Page 6: Report

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, JaysingpurPage 6

Page 7: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Table [2.1] DTMF Tone Frequency

Button Low Frequency

High Frequency

Key Frequency

1 697 1209 19062 697 1337 2034 3 697 1477 2174 4 770 1209 1979 5 770 1337 2107 6 770 1477 2247 7 852 1209 2061 8 852 1337 2189 9 852 1477 2329 0 941 1209 2150 * 941 1337 2278 # 941 1477 2418

Table [2.2]8870 DTMF output truth table

Button

Low Frequency

High Frequency

TOE Q4 Q3 Q2 Q1

1 697 1209 1 0 0 0 12 697 1336 1 0 0 1 03 697 1477 1 0 0 1 14 770 1209 1 0 1 0 05 770 1336 1 0 1 0 16 770 1477 1 0 1 1 07 852 1209 1 0 1 1 18 852 1336 1 1 0 0 09 852 1477 1 1 0 0 10 841 1209 1 1 0 1 0* 841 1336 1 1 0 1 1# 841 1477 1 1 1 0 0

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

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

Page 8: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 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 today’s 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 can’t 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.

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

Page 9: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 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. That’s 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 getFeedback 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 that’s 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 don’t 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 it’s 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”

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

Page 10: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

3.1 INTRODICTION

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)      The output voltage reduces as load current increases2)      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

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

Page 11: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 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 on1)      Polarity: positive, negative or dual2)      Fixed output or variable output3)      Required output current from 0.1 A – 5 AHere 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.33µF 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

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

Page 12: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 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 headset’s 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 operate from a particular supply voltage. Often 12V or 5V, in the case of many of thesmall relays used for electronics work. In each case the coil has a resistance which will draw the right pull-in and holding currents when it’s 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.Below Figure [3.1.3] shows Block Diagram of our project.

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

Page 13: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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

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

Select switch

P

8

9

v

5

1

R

D

2

Phase

Sensing Circuit

APR 33A3

Voice & playbackRelay Deriver

Manual Switch

Mobile

Unit

DTMF

Decoder

Power supply

Page 14: Report

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)

andIAP (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

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

Page 15: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Low power modes 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&31&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

Page 16: Report

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 ‘1’s

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 ‘1’s. 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 ‘1’s 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 thelow-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 2T2EX: Timer/Counter 2 capture/reload trigger and direction controlECI: 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 SPICEX1: Capture/compare external I/O for PCA Module 1MOSI: Master Output Slave Input for SPICEX2: Capture/compare external I/O for PCA Module2MISO: Master Input Slave Output for SPI

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

Page 17: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

CEX3: Capture/compare external I/O for PCA Module 3SCK: Master Output Slave Input for SPICEX4: 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 ‘1’s 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 ‘1’s. Port 2 also receives some control signals and a partial of high-order address bits duringthe 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 ‘1’s 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 portTXD: serial output port INT1: external interrupt 1 inputINT0: external interruptT0: external count input to Timer/Counter 0T1: external count input to Timer/Counter 1WR: external data memory write strobeRD: 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

Page 18: Report

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

Page 19: Report

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 1¤6 the crystalFrequency 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 andinput to the internal clock generator circuits.

Crystal 2: Output from the inverting oscillator amplifier.

Power supplyIn our project we use 5v power supply.

GroundV=0V

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

Page 20: Report

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

7 EA AFh Global Interrupt Enable/Disable

6 - AEh Undefined

5 - ADh Undefined

4 ES Ach Enable Serial Interrupt

3 ET1 ABh Enable Timer 1 Interrupt

2 EX1 AAh Enable External 1 Interrupt

1 ET0 A9h Enable Timer 0 Interrupt

0 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 thisfeature.

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 DescriptionThe 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. Figure[3.2.1] shows pin-out diagram of DTMF Decoder.

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

Page 21: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

3.2.2 Functional DescriptionThe 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 SectionFollowing 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 headset’s 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] ).

Table[3.2] Function of switches & mobile key

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

Page 22: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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

Page 23: Report

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.

In each case the coil has a resistance which will draw the right pull-in and holding currents when it‘s 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

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

Page 24: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

to the relay coil. How do you work out the value of R1? It’s 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.

Figure[3.3.1] pin-out Diagram of uln2003

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

Page 25: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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.

The aPR33A series incorporates all the functionality required to perform demanding audio/voice applications. High quality audio/voice systems with lower bill-of-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.

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

Page 26: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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.

Figure [3.4.2] Diagram of 8 Massage mode

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

Page 27: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

3.4.2 Record MassageDuring 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 one’s 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

Figure [3.4.3] Diagram of Recording Massage

3.4.3Playback MassageDuring 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 27

Page 28: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Figure [3.4.4] Diagram of Playback Massage

3.4.4 Voice InputThe aPR33A series supported single channel voice input by microphone or line-

in. 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:

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

Page 29: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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.

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 29

Page 30: Report

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

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

Page 31: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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.

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 31

Page 32: Report

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 32

Page 33: Report

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 33

Page 34: Report

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 34

Page 35: Report

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 35

Page 36: Report

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: 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

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

Page 37: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 CoolingCooling 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 you’ll attract, and the more of your own excess heat you’ll 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 body’s powerful cooling Mechanism

Figure [3.8.2] Fan

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

Page 38: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Window and Exhaust FansWindow 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 38

Page 39: Report

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 today’s 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 developing its hardware and software part that it should be compatible with any kind of mobile handset.

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

Page 40: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 40

Page 41: Report

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.

Conclusion:

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

Page 42: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 IC’s 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 corresponding key. The system also gives you voice acknowledgement of the appliance status.

Future Scope

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

Page 43: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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.

References:

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

Page 44: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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

DATA SHEETS

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

Page 45: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

P89V51RD2

8-bit 80C51 5 V low power 64 kB Flash microcontroller with 1 kB RAM1. 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 P89V51RD28-bit microcontrollers with 80C51 coreProduct 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

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

Page 46: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

PDIP40, PLCC44 and TQFP44 packages

3. Ordering information3.1 Ordering optionsTable 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 optionsType number Temperature range FrequencyP89V51RD2FA-40 °C to +85 °C 0 to 40 MHz

t

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

Page 47: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

aPR33A1 / aPR33A2 / aPR33A3Fixed 1/ 2/ 4/ 8 Message Mode (C2.0)Datasheet Recording voice ICIntegrated 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

DESCRIPTIONToday’s 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 listener’s 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 bill-of-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-rateConvertor. 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 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

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

Page 48: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

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 RATINGSSymbol 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 48

Page 49: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

DC CHARACTERISTICSSymbol Parameter Min. Typ. Max. Unit Conditions

VDD Operating Voltage 3.0 6.5V

ISB Standby Current 1μA

IPDN Power-Down Current 15 20μA

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.

1 M 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

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

Page 50: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

ISO2-CMOS Integrated DTMF Receive

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-1Applications• Receiver system for British Telecom (BT) orCEPT 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 50

Page 51: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Decoder SectionFollowing 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 CircuitSteering 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 remainshigh) 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 betweensignals. 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 systemrequirements.

Power-down and Inhibit ModeA 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 ConfigurationThe input arrangement of the MT8870D/MT8870D-1 provides a differential-

input 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 51

Page 52: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Crystal OscillatorThe 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 Ratings-

Parameter Symbol Min Max Units1 DC power Supply

VoltageVDD 7 V

2 Voltage on any pin VI VSS-0.3 VDD+0.3 V3 Current at any Pin II 10 mA4 Storage

TemperatureTSTG -65 +150 °C

5 Package Power dissipation

PD 500 mW

Recommended Operating Condition-

Parameter Symbol Min. Type Max. Units1 DC Power

Supply VoltageVDD 4.75 5.0 5.25 V

2 Operating Temperature

TO -40 +85 °C

3 Crystal/Clock Frequency

Fc 3.5795 MHz

4 Crystal/Clock Frequency Tolerance

Δfc +-0.1 %

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

Page 53: Report

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? It’s 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 53

Page 54: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Absolute Maximum Rating (Ta=25°C)

Characteristic Symbol Rating UnitOutput Sustaining Voltage

VCE(SUS) -0.5~50 V

Output Current IOUT 500 mA/chInput Voltage VIN -0.5~30 VClamp Diode Reverse Voltage

VR 50 V

Clamp Diode Forward Current

IF 500 mA

Power Dissipation APAFW

PD1.471.25(Note)

W

Operating Temperature

Topr -40~85 °C

Storage Temperature Tstg -55~150 °C

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

Characteristics Sym. Min

Typ.

Max

Units

Test Conditions

1

SUPPLY

Standby supply current

I DDQ

10 25 uA PWDN=V DD

2 Operating supply current

I DD 3.0 9.0 mA

3 Power consumption

P o 15 mW Fc=3.579545MHz

4

INPUTS

High level input V IH 3.5 V VDD=5.0V

5 Low level input voltage

V IL 1.5 V VDD=5.0V

6 Input leakage current

IIH/IIL

0.1 uA V IN=Vss or V DD

7 Pull up (source)current

I SO 7.5 20 uA TOE(pin 10)=0,V DD=5.0V

8 Pull down(sink)current

I SI 15 45 uA INH=5.0V,PWDN=5.0V,V DD=5.0V

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

Page 55: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

9 Input impedance(IN+,IN-)

R IN 10 MὨ @1KHz

10

Steering threshold voltage

V Tst 2.2 2.4 2.5 V V DD= 5.0V

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

Page 56: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Regulator IC 7805/06

Features• Output Current up to 1A• Output Voltages of 5, 6, 8, 9, 10, 12, 15, 18, 24V• Thermal Overload Protection• Short Circuit Protection

7805 IC

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

Page 57: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

7806 ICDescriptionThe 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 RatingsElectrical Characteristics (KA7805/KA7805R)(Refer to test circuit, 0°C < TJ < 125°C, IO = 500mA, VI =10V, CI= 0.33μF, CO=0.1μF, 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 57

Page 58: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

IC Specification:-

Parameter Symbol Value UnitInput voltage(for V0=5Vto 18V)(for V0=24V)

VIVI

3540

VV

Thermal Resistance Junction-Cases(TO-220)

Rᶿ JC5 °C/W

Thermal Resistance Junction-Air(TO-220) RᶿJA

65 °C/W

Operating Temperature Range(KA78XX/A/R)

TOPR 0 ~ +125 °C

Storage Temperature Range

TSTG -65 ~ +150 °C

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 58

Page 59: Report

Cell Phone Based Industrial Automation With Voice Acknowledgment

Absolute Maximum Ratings:

Symbol Parameter Rating

Vcc Supply Voltage -0.5V To +7.0VIlk DC Input Diode current

VI=-0.5VVI=Vcc+0.5V

-20mA+20mA

VI DC Input Voltage -0.5V To Vcc+0.5VIOK DC Output Diode Current

V0=-0.5VVO=Vcc+0.5V

-20mA+20mA

V0 DC Output Voltage -0.5V To Vcc+0.5I0 DC Output or Sink Current +-50mAICC or IGND DC Vcc or Ground Current

per Output Pin+-50mA

TSTG Storage Temperature -65°C to+150°CTJ Junction Temperature 140°C

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


Recommended