Design and Development of an Automated Home Control System Using Mobile Phone

Summary of Design and Development of an Automated Home Control System Using Mobile Phone


This paper describes an Automated Home Control System (AHCS) that uses a mobile phone as a modem to send DTMF commands to a PIC16F84A microcontroller, which decodes tones and drives relays to switch four household appliances. The design includes a power supply, DTMF decoder (HT8870), switching transistors and relays, and a phone configured to auto-answer.

Parts used in the Automated Home Control System:

  • Nokia 1200 mobile phone (used as modem)
  • DTMF decoder IC HT8870
  • PIC16F84A microcontroller
  • Crystal oscillator (4 MHz) for PIC
  • Crystal (XTAL1) for DTMF decoder
  • Relays (4 channels for appliances)
  • Switching transistors (for driving relays)
  • Base resistors for transistors
  • Flyback diodes across relay coils
  • Power supply (5 V DC)
  • Coupling capacitor C1 and filter components C2, C3, C4
  • Resistors R1, R2, R3 and collector resistance Rc (relay coil resistance ~400 Ω)

Abstract

This paper presents design and development of an Automated Home Control System (AHCS) using mobile phone. A cell (mobile) phone acts as a modem for the control of electrical home appliances. This is achieved when the mobile phone number is dialed and an appropriate command button is pressed. The paper demonstrates how to develop a system that aids the control of remote devices using mobile phones to enable devices without infrared though connected to power sources to be controlled and considering the possibility of users to monitor the status and usage of these devices. It makes use of a programmable interface controller (PIC) to control the switching of the output. This design is customized as a central device for four pieces of home appliances using relay to activate each of the respective electronic gadgets.

Quick Solutions to Questions related to Automated Home Control System:

  • How does the system receive commands from the user?
    The user dials the system phone number and presses keypad buttons; the modem phone automatically answers and sends DTMF tones to the decoder.
  • Can any mobile phone be used as the modem?
    The paper uses a Nokia 1200 mobile phone as the modem because of affordability and availability; the mobile phone must provide audio output and be configurable to auto-answer.
  • What technology decodes the keypad tones?
    The system uses Dual Tone Multi Frequency (DTMF) decoding via an HT8870 DTMF decoder IC.
  • How are appliances switched on or off?
    The PIC16F84A microcontroller processes decoded signals and outputs logic to switching transistors that drive relays which activate the appliances.
  • What microcontroller is used and why?
    The PIC16F84A is used for low power consumption and sufficient program/data memory and I/O pins for the design.
  • What protects the transistors from relay coil back EMF?
    A diode is connected across each relay coil to protect the transistor from back electromotive force.
  • How is the modem phone powered to avoid battery discharge?
    The phone charging port is connected to the system 5 V power supply to keep the battery from discharging.
  • Which ports of the PIC are used for inputs and outputs?
    Decoder outputs are connected to PORTA of the PIC and the transistors (relay drivers) are connected to PORTB.
  • What determines the response time of the DTMF decoder?
    Components C4 and R3 determine the response time of the DTMF decoder tone detection.
  • How many appliances does the designed system control?
    The design is customized as a central device for four home appliances using relays to activate each gadget.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter