Rtc Based Automatic Street Light Control System

4
AUTOMATIC WIRELESS STREET LIGHT CONTROLLER WITH RTC This application is used to control the street light wirelessly using RF Technology and RTC DS1307. Thus the manual switching operation is completely eliminated. This project provides different on and off timings to operate the lights. The user can once program these timings according to his requirements and these timings will be stored in EEPROM and cannot be erased unless the user wishes to change it again. This system switches on the lights only at preprogrammed timings. As the DS1307 Real Time Clock chip with battery back-up is used, there will be no disturbances for the programmed on/off timings even in power failures. Three switches are provided for entering the required timings. These switches are connected to microcontroller 89S52. The microcontroller is interfaced with the ULN2003 current driver to which relays are interfaced. We can connect any relay loads. The 16X2 LCD display is provided to display the switching times and current time. The DS1307 is interfaced to the microcontroller for real timing performance. A 3V battery can be connected to DS1307 to avoid time disturbances caused by power failures. The user

Transcript of Rtc Based Automatic Street Light Control System

Page 1: Rtc Based Automatic Street Light Control System

AUTOMATIC WIRELESS STREET LIGHT CONTROLLER WITH RTC

This application is used to control the street light wirelessly using RF Technology

and RTC DS1307. Thus the manual switching operation is completely eliminated. This

project provides different on and off timings to operate the lights. The user can once

program these timings according to his requirements and these timings will be stored in

EEPROM and cannot be erased unless the user wishes to change it again.

This system switches on the lights only at preprogrammed timings. As the

DS1307 Real Time Clock chip with battery back-up is used, there will be no disturbances

for the programmed on/off timings even in power failures.

Three switches are provided for entering the required timings. These switches are

connected to microcontroller 89S52. The microcontroller is interfaced with the ULN2003

current driver to which relays are interfaced. We can connect any relay loads. The 16X2

LCD display is provided to display the switching times and current time. The DS1307 is

interfaced to the microcontroller for real timing performance. A 3V battery can be

connected to DS1307 to avoid time disturbances caused by power failures. The user can

even change the preprogrammed timings and set the timings according to his

requirements.

In order to enhance the concept, we use wireless communication to control street

light remotely using RF Transmitter & Receiver working on 434 Mhz. The HT12E

Encoder IC & HT12D Decoder Ics are interfaced with transmitter & receiver circuit

repectively.

Page 2: Rtc Based Automatic Street Light Control System

SOFTWARE :

1. Keil compiler

2. Embedded C Code

3. ucFlash

4. Orcad.

Hardware Tools:

1. Microcontroller AT89S52.

2. RTC DS1307

3. SWITCHES

4. 16*2 LCD DISPLAY

5. Electrical Loads

Page 3: Rtc Based Automatic Street Light Control System

BLOCK DIAGRAM

TRANSMITTER:

RECEIVER:

SWITCHES MCU 89S52

16*2 LCD DISPLAY

ULN2003 DRIVER

Street Light Loads

DS1307 RTC

HT12D DecoderRF Receiver

HT12E Encoder

RF Transmitter