remote operated garage opener
DESCRIPTION
Remote Operated Garage OpenerTRANSCRIPT
REMOTE OPERATED GARAGE OPENER
INTRODUCTION:
The most important problems faced parking in garage is need of another person for opening/ closing of garage or need of getting out of your car just to open or shut the garage door. Here is an easy and cheap solution to this problem: Remote operated garage opener.The garage door will be operated by a remote. So now there is no need of getting out of your car again n again just to open or close the garages door.This circuit uses an IR remote to activate the receiver circuit mounted at the garage door. The user needs to carry the remote with him in his car or pocket or anywhere else. And yes multiple remotes can be built to operate the circuit. Also any conventional TV or music systems remote can be used to operate the circuit.
BLOCK DIAGRAM
IR receiver Timer circuit MicrocontrollerLCDMotor Driver
Circuit Description
The system consists of five sections namely IR remote, power supply section, IR receiver and timer circuit, microcontroller circuit, motor driver circuit and alarm circuitry.
1. Power Supply Section
The power supply circuit is made to provide 6V regulated power supply. First the 230V ac is stepped down to 12V ac by using a 230V primary to 12-0-12V secondary transformer. This 12V ac is rectified using a bridge rectifier. This dc is then fed to the positive voltage regulator ICs 7806 which will provide 6V regulated power supply.
2. IR Remote and Receiver Section
The circuit comprises transmitter and receiver sections. The transmitter section is built around IC 555 (IC), which is wired as an astable multivibrator and produces about 38kHz frequency. IR LED1 emits 38kHz modulated signals up to a distance of 4.6 metres (15 feet). The modulated IR beam from the transmitter continuously falls on the receiver section built around IR sensor TS0P1738, IC 555 and some discrete cornponents. The receiver sensor TS0P1738 responds to 38kHz frequency. The modulated IR beam falling on receiver sensor TS0P1738 makes its output low which triggers the 555IC and it produces a high pulse and when TSOP1738 doesnt receives the IR rays, its output goes high which doesnt trigger the 555 IC.
3. Microcontroller circuit
Here we have used microcontroller AT89S52. Pin P1.0 of the microcontroller is configured as an input pin to take the input from the timer circuit. Rest ports of controller are configured as an output ports. The microcontroller controls motor driver and LCD. The LCD is used to display the status of the garages door.
4. Motor Driver Section
The motor driver circuit consists of an L293D IC which is a dual motor driver IC and consists of two H- Bridges to control the motion of two motors. Here we are using only single section of the two.
Source Code The source code for the microcontroller is written in C language and is compiled using the popular C compiler keil uvision3.
CIRCUIT DIAGRAMS
2. LCD Module circuit
3. Motor driver circuit
IR transmitter/ remote circuit
5. Power supply
PCB AND COMPONENT LAYOUTS
Main board
Motor driver
Power supply
IR remote
APPLICATIONS
1. Offices2. Homes3. Flats4. Hotels
COMONENT LIST
S. No.ComponentPieces
11N4007 DIODES6
2LCD1
3LM78121
4LM78051
5MOC 78114
6BUZZER1
711.0592 MHZ XTAL1
8L293D1
9AT89S521
1012-0-12 TRANSFORMER1
11TACTILE SWITCHES10
1210uf capacitor1
131000uF capacitor1
1412V DC MOTOR1
SOURCE CODE
#include
void delay(unsigned int);void lcdcmd(unsigned char);void lcddata(unsigned char);void lcdready();
void msg();void lighton();void lightoff();void pumpon();void pumpoff();void gateopen();void gateclose();
void opengate();void closegate();
void am5();void am6();void am7();void am8();void am9();
void pm5();void pm6();void pm7();void pm8();void pm9();
sfr ldata = 0xA0;sbit rs = P3^7;sbit rw = P3^6;sbit en = P3^5;sbit busy = P2^7;
sbit light1 = P0^5;sbit pump = P0^6;sbit light2 = P0^7;
sbit m1 = P0^0;sbit m2 = P0^1;
sbit buzz = P1^0;
void main(){P0 = 0x00;P1 = 0x00;
msg();delay(200);
while(1){light2 = 1;am5();gateopen();opengate();lighton();light1 = 1;pumpon();pump = 1;delay(200);
am6();delay(500);am7();delay(500);am8();lightoff();light2 = 0;light1 = 0;delay(500);am9();buzz = 1;delay(300);buzz = 0;delay(200);
pumpoff();pump = 0;
gateclose();closegate();
delay(1000);////////////////////////////////////////////////////evening////////////////////////////
light2 = 1;pm5();gateopen();opengate();lighton();light1 = 1;pumpon();pump = 1;delay(200);
pm6();delay(500);pm7();delay(500);pm8();
//light2 = 0;//light1 = 0;delay(500);pm9();lightoff();light1 = 0;buzz = 1;delay(300);buzz = 0;delay(200);
pumpoff();pump = 0;
gateclose();closegate();
delay(1000);
}
}
void msg(){unsigned char proj[] = "Public Garden Automation";
unsigned char z;
lcdcmd(0x01);lcdcmd(0x81);
for(z = 0; z