Door Counter With 8051 (89c51,89c52) Microcontroller: Digital Counter Project Requirements
Door Counter With 8051 (89c51,89c52) Microcontroller: Digital Counter Project Requirements
microcontroller
July 27, 2019 By EG Projects
Here is a simple project for counting people, vehicles or anything passing through a certain place. Anything
when physically crosses the barrier of our embedded system DIY project will increment our counter.
The counter is bidirectional means it can count/increment if the object crosses its barrier from either left or
right direction. The basic idea behind it is that you don’t need to manually count persons, people vehicles etc
passing through certain place.
Early counting starts through Babbage and then
counting numbers were invented, than manually
people started count things. Now its digital era and
we count things digitally. Previously in manually
counting their are problems. One have to stand for
hours to count people and vehicles passing through
certain area, also he can lose data if his attention
goes some where else. This project is best example
of accuracy and reducing man power on extra stuff
of counting.
Digital counter project requirements
8051 (89c51 or 89c52) microcontroller
16×2 lcd
crystal (11.0592 Mhz)
LDR (Light dependent resistor)
Resistor 5K
Bread board or PCB for circuit designing
Power supply
Taoglas' PA.26A surface mount LTE 4G antenna
Potentiometer (For seeting led contrast) provides the highest efficiency in a small SMT
form factor, coming in at 35 mm x 5 mm x 6 mm.
Connecting wires
Learn More
Counter values are displayed on 16×2 lcd. Lcd is interfaced with 8051 microocntroller in 8-bit mode. Data Learn More
pins of 16×2 lcd are connected to Port-1 of 8051(89c51 or 89c52) microcontroller. The rs (register select)
pin of 16×2 lcd is connected to Port-3 pin-5 of 8051 microcontroller. The rw (read-write) pin of lcd is
connected to Port-3 pin-7 of 8051 microcontroller. The en (enable) pin of lcd is connected to Port-3 pin-6 of
89c51 microcontroller. Rest of the connections are to make 8051(89c51 or 89c52) microcontroller
operational. Like apply 5v to vcc(pin 40) and vpp(pin 31). Ground pin 20. Connect crystal to pin 18 and 19.
11.0592 MHz crystal is used in the project.
89c51 digital counter sensor
Their are many techniques and pre-assembled sensors available in market for counting purpose. The most HAVE A QUESTION?
popular technique among diy embedded circuit designers is using laser light and a light
dependent resistor(LDR). Laser light is thrown on light dependent resistor from a distance. When a person
Have a technical question about an
passes in between the laser and LDR setup the light stops falling on the LDR. The movement when person is
article or other engineering questions?
in front of laser light it blocks the light and LDR laser light connection is braked. The connection is made
Check out our engineering forums
again when the person moves away from laser light. This breaking and making of connection is interpreted
EDABoard.com and Electro-Tech-
by the 8051 microcntroller and is counted as 1.
Online.com where you can get those
questions asked and answered by your
peers!
EDA BOARD
ELECTRO-TECH-ONLINE
Laser and LDR(Light dependent resistor) object, people, person, vehicle counter
FEATURED TUTORIALS
The last thing in the circuit is pin 0 of Port-2. Here all the logic is created. The laser light is continuously
falling on the ldr(light dependent resistor), short circuiting the circuit. The controller read it as ‘0’ or low. Now VHDL Tutorial 16: Design a D flip-flop using VHDL
when some one passes through the way and cuts the laser falling on the Ldr. The circuit completes and
controller reads it as ‘1’ or high. So when ever the light falling on the ldr is disturbed the controller reads it as
1 and increments the output.
When you are all done by making circuit and burning hex code in microcontroller now its time to see the
result. Upon starting the program you will see text “DOOR COUNTER!!!” displayed on the first line of the 16×2
lcd. On second line there is nothing. Now move your finger and cut the light falling on the light dependent
resistor. You will see number displayed on the screen and ever time you cut the light the number is
incremented by one.
EE TRAINING CENTER
PIR security system over WiFi using nodemcu
CLASSROOMS
Watch The project Video Here……..
·
Microcontroller Projects Follow
STMicroelectronics switch
Technology vishayintertechnology wireless
EDABOARD.COM DISCUSSIONS
Terasic ADDA
How to determine Solution Frequency?
Lipo battery with 3.7V1800mah 2amp output
current which is not working with ESP32
Data conversion Terasic Altera hsmc
Does a Transceivers Require a CPU (Core)
ELECTRO-TECH-ONLINE.COM
DISCUSSIONS
Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us
PDFmyURL.com - convert URLs, web pages or even full websites to PDF online. Easy API for developers!