You are on page 1of 9

Microprocessor

Project Report

Time Operated Electrical Appliance Controlling System


Submitted By:
Waqar Naseem Wasif Raza Sadaf Gulshad Naila Iqbal FA09-BS(CE)-034 FA09-BS(CE)-036 FA09-BS(CE)-147 FA08-BS(CE)-141

Submitted To: Sir Adil Raza

Introduction:
Power Saving Using Time Operated Electrical Appliance Controlling System is a reliable circuit that takes over the task of switch on/off the electrical devices with respect to time. This project replaces the Manual Switching. It has an Inbuilt Real Time Clock which tracks over the Real Time. When this time equals to the programmed time, then the corresponding Relay for the device is switched ON. The switching time can be edited at any Time using the keypad. The Real Time Clock is displayed on LCD /7-segment display.

Block Diagram
POWER SUPPLY VOLTAGE REGULATOR

74LSO4

ULN2003 RELAY DRIVER

RELAY

KEYPAD

MICRO CONTROLLER 8051 DS 1307

ELECTRICAL DEVICE

Components:
The components used in this project are: Microcontroller IC 8051 Keypad Power Supply Relay LCD/7segment Relay driver ULN 2003 Serial Real-Time Clock DS 1307

Microcontroller IC 8051: 80C51 central processing unit 5V operating voltage Four I/O ports Three 16 bit timers Relay driver ULN 2003: 500mA rated collector current(Single output) High-voltage outputs: 50V Inputs compatible with various types of logic. Relay driver application

Serial Real-Time Clock DS 1307: Real-time clock (RTC) counts seconds, minutes, hours, date of the month and day of the week.

Circuit Diagram:

Circuit Description:
Using this circuit manual switching can be replaced by automatic switching after some desired specific time which can be set by using keypad. From Serial Real-Time Clock DS 1307 data (seconds, minutes, hours, day, date, month, and year) any information is sent into controller and time is displayed on 7 segment display. When this input real time becomes equal to the programmed time outputs from another port of microcontroller is given accordingly. Microcontroller gives the fixed voltage usually 0 and 5v in its output it is not practicable for using relay directly from microcontroller so the interface that we use is called relay driver (ULN2003) ULN 2003 is nothing but set of inverters inside the IC. Outputs from inverter IC is given to the relays when current flows from coil of relay switch get activated and devices connected to relays are operated when the circuit becomes complete. In power supply circuit AC power supply is first step down from 220- 12V then after converting AC into DC voltage is regulated using LM7805 from 12V to 5V for use in above explained circuit. Steps Followed For Project: 1. Interfacing of DS1307 with micro controller: 2. Interfacing of DS1307 with LCD through controller: 3. Interfacing keypad with DS1307,and LCD through microcontroller:

1. Interfacing of DS1307 with micro controller: First check DS1307 by interfacing it with microcontroller if the outputs are according to the coding time then the interfacing is correct.

2. Interfacing of DS1307 with LCD through controller: Interface DS1307 with LCD i.e real time of DS1307 will be displayed on LCD

Software Used: U vision Keil Proteus CODE

This project is used for energy saving for electrical devices. This project can be used for Time saving.

Applications:

You might also like