Multiple On and Off Time Programmed Industrial Load: Submitted by
Multiple On and Off Time Programmed Industrial Load: Submitted by
Multiple On and Off Time Programmed Industrial Load: Submitted by
Submitted by
ABSTRACT
Power Saving Using Time Operated Electrical Appliance Controlling
System is a reliable circuit that takes over the manual task of switch on/off
the electrical devices with respect to time.
It uses Real Time Clock (RTC) which tracks the Real Time.
When this time equals to the programmed ON time, then the
corresponding Relay for the device is switched ON and then OFF as per the
OFF time that finally switches the load ON or OFF.
Multiple ON/OFF times entry is the biggest advantage with this project.
Matrix keypad helps entering the time while relays used with relay drivers
for the loads.
The complete circuit has its on-board power supply.
PROJECT BLOCK DIAGRAM
HARDWARE COMPONENTS
5V
DC
Filter(470f)
12V step down
transformer
MICROCONTROLLER
It is a smaller computer
Has on-chip RAM, ROM, I/O ports...
External interrupts
On-chip Timer/Counter
ROM for
Interrup program On-chip Timer 1 Counter
t code RAM Inputs
Control Timer 0
CPU
Bus Serial
4 I/O Ports Port
OSC Control
P0 P1 P2 P3 TxD RxD
Address/Data
Features of AT89S51/52
Compatible with MCS-51 Products
Watchdog Timer
The RTC chip is a specialized chip that just keeps track of time
It runs on a battery and keeps time for you even when there is a power
outage!
Using an RTC, you can keep track of long timelines, even if you
reprogram your microcontroller or disconnect it from USB or a power
plug.
The RTC we'll be using is the DS1307 . It's low cost, easy to solder,
and can run for years on a very small coin cell.
FEATURES OF DS1307
Real time clock counts seconds, minutes, hours, date of month, month, day of
week and year with leap year compensation valid up to 2100
56 byte nonvolatile RAM for general data storage
2-wrire interface (I2C)
Automatic power fail detect
Consumes less than 500 nA for battery back-up at 25'C
BC547 (NPN Transistor)
If an 8-bit data bus is used the LCD will require 11 data lines
(3 control lines plus the 8 lines for the data bus)
The three control lines are referred to as EN, RS, and RW
EN=Enable (used to tell the LCD that you are sending it data)
RS=Register Select (When RS is low (0), data is treated as a command)
(When RS is High(1), data being sent is text data )
R/W=Read/Write (When RW is low (0), the data written to the LCD)
(When RW is low (0), the data reading to the LCD)
WORKING OF PROJECT
The project uses one real time clock IC DS1307 i.e., Interface to the
MC pin 27 & 28. IT uses a crystal of 32.768 KHz to deliver timing
reference.
A matrix keypad is used for setting the time, relay ON time & OFF
time.
The relay is driven by pin 25 of MC through driving transistor BC547.
Seven segment LEDs are parallel connected to Port 0 through driving
transistors four numbers BL547 to the respective, anode seven segment
LED display as the operation of which is explained before.
Soft ware Requirements