SlideShare a Scribd company logo
1 of 7
Cellphone-BasedDevice Control WithVoice Acknowledgement
AzarudeenAnifa
Here is a circuitthat letsyouoperate yourhome applianceslikelightsand
waterpumpfrom youroffice orany otherremote place.Soif youforgot to
switchoff the lightsorother applianceswhile goingout,ithelpsyoutoturn
off the appliance withyourcellphone.Yourcellphone worksasthe remote
control for yourhome appliances.Youcancontrol the desiredappliance bypressingthe
correspondingkey.The systemalsogivesyouvoice acknowledgementof the appliance status.
Circuit description
Fig.1showsthe circuit forcellphone baseddevice control withvoice acknowledgement.Itcomprises
microcontrollerAT89C51,DTMF decoderMT8870, voice recording/playbackdevice APR9600and a
fewdiscrete components.
Fig.1: Circuit for cellphone-baseddevice control
with voice acknowledgement
MicrocontrollerAT89C51 is at the heart of the circuit.It is a low-power,high-performance,8-bit
microcontrollerwith4kB of flashprogrammable anderasable read-onlymemory(PEROM) usedas
on-chipprogrammemory,128 bytesof RAMusedas internal datamemory,32 individually
programmable input/output(I/O) linesdividedintofour8-bitports,two16-bitprogrammable
timers/counters,afive-vectortwo-level interruptarchitecture,on-chiposcillatorandclockcircuitry.
A 11.0592MHz crystal (XTAL1) is used to provide basic clock frequency for the microcontroller. Capacitor C3 and resistor R3 form the power-on
reset circuit, while push-to-on switch S20 is used for manual reset.
Port pins P1.0 through P1.7 of the microcontroller are configured to get the input from push-to-on switches S1 through S8. Pins of Port P1 are pulled high via
resistor network RNW1. Port pins P2.0 through P2.4 are configured to receive the decoded DTMF signal from DTMF receiver MT8870. The functions of the
corresponding switches (S1 through S8) and cellphone keys are shown in Table I.
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 ) InDTMF receiverMT8870 (IC3),capacitorC12 is usedto
filterthe noise andresistorsR6and R7 helpto amplifythe inputsignal usingthe internal amplifier.
Pin16 of IC3 connectedtoresistorR5 providesthe earlysteeringoutput.Itgoeshighimmediately
whenthe digital algorithmdetectsavalidtone pair(signal condition).Anymomentarylossof signal
conditioncausesEStto returnto lowstate.
Pin17 of IC3 connectedtocapacitor C11 isbidirectional,actingassteeringinput/guardtime output
(St/GT).A steeringlogicVTSt detectedatSt causesthe device toregisterthe detectedtone pair.The
guard time outputresetsthe external steeringtime constant,anditsstate isa functionof ESt and
the voltage at St.
Port P3 pinsP3.6 and P3.7 of IC1 are configuredtoselectthe control source forthe devices.These
are connectedtoDIPswitchesS17 and S18 and pulledhighviaresistorsR2and R1, respectively.
Here,we are usingtwocontrol sources,switchesandmobile’skey.DIPswitchesS17and S18 select
the control sourcesas showninTable II.
Pin2.5 of Port P2 is configuredtoshowthe reststatus. That is,if none of the control sourcesis
selectedbyDIPswitchesS17and S18, LED1 glows.ResistorR14limitsthe currentthroughLED1.
Voice acknowledgementisprovidedbythe APR9600 (IC2).Itis a single-chipvoice recordingand
playbackdevice thatcan recordand playmultiple messagesatrandomorin sequential mode for60
seconds.The usercan selectsample rateswithcorresponding qualityrecordinglengths.
Microphone amplifier,automaticgaincontrol (AGC) circuits,internal anti aliasingfilter,internal
outputamplifierandmessage managementare some of the featuresof the APR9600.
Here the APR9600 isconfiguredinrandom-accessmode,whichsupportstwo,fourandeight
messagesof fixeddurations.The lengthof eachmessage isthe total recordinglengthavailable
dividedbythe total numberof memorysegments/tracksenabled.
AudioprocessorAPR9600 can store upto eightvoice messages.PortP0pinsandP2.7 are configured
to communicate withIC2.PortP0 pinstriggerselectionof the message.PortpinP2.7is the input
signal toidentifywhetherthe voice message isplayingornot.
Fig.2: Pin configuration
of mobile headset
PinsP3.0 throughP3.5 of Port P3 control the deviceswiththe helpof relaysRL1throughRL6 via
relaydriverIC4.
A speakerisconnectedtoIC2 foraudiooutput.The speakeroutputdrivesthe micinputof the
mobile foraudioacknowledgement.Anelectretmicrophone MIC1isconnectedtoIC2 to recordthe
voice inIC2. LED2 flashestoshowthe busystatusof IC2 duringrecordingandplayback.The audio
messagestobe recordedinAPR9600, byusingtriggerswitchesS9through S16, are showninTable
III.SPST switchS19 is closedforrecordingandswitchS19 isopenedforplayback.
Fig.3showsthe powersupplycircuit.The 230V ACmainsis steppeddownbytransformerX1to
deliverthe secondaryoutputof 9V,500 mA.The transformeroutputisrectifiedbyafull-wavebridge
rectifiercomprisingdiodesD1throughD4, filteredbycapacitorC16 and thenregulatedbyIC7806
(IC5).CapacitorC15 bypassesthe ripplespresentinthe regulated6V powersupply.LED3acts as a
power-onindicatorandresistorR16limitsthe currentthroughLED3.
Fig.3: Power supplycircuit
An actual-size,single-side PCBforcellphone-baseddevice control withvoice acknowledgement
is shownin Fig.4(ViewasPDF) andits componentlayoutin Fig.5(View asPDF).
Download Source code:clickhere
Recording and playback
To record the voice inIC2, followTable III.Close SPSTswitchS19to make pin27 of IC2 low.
Thereafter,pressandholdswitchesS9throughS16 to record correspondingvoice messages.LED2
flashestoindicate audiorecording.
For playbackof any device status,openSPSTswitchS19 andpressthe correspondingswitch(S9
throughS16). The recordedaudiocanbe heardfromthe speakerconnectedtopins14 and 15 of IC2.
Fig.2showsthe pin configurationof mobile headset.
Software
The program (Device_Control.BAS) forthe microcontrolleriswrittenusingBASCOMmicrocontroller
programmingsoftware.Inthe program,first,initialise the port(P0-P3) forcorrespondingcontrols.
Thereafter,declare the variablesforthe program.Afterdeclaration,assignsome initial valueto
variables.Here,microcontrollerportsare initialisedtomake all the devices‘off’initially.
Afterthat,the main functionchecksthrough‘Do’loopwhichcontrol source hasbeenenabledby
usingDIPswitchpins.If you selectswitchS17,it searchesthe inputfromthe mobile only.If you
selectswitchS18,it searchesthe inputfromthe switches(S1throughS8) only.If youenable both
switchS17 andswitchS18, itsearchesthe inputsfromswitchesandmobile.Else,the rest-status
LED1 glows.RefertoTable IIto selectthe control source.
The mobile signal isdecodedintothe DTMFsignal byIC3. The DTMF outputfor each mobile key
(usedinthisproject) pressedisshowninTable IV.
Aftergettingthe inputfromthe switchesormobile,the programgoestothe device_action
subroutine andexecutesthe correspondingaction(referTable I).
The device_actionsubroutine changesthe statusof the device andcallsthe voice_alertsubroutine.
The voice_alertsubroutinechecksthe device statusanddevice name fromthe source inputand
controlsthe correspondingpinsof IC2.First,itselectsthe voice signal forthe device name.After
playingthat,itselectson/off statusof correspondingdevice asmentionedinTable III.
If you press‘*’ keyfollowedbythe device numberonyourmobile handset,itwill notchange the
statusof that device andinformthe currentdevice status.If youpressdevice numberfollowedby‘*’
keyon yourmobile handset,itwillchange the statusof that device andinformthe changeddevice
status.‘#’ keycontrolsthe voice_control subroutine andactslike amute key.
EFY note. The source code of thisprojectis available onthe linkgivenbelow.
http://www.efymag.com/admin/issuepdf/DeviceControlWithVoiceAcknowledgement.zip
Control Home Appliances With Your Phone

More Related Content

What's hot

File 1389427052
File 1389427052File 1389427052
File 1389427052Aman_preet
 
Design and implementation of analog multipliers with IC's
Design and implementation of analog multipliers with IC'sDesign and implementation of analog multipliers with IC's
Design and implementation of analog multipliers with IC'sheyaci
 
F5 b c_g_instruction manual
F5 b c_g_instruction manualF5 b c_g_instruction manual
F5 b c_g_instruction manualToàn Huỳnh
 
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525Premier Farnell
 
SA3600 Datasheet
SA3600 DatasheetSA3600 Datasheet
SA3600 DatasheetChris Siu
 
Advanced motion controls azxb25a8
Advanced motion controls azxb25a8Advanced motion controls azxb25a8
Advanced motion controls azxb25a8Electromate
 
Advanced motion controls dq111se15a40ldc
Advanced motion controls dq111se15a40ldcAdvanced motion controls dq111se15a40ldc
Advanced motion controls dq111se15a40ldcElectromate
 
Remote accident report system for highways using rf
Remote accident report system for highways using rfRemote accident report system for highways using rf
Remote accident report system for highways using rfPRADEEP Cheekatla
 
Advanced motion controls dq111se25a20nac
Advanced motion controls dq111se25a20nacAdvanced motion controls dq111se25a20nac
Advanced motion controls dq111se25a20nacElectromate
 
Advanced motion controls az60a8ddc
Advanced motion controls az60a8ddcAdvanced motion controls az60a8ddc
Advanced motion controls az60a8ddcElectromate
 
Advanced motion controls dq111se30a40nac
Advanced motion controls dq111se30a40nacAdvanced motion controls dq111se30a40nac
Advanced motion controls dq111se30a40nacElectromate
 
Advanced motion controls azbdc20a8
Advanced motion controls azbdc20a8Advanced motion controls azbdc20a8
Advanced motion controls azbdc20a8Electromate
 
Advanced motion controls dq111se20a8bdc qd1
Advanced motion controls dq111se20a8bdc qd1Advanced motion controls dq111se20a8bdc qd1
Advanced motion controls dq111se20a8bdc qd1Electromate
 
Advanced motion controls zbh6a6
Advanced motion controls zbh6a6Advanced motion controls zbh6a6
Advanced motion controls zbh6a6Electromate
 

What's hot (20)

File 1389427052
File 1389427052File 1389427052
File 1389427052
 
Design and implementation of analog multipliers with IC's
Design and implementation of analog multipliers with IC'sDesign and implementation of analog multipliers with IC's
Design and implementation of analog multipliers with IC's
 
Remote
RemoteRemote
Remote
 
F5 b c_g_instruction manual
F5 b c_g_instruction manualF5 b c_g_instruction manual
F5 b c_g_instruction manual
 
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525
Study Of 30W Digital Audio Amplifier with Integrated ADC: CS4525
 
SA3600 Datasheet
SA3600 DatasheetSA3600 Datasheet
SA3600 Datasheet
 
Advanced motion controls azxb25a8
Advanced motion controls azxb25a8Advanced motion controls azxb25a8
Advanced motion controls azxb25a8
 
Synthesizers
SynthesizersSynthesizers
Synthesizers
 
Advanced motion controls dq111se15a40ldc
Advanced motion controls dq111se15a40ldcAdvanced motion controls dq111se15a40ldc
Advanced motion controls dq111se15a40ldc
 
Remote accident report system for highways using rf
Remote accident report system for highways using rfRemote accident report system for highways using rf
Remote accident report system for highways using rf
 
Pro final rep
Pro final repPro final rep
Pro final rep
 
Advanced motion controls dq111se25a20nac
Advanced motion controls dq111se25a20nacAdvanced motion controls dq111se25a20nac
Advanced motion controls dq111se25a20nac
 
Advanced motion controls az60a8ddc
Advanced motion controls az60a8ddcAdvanced motion controls az60a8ddc
Advanced motion controls az60a8ddc
 
Advanced motion controls dq111se30a40nac
Advanced motion controls dq111se30a40nacAdvanced motion controls dq111se30a40nac
Advanced motion controls dq111se30a40nac
 
Major project
Major projectMajor project
Major project
 
Vantage Multiswitch
Vantage MultiswitchVantage Multiswitch
Vantage Multiswitch
 
Advanced motion controls azbdc20a8
Advanced motion controls azbdc20a8Advanced motion controls azbdc20a8
Advanced motion controls azbdc20a8
 
Advanced motion controls dq111se20a8bdc qd1
Advanced motion controls dq111se20a8bdc qd1Advanced motion controls dq111se20a8bdc qd1
Advanced motion controls dq111se20a8bdc qd1
 
Atomatic light controller
Atomatic light controllerAtomatic light controller
Atomatic light controller
 
Advanced motion controls zbh6a6
Advanced motion controls zbh6a6Advanced motion controls zbh6a6
Advanced motion controls zbh6a6
 

Similar to Control Home Appliances With Your Phone

DTMF base Mobile controlled appliances control
DTMF base Mobile controlled  appliances controlDTMF base Mobile controlled  appliances control
DTMF base Mobile controlled appliances controlGopal Bardhan
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances controlPROJECTRONICS
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter docPrem Kumar
 
Monika print ppt
Monika print pptMonika print ppt
Monika print pptMonika Raja
 
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAV
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAVHOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAV
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAVGIRISH HARMUKH
 
TV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlTV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlEdgefxkits & Solutions
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Boxncct
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50Ruthvik Vaila
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...researchinventy
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Chintan Patel
 
Voltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdVoltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdHariKishore Karanapu
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYEldhose George
 
Home automation control system using dtmf technology
Home automation control system using dtmf technologyHome automation control system using dtmf technology
Home automation control system using dtmf technologyGovind Ekshinge
 
DTMF based home automation with ADRUINO
DTMF based home automation with ADRUINODTMF based home automation with ADRUINO
DTMF based home automation with ADRUINOFucck
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature ControllerSupriya Gorai
 
Remotely Secured Device Automation using Infrared
Remotely Secured Device Automation using InfraredRemotely Secured Device Automation using Infrared
Remotely Secured Device Automation using Infraredijsrd.com
 

Similar to Control Home Appliances With Your Phone (20)

Speed control of motor
Speed control of motorSpeed control of motor
Speed control of motor
 
DTMF base Mobile controlled appliances control
DTMF base Mobile controlled  appliances controlDTMF base Mobile controlled  appliances control
DTMF base Mobile controlled appliances control
 
Bluetooth based home appliances control
Bluetooth based home appliances controlBluetooth based home appliances control
Bluetooth based home appliances control
 
5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
Monika print ppt
Monika print pptMonika print ppt
Monika print ppt
 
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAV
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAVHOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAV
HOME AUTOMATION USING MOBILE PHONES GIRISH HARMUKH AND NEERAJ YADAV
 
TV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances ControlTV Remote Operated Domestic Appliances Control
TV Remote Operated Domestic Appliances Control
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
MEASUREMENT AND DISPLAY OF THE MAINS FREQUENCY USING PIC18F4520/50
 
Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...Research Inventy : International Journal of Engineering and Science is publis...
Research Inventy : International Journal of Engineering and Science is publis...
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
Voltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcdVoltage & frequency monitoring through lcd
Voltage & frequency monitoring through lcd
 
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITYELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
ELECTRONICS PROJECT REPORT OF HOME AUTOMATION CUM BUILDING SECUIRITY
 
Home automation control system using dtmf technology
Home automation control system using dtmf technologyHome automation control system using dtmf technology
Home automation control system using dtmf technology
 
DTMF based load control
DTMF based load controlDTMF based load control
DTMF based load control
 
DTMF based home automation with ADRUINO
DTMF based home automation with ADRUINODTMF based home automation with ADRUINO
DTMF based home automation with ADRUINO
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature Controller
 
TDA5051A.pdf
TDA5051A.pdfTDA5051A.pdf
TDA5051A.pdf
 
Remotely Secured Device Automation using Infrared
Remotely Secured Device Automation using InfraredRemotely Secured Device Automation using Infrared
Remotely Secured Device Automation using Infrared
 

Recently uploaded

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 

Recently uploaded (20)

(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 

Control Home Appliances With Your Phone

  • 1. Cellphone-BasedDevice Control WithVoice Acknowledgement AzarudeenAnifa Here is a circuitthat letsyouoperate yourhome applianceslikelightsand waterpumpfrom youroffice orany otherremote place.Soif youforgot to switchoff the lightsorother applianceswhile goingout,ithelpsyoutoturn off the appliance withyourcellphone.Yourcellphone worksasthe remote control for yourhome appliances.Youcancontrol the desiredappliance bypressingthe correspondingkey.The systemalsogivesyouvoice acknowledgementof the appliance status. Circuit description Fig.1showsthe circuit forcellphone baseddevice control withvoice acknowledgement.Itcomprises microcontrollerAT89C51,DTMF decoderMT8870, voice recording/playbackdevice APR9600and a fewdiscrete components.
  • 2. Fig.1: Circuit for cellphone-baseddevice control with voice acknowledgement
  • 3. MicrocontrollerAT89C51 is at the heart of the circuit.It is a low-power,high-performance,8-bit microcontrollerwith4kB of flashprogrammable anderasable read-onlymemory(PEROM) usedas on-chipprogrammemory,128 bytesof RAMusedas internal datamemory,32 individually programmable input/output(I/O) linesdividedintofour8-bitports,two16-bitprogrammable timers/counters,afive-vectortwo-level interruptarchitecture,on-chiposcillatorandclockcircuitry. A 11.0592MHz crystal (XTAL1) is used to provide basic clock frequency for the microcontroller. Capacitor C3 and resistor R3 form the power-on reset circuit, while push-to-on switch S20 is used for manual reset. Port pins P1.0 through P1.7 of the microcontroller are configured to get the input from push-to-on switches S1 through S8. Pins of Port P1 are pulled high via resistor network RNW1. Port pins P2.0 through P2.4 are configured to receive the decoded DTMF signal from DTMF receiver MT8870. The functions of the corresponding switches (S1 through S8) and cellphone keys are shown in Table I. 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 ) InDTMF receiverMT8870 (IC3),capacitorC12 is usedto filterthe noise andresistorsR6and R7 helpto amplifythe inputsignal usingthe internal amplifier. Pin16 of IC3 connectedtoresistorR5 providesthe earlysteeringoutput.Itgoeshighimmediately whenthe digital algorithmdetectsavalidtone pair(signal condition).Anymomentarylossof signal conditioncausesEStto returnto lowstate. Pin17 of IC3 connectedtocapacitor C11 isbidirectional,actingassteeringinput/guardtime output (St/GT).A steeringlogicVTSt detectedatSt causesthe device toregisterthe detectedtone pair.The guard time outputresetsthe external steeringtime constant,anditsstate isa functionof ESt and the voltage at St. Port P3 pinsP3.6 and P3.7 of IC1 are configuredtoselectthe control source forthe devices.These are connectedtoDIPswitchesS17 and S18 and pulledhighviaresistorsR2and R1, respectively. Here,we are usingtwocontrol sources,switchesandmobile’skey.DIPswitchesS17and S18 select the control sourcesas showninTable II.
  • 4. Pin2.5 of Port P2 is configuredtoshowthe reststatus. That is,if none of the control sourcesis selectedbyDIPswitchesS17and S18, LED1 glows.ResistorR14limitsthe currentthroughLED1. Voice acknowledgementisprovidedbythe APR9600 (IC2).Itis a single-chipvoice recordingand playbackdevice thatcan recordand playmultiple messagesatrandomorin sequential mode for60 seconds.The usercan selectsample rateswithcorresponding qualityrecordinglengths. Microphone amplifier,automaticgaincontrol (AGC) circuits,internal anti aliasingfilter,internal outputamplifierandmessage managementare some of the featuresof the APR9600. Here the APR9600 isconfiguredinrandom-accessmode,whichsupportstwo,fourandeight messagesof fixeddurations.The lengthof eachmessage isthe total recordinglengthavailable dividedbythe total numberof memorysegments/tracksenabled. AudioprocessorAPR9600 can store upto eightvoice messages.PortP0pinsandP2.7 are configured to communicate withIC2.PortP0 pinstriggerselectionof the message.PortpinP2.7is the input signal toidentifywhetherthe voice message isplayingornot. Fig.2: Pin configuration of mobile headset PinsP3.0 throughP3.5 of Port P3 control the deviceswiththe helpof relaysRL1throughRL6 via relaydriverIC4. A speakerisconnectedtoIC2 foraudiooutput.The speakeroutputdrivesthe micinputof the mobile foraudioacknowledgement.Anelectretmicrophone MIC1isconnectedtoIC2 to recordthe voice inIC2. LED2 flashestoshowthe busystatusof IC2 duringrecordingandplayback.The audio messagestobe recordedinAPR9600, byusingtriggerswitchesS9through S16, are showninTable III.SPST switchS19 is closedforrecordingandswitchS19 isopenedforplayback.
  • 5. Fig.3showsthe powersupplycircuit.The 230V ACmainsis steppeddownbytransformerX1to deliverthe secondaryoutputof 9V,500 mA.The transformeroutputisrectifiedbyafull-wavebridge rectifiercomprisingdiodesD1throughD4, filteredbycapacitorC16 and thenregulatedbyIC7806 (IC5).CapacitorC15 bypassesthe ripplespresentinthe regulated6V powersupply.LED3acts as a power-onindicatorandresistorR16limitsthe currentthroughLED3. Fig.3: Power supplycircuit An actual-size,single-side PCBforcellphone-baseddevice control withvoice acknowledgement is shownin Fig.4(ViewasPDF) andits componentlayoutin Fig.5(View asPDF). Download Source code:clickhere Recording and playback To record the voice inIC2, followTable III.Close SPSTswitchS19to make pin27 of IC2 low. Thereafter,pressandholdswitchesS9throughS16 to record correspondingvoice messages.LED2 flashestoindicate audiorecording. For playbackof any device status,openSPSTswitchS19 andpressthe correspondingswitch(S9 throughS16). The recordedaudiocanbe heardfromthe speakerconnectedtopins14 and 15 of IC2. Fig.2showsthe pin configurationof mobile headset.
  • 6. Software The program (Device_Control.BAS) forthe microcontrolleriswrittenusingBASCOMmicrocontroller programmingsoftware.Inthe program,first,initialise the port(P0-P3) forcorrespondingcontrols. Thereafter,declare the variablesforthe program.Afterdeclaration,assignsome initial valueto variables.Here,microcontrollerportsare initialisedtomake all the devices‘off’initially. Afterthat,the main functionchecksthrough‘Do’loopwhichcontrol source hasbeenenabledby usingDIPswitchpins.If you selectswitchS17,it searchesthe inputfromthe mobile only.If you selectswitchS18,it searchesthe inputfromthe switches(S1throughS8) only.If youenable both switchS17 andswitchS18, itsearchesthe inputsfromswitchesandmobile.Else,the rest-status LED1 glows.RefertoTable IIto selectthe control source. The mobile signal isdecodedintothe DTMFsignal byIC3. The DTMF outputfor each mobile key (usedinthisproject) pressedisshowninTable IV. Aftergettingthe inputfromthe switchesormobile,the programgoestothe device_action subroutine andexecutesthe correspondingaction(referTable I). The device_actionsubroutine changesthe statusof the device andcallsthe voice_alertsubroutine. The voice_alertsubroutinechecksthe device statusanddevice name fromthe source inputand controlsthe correspondingpinsof IC2.First,itselectsthe voice signal forthe device name.After playingthat,itselectson/off statusof correspondingdevice asmentionedinTable III. If you press‘*’ keyfollowedbythe device numberonyourmobile handset,itwill notchange the statusof that device andinformthe currentdevice status.If youpressdevice numberfollowedby‘*’ keyon yourmobile handset,itwillchange the statusof that device andinformthe changeddevice status.‘#’ keycontrolsthe voice_control subroutine andactslike amute key. EFY note. The source code of thisprojectis available onthe linkgivenbelow. http://www.efymag.com/admin/issuepdf/DeviceControlWithVoiceAcknowledgement.zip