Saturday, 6 July 2013

DTMF based Home automation

                                     DTMF based Home automation


Abstract:

This paper demonstrates a novel method which enables users to control their home appliances and systems from remote using a phone-based interface. To access the control unit, the user should send an authentication code (DTMF) along with the required/desired function/action to his/her home control system via telephone or cell phone. Upon being properly authenticated, the cell phone-based interface at home (control unit) would relay the commands to a microcontroller that would perform the required function/action, and return a function completion code that would be sent to the source of the original command (user’s cell phone).

Parts of the Systems:

1.      Micro controller: We are using micro controller 8051 to implement the overall system. Proximity sensor established near door will be connected to any digital IO pin.
2.      AC Control: We will use a relay to control electric appliances. These relays are connected to the IO pins through triggering mechanism of transistors.
3.      DTMF Decoder: we will use MT8870 as a DTMF tone decoder to find the keys pressed.


Hardware Block Diagram:





8051 Microcontroller:

We will use 8051 microcontroller to build this system.
The 8051 architecture provides many functions (CPU, RAM, ROM, I/O, interrupt logic, timer, etc.) in a single package

  • 8-bit ALU, Accumulator and 8-bit Registers; hence it is an 8-bit microcontroller
  • 8-bit data bus – It can access 8 bits of data in one operation
  • 16-bit address bus – It can access 216 memory locations – 64 KB (65536 locations) each of  RAM and ROM
  • On-chip RAM – 128 bytes (data memory)
  • On-chip ROM – 4 Kbyte (program memory)
  • Four byte bi-directional input/output port
  • UART (serial port)
  • Two 16-bit Counter/timers
  • Two-level interrupt priority
  • Power saving mode (on some derivatives)

  Programming Language: Embedded C

 Output:  

On authentication and receiving proper digit switch ON/OFF appliances.

 Algorithm:

1.      Switch off all appliances
2.      Monitor DTMF reception
3.      If code detected  Switch on/off appliance
4.      Go to step 2

Sunday, 9 June 2013

Automatic temperature controlled FAN




              Automatic temperature controlled FAN

  
Abstract:
Here is a circuit through which a fan can be linearly controlled automatically, depending on the room temperature. The circuit is highly efficient as it uses digital temperature sensor temperature measurement. Alternatively, the same circuit can be used for automatic temperature controlled AC power control. In this circuit, the temperature sensor used is a DS1820 having precision of 0.5ºC.
The microcontroller does the above job. It receives the signals from the sensor, and this signal is operated under the control of software which is stored in ROM. Microcontroller AT89c2051 continuously monitor the temperature sensor, When temperature reaches to some threshold value it switches on the fan.

Parts of the Systems:

1        Sensor: We will use DS1820 digital temperature sensor, which will give us digital output. It gives the temperature value in Centigrade scale.
2.      Micro controller: We are using micro controller 8051 to implement the overall system. Temperature sensor will be connected to any of the IO pin.
3.      AC Control: We will use a relay to control FAN. This relay is connected to the IO pin through triggering mechanism of a transistor.
8051 Microcontroller:
We will use 8051 microcontroller to build this system.
The 8051 architecture provides many functions (CPU, RAM, ROM, I/O, interrupt logic, timer, etc.) in a single package
  • 8-bit ALU, Accumulator and 8-bit Registers; hence it is an 8-bit microcontroller
  • 8-bit data bus – It can access 8 bits of data in one operation
  • 16-bit address bus – It can access 216 memory locations – 64 KB (65536 locations) each of  RAM and ROM
  • On-chip RAM – 128 bytes (data memory)
  • On-chip ROM – 4 Kbyte (program memory)
  • Four byte bi-directional input/output port
  • UART (serial port)
  • Two 16-bit Counter/timers
  • Two-level interrupt priority
  • Power saving mode (on some derivatives)

Programming Language: Embedded C
Sensors: DS1820 Digital temperature sensor.
Output:  On reaching threshold value switch on the FAN.

Algorithm:
1.      Switch off the FAN
2.      Get data from sensor.
3.      Calculate current temperature.
4.      If more than threshold switch on the FAN else switch off the FAN
5.      Go to step 2
 


Hardware Block Diagram:




 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | belt buckles