Professional Documents
Culture Documents
LGEC002 Door Lock System Using RF
LGEC002 Door Lock System Using RF
Pictorial Representation:
www.Labsguru.com
Block Diagram:
Transmitter remote:
POWER
SUPPLY
SWITCH
ANTENNA
ENCODER
HT12E
RF- TX
Device:
POWER SUPPLY
& REGULATOR
DISPLAY
UNIT
ANTENNA
A
RF-RX
DECODER
HT12D
MICROCONTROLLER
www.Labsguru.com
MOTOR
MOTOR
DRIVER
Block in brief:
Input Section:
1.
2.
3.
4.
5.
6.
7.
Processing Section:
Microcontroller: Programmed by the user to monitor the input
and generate proper output for the output unit. In general this is the
brain of the system.
Output Section:
Motor Driver: IC L293D will be used which can drive the motor for
change of direction as well as provide proper voltage and current.
Motor: CD tray installed with motor as door prototype.
Description:
www.Labsguru.com
There are two sections of this system; one is transmitter end and other
one is receiver end. At transmitter end there is an encoder IC which
encodes the 4 bit data and transmits it with a wireless device working at
315/434 MHz. At the receiver end RF receiver receives the data with
antenna and feeds these data to the decoder IC. The decoder IC decodes
the data in 4 bit mode and microcontroller checks the data sequence with
these 4 bits. Display unit is an LCD of 16x2 sizes. It is used for proper
user interaction. If the sequence entered is correct the door opens for the
person to enter for a while and then automatically closes.
Hardware Components:
HT12E encoder IC
4- Switches
RF transmitter
RF receiver
AT89S8253 microcontroller
HT12E
Encoder:
HT12E is
an encoder
12
integrated circuit of 2 series of encoders. They
are paired with 212 series of decoders for use in
remote control system applications. It is mainly
used in interfacing RF and infrared circuits. The
chosen pair of encoder/decoder should have same
number of addresses and data format . Simply put,
www.Labsguru.com
HT12E converts the parallel inputs into serial output. It encodes the 12
bit parallel data into serial for transmission through an RF transmitter.
These 12 bits are divided into 8 address bits and 4 data bits.HT12E has
a transmission enable pin which is active low. When a trigger signal is
received on TE pin, the programmed addresses/data are transmitted
together with the header bits via an RF or an infrared transmission
medium. HT12E begins a 4-word transmission cycle upon receipt of a
transmission enable. This cycle is repeated as long as TE is kept low.
As soon as TE returns to high, the encoder output completes its final
cycle and then stops.
HT12D
decoder:
HT12D is
a decoder integrated circuit that
belongs to 212 series of decoders. This
series of decoders are mainly used for
remote control system applications,
like burglar alarm, car door controller,
security system etc. It is mainly
provided to interface RF and infrared
circuits. They
are
paired
with
12
2 series of encoders. The chosen pair
of encoder/decoder should have same
number of addresses and data format.
In simple terms, HT12D converts the
serial input into parallel outputs. It
decodes the serial addresses and data
received by, say, an RF receiver, into
parallel data and sends them to output data pins. The serial input data
is compared with the local addresses three times continuously. The
input data code is decoded when no error or unmatched codes are
found. A valid transmission in indicated by a high signal at VT pin.
HT12D is capable of decoding 12 bits, of which 8 are address bits and
4 are data bits. The data on 4 bit latch type output pins remain
unchanged until new is received.
RF
transmitter
&receiver:
This RF
module comprises of an RF Transmitter and
an RF Receiver. The transmitter/receiver (Tx/Rx)
pair operates at a frequency of 434 MHz. An RF
transmitter receives serial data and transmits it
wirelessly through RF through its antenna
connected at pin4. The transmission occurs at the
rate of 1Kbps - 10Kbps.The transmitted data is received by an RF receiver
operating at the same frequency as that of the transmitter.
Motor Driver: Used to drive the DC motors as directed by the
microcontroller. This is the OUTPUT block. Here we used L293D to drive the motors
.whatever signals it receives from the microcontroller on the basis of that it will drive the
motors.
An H-bridge is an electronic circuit which enables a voltage to be applied across a load in
either direction. These circuits are often used in robotics and other applications to allow DC
motors to run forwards and backwards. H-bridges are available as integrated circuits, or can
be built from discrete components.
www.Labsguru.com
Liquid Crystal Display: This is 16x2 B/W LCD for the display of the data.
Software Components:
This unit consists of the
programming unit that is
the compiler used.
The MIKRO
C
for
8051
Compiler is a powerful featurerich development tool for Atmel's
8051 microcontrollers. It is
designed to provide the user with
the easiest possible solution for
developing
applications
for
www.Labsguru.com
www.Labsguru.com