Professional Documents
Culture Documents
1.1 INTRODUCTION
The objective of this project is to count the object passing on the
conveyor belt or the no of the person taken entry, automatically. In this modern
world the machine are replacing the human labors. This is the circuit which makes
the human being free from counting the no of object produced in the industry or in
any other application. In short by using this circuit the human beings are made free
from the tedious work of counting any no objects, as this circuit finds the application
in the counting purpose. The counting purpose can be anything, either counting
objects on the conveyor belt at the production level or counting the no of persons
visited at the exhibition.
The circuit described here is meant to do just this very thing. The
circuit can count up to almost ten thousand persons entering or leaving a place or
can be use to count the number of articles passing on a conveyor belt (in a factory)
etc. The circuit has unlimited application in almost all fields of industrialization.
The counting capability can be increased to any numbers as per application. The
complete circuit is based on popular timer IC 555 and CMOS IC 4033 and high
quality LDR.
Institute of Technology, NU 1
Two digit object counter
555
7-S E GM E N T L E D DECADE LD R
M ON OS TA B LE
D IS P LA Y C OU N T E R R E C E IV E R
M U LT IV IB R A T OR
Institute of Technology, NU 2
Two digit object counter
P O W E R S U P P LY S OU R C E
9 V O LT B A T T E R Y
DECADE
7-S E GM E N T L E D
C OUN TER
D IS P L A Y2
2
LDR 555
R E C E IV E R MO N O S TA B LE
M U LT IV IB R A T OR
DECADE
7-S E GM E N T L E D
C OUN TER
D IS P L A Y1
1
Institute of Technology, NU 3
Two digit object counter
The block diagram of the two digit object counter is shown in figure.
The block diagram consists of the following section.
• LDR Receiver
• 555 Monostable Multivibrator
• Decade Counter 1
• Decade Counter2
• Seven Segment LED Display 1
• Seven Segment LED Display 2
Institute of Technology, NU 4
Two digit object counter
The 555 gets its name from the three 5-kohm resistors used in typical
early implementations. The 555 timer is one of the most popular and versatile
integrated circuits ever produced. Depending on the manufacturer, it includes over
20 transistors, 2 diodes and 15 resistors on a silicon chip installed in an 8-pin mini
dual-in-line package (DIP-8).
Over here the 555 timer IC works in the Monostable mode. When
the LDR sense the presence of the object and blocks the current which is reaching to
pin no two of 555 IC, the pin is indirectly connected to logic 0. This will trigger the
IC and since it is connected in the Monostable Multivibrator state it will give a pulse
of 500 ms at the output pin i.e. Pin no 3 of the IC.
Monostable Mode:
which is the time it takes to charge C to 2/3 of the supply voltage. See RC circuit for
an explanation of this effect.
Institute of Technology, NU 6
Two digit object counter
The relationships of the trigger signal, the voltage on the C and the pulse width are
shown below:
Institute of Technology, NU 7
Two digit object counter
Institute of Technology, NU 8
Two digit object counter
16
VDD
1 CLK a 10
2 CLK INHIBIT b 12
15 RST c 13
LAMP
14 d 9
TEST CD4033
RIPPLE
3 e 11
BLANK IN
4 RIPPLE f 6
BLANK OUT
5 g 7
CARRY OUT
VSS
8
Institute of Technology, NU 9
Two digit object counter
be kept low. When the pin 2. i.e. the clock inhibit pin is held high the
counter advancement is stop through the pulses coming on the clock pin.
• Pin 2. is the clock inhibit pin. If the clock pin is continuously held high than
the positive to negative transition of the clock pulse on the clock inhibit pin
advances the counter by 1.
• Pin 15. is the reset pin. When this pin is made high the counter reset and the
count again start from 00.
• Pin 3. and Pin 4. is the ripple blanking in and ripple blanking out pins. These
pins together are used to blank out the insignificant zero in the integer or the
fractional part. This will help to conserve the power and also it helps the
user to easily read the data in the format of normal writing consistency.
• Pin 14. is the Lamp test pin. This pin is used to check the working condition
all the seven segments of the display. When this pin is held high, it overrides
the normal decoder operation and put the seven outputs in the high state.
This helps in detecting the actual cause of any malfunction.
• Pin 5. is the carry out pin. This pin is connected to the succeeding IC’s clock
pin when more than one IC’s are used. This pin will get an output pulse
when the counter counts the 10 pulse i.e. from 0 to 9 and roll back to zero.
• Pin 8. is the Vss i.e. ground and Pin 16. is the Vdd i.e. supply voltage.
• Pin 10, 12, 13, 9, 11, 6, 7 are the decoder output pins i.e. a, b, c, d, e, f, g
repectively.
Two seven segment LED displays are used to display the count of the
counter. Two display are connected to two different CD4033 IC.
Institute of Technology, NU 10
Two digit object counter
Institute of Technology, NU 11
Two digit object counter
There are three basic function unit of this circuit. These three units
are LDR receiver, 555 timer IC and the IC CD4033 which is the combination of the
decade counter and decoder.
As shown in the circuit diagram the Light dependent resistor is used
as an optical device. LDR is continuously exposed to the source of the light, hence
the resistance of the LDR at all this time is almost zero and the current can easily
flow through it. As current can easily flow through it , this will make the trigger pin
of the 555 IC high continuously. But due to the presence of the object when the
light is obstructed from falling on the LDR, the resistance of the LDR increases
momentarily. This increase in resistance in the absence of the light is so high that it
will obstruct the flow of current and thus will make the trigger pin of the IC 555 at
the logic 0. Thus LDR detect the presence of the object and trigger the IC 555.
Timer IC 555 is used as Monostable Multivibrator. Pin no 8 is
connected to Vcc and pin no 1 is connected to the ground. Pin no 2. and pin no 6.
i.e. trigger pin and the threshold pin respectively are directly connected to each
other. Pin no 7. is the discharge pin which is connected to the resistor R17 and the
resistor port P1. Pin no 5. is the charging voltage pin which is connected with the
capacitor C1. Output pulse is obtained from the pin no 3. When the trigger pin is
made to logic 0 due to the presence of the object, the IC is triggered and the
capacitor connected at the pin no 5. starts charging through the threshold voltage
Institute of Technology, NU 12
Two digit object counter
available on the threshold pin. Threshold voltage is nothing but it is the Vcc. The
capacitor charged towards Vcc. When the capacitor is fully charged it discharges
through the Port P1. Thus the resistance of the port and the capacitance of the
capacitor together decide the discharging time i.e. RC time constant of the capacitor.
When the capacitor is fully discharge we get a pulse at the pin no. 3 i.e. output pin of
the IC. The available pulse at the output pin is of approximately 500ms. The output
pin of the 555 IC is directly connected to the clock pin of the IC CD4033 i.e. decade
counter 1. The LED D1 is connected in between the output pin of 555 IC and the
ground. Every time the pulse obtained at the output pin the LED glows. This helps
us in knowing the proper working of the 555 IC in the Monostable Multivibrator
mode. The resistor R16 is the current limiting resistor that protects the LED from
high current.
Pin no 1. of the CD4033 IC is the clock pin. Also it is connected to
the output pin of the IC 555, from where it gets the pulse. Pin no 8. and pin no 2. is
the Vss and Inhibit pins of the IC. Both are connected to the ground. Since Inhibit
pin is connected to the ground the negative to positive transition of the incoming
pulse on the clock pin advances the counter by 1. Pin no 16. and pin no 3 are the
Vdd and RBI pins of the IC. Both the pins are connected to the supply voltage.
Since RBI is connected to the Vcc it will blank the insignificance zero of the
display. This helps in power conserving and also it becomes easy for the user to
read the display.
Pin no 15. and pin no 14. of the IC are the reset pin and the Lamp
test pins. These two pins of both the IC’s is connected to ground normally. Also
they are connected to supply voltage through push button switch. When we want to
rest the counter the push button switch is pressed once and hence the Reset pin is
connected to supply voltage i.e. logic 1. This will make the counter to reset and start
counting from 00. Also along with the Reset pin the Lamp test pin of the IC is
connected to the Vcc when the push button switch is pressed. This will roll over the
decoder action and will send high to all the seven output pins. This helps in testing
the working condition of all seven segments.
Institute of Technology, NU 13
Two digit object counter
Pin no 5. is the clock output pin of the IC 4033. This pin of the
decade counter IC 1 is connected to the clock pin of the decade counter IC 2. Hence
every time the counter of the IC 1 counts the 10 pulses i.e. 0 to 9 and rolls back to 0,
it give a pulse on this pin no 5 and hence the clock pin of IC 2 gets the pulse. Thus
we can say that after every ten advancement of the counter 1, the counter 2 advanced
by 1.
Pin no 10, 12, 13, 9, 11, 6, 7 are the decoder output pins i.e. a, b, c, d,
e, f, g respectively. Each pin of both the IC’s is connected to the respective
segments of the display through the resistor. These resistors are the current limiting
resistors which protect the individual segments of the display from getting damage.
Over here since the IC 1 is connected to the display 1 it acts as LSB and display 2
acts as MSB.
Institute of Technology, NU 14
Two digit object counter
SR.
No. Description Number
Institute of Technology, NU 15
Two digit object counter
5.1 ADVANTAGES
Institute of Technology, NU 16
Two digit object counter
5.2 DISADVANTAGES
• The circuit used the Seven segment display which consumes more power.
• The current version of the circuit can not sense the object in the day light.
Institute of Technology, NU 17
Two digit object counter
5.3 LIMITATION
• There is limitation to the no of the object that the circuit can count. The
current version of the circuit can count only 00 to 99. So it can not be used
at the places where more no of counts are required.
• Since efficiency of LDR used in the circuit is very low. So there are chances
of miss readings.
Institute of Technology, NU 18
Two digit object counter
5.4 APPLICATIONS
• Exhibition center:
It is used at the exhibition center to count the no of persons that have
visited the exhibition.
Institute of Technology, NU 19
Two digit object counter
• More number of the decade counter IC CD4033 can be used to increase the
no of count. For example if we use three IC’ s count increase to 1000.
• Instead of the LDR we can use photo transistor to increase the accuracy and
efficiency of the system.
Institute of Technology, NU 20
Two digit object counter
5.6 CONCLUSION
The even objective of the project is “Two digit object counter” that
has been successfully achieved. The project is also scalable foe several
improvement as stated in future enhancement in the chapter 10.5.
Institute of Technology, NU 21
Two digit object counter
Institute of Technology, NU 22
Two digit object counter
SR.
No. Description Number Cost
Institute of Technology, NU 23
Two digit object counter
6.1 REFERENCES
Books:
• Fundamentals of Digital circuits
By,
Anand kumar
• Electronics Devices & circuits vol. 2
By,
A. P. Godse
Websites:
• www.atmel.com
• www.semiconductor.philips.com/products/standard/microcontroller
• www.google.com
• www.alldatasheet.com
Other Material:
• Datasheet of the 555 timer IC
• Datasheet of the IC CD4033
Institute of Technology, NU 24