--------------------------------------------------------------------------------------
A Special Problem
City of Calamba
-----------------------------------------------------------------------
In Partial Fulfillment
------------------------------------------------------------
By
RECHELLE A. ANTONIANO
NELSON G. MASONGSONG
Chapter 1
Introduction
This project would have been much simpler if I had an electronic door lock…but I didn’t!
They’re expensive, so I didn’t want to buy a new electronic door lock. I wanted to open the front
door of my house without “seriously” modifying/replacing any door components. I thought about
using a servo/stepper motor to twist the door knob on the door, but their control circuitry is
slightly complicated if you’re not using a microcontroller. So, I decided to use a simple, 24VDC,
“pull solenoid”. They don’t have any complicated control circuitry and you just have to supply
the required voltage to make them work. I simply fastened the solenoid to the door knob with a
metal wire. When the solenoid is switched on, its linear motion twists the door knob and opens
the door. Positioning the solenoid properly was probably the only mechanical challenge in
building this door opener because the force applied by a solenoid, is theoretically inversely
proportional the square of the length of the air gap. Thus, strongest force is generated when the
air gap is smallest.
Conceptual Framework
A
Enter Exit
T
Enter Sensor
(1)
Signal
Conditioning 8 Relay Driver
9
Exit Sensor (2) Signal
S Light
Conditioning
5
2
Power Supply
The Automatic Room Light Controller with Visitor Counter is shown in the above figure.
Mainly this conceptual framework consists of the following essential blocks.
1. Power Supply
2. Entry and Exit sensor circuit
3. AT 89S52 micro-controller
4. Relay driver circuit
1. Power Supply:
The main function of this block is to provide the required amount of voltage to essential
circuits. +12 voltage is given. +12V is given to relay driver. To get the +5V dc power supply use
IC 7805, which provides the +5V dc regulated power supply.
If the sensor 1 is interrupted first then the microcontroller will look for the sensor 2. And
if it is interrupted then the microcontroller will increment the count and switch on the relay, if it
is first time interrupted. If the sensor 2 is interrupted first then the microcontroller will look for
the sensor 1. And if it is interrupted then the microcontroller will decrement the count. When the
last person leaves the room then counter goes to 0 and that time the relay will turn off. And light
will be turn off.
An automated light may have limited level of intelligence hence it is most likely
susceptible to commit error.
Objectives
The objective of this study is to make a controller based model to locked the door
particular the house door or the gate and accordingly light up the room. The sensor can use to
know the present number of persons inside the room.
this study aims to develop automatically controlled switch to the door this design that
would provide security
Significance
Now I’m thinking about building a password protected door by placing a keypad outside my
house which will generate DTMF tones. A circuit on the other side of the door will check the
numbers entered, and if the password is correct, it will open the door. However, there’s one little
snag. Any nasty programmer would just love to use a computer to generate DTMF tones and
crack the password using brute force…I would
The study used only when one single person cuts the rays of the sensor hence it cannot
be used when two person cross simultaneously. The counter can only read less than 100 persons.