Here’s my new digital object counter DIY kit. This was one of my academic projects of engineering degree. Several years ago in 2003, I had made this project and I always thought that if I set up my own electronics kits business, I would make and sell this kit. So, now I have made this it’s available on my web store www.buildcircuit.net.
In that tutorial, you can see that there is only one seven segment display and there is no reset switch. Well, that was extremely basic circuit.
My new DIY digital object counter works with TSOP4838 infrared receiver and there are two seven segment displays displaying numbers from 0 to 99. An IR transmitter is oriented towards the TSOP4838 infrared receiver of counter module and objects are moved between the counter and transmitter modules. Each time an object passes between the two modules, the seven segment displays show increment in numbers. The counter module can be reset to 0 at any time and restart the counting.
Watch the video below:
The counter can be reset to 0 by pressing the reset switch(see on video). The counter stops counting if the IR rays is continuously falling on the IR sensor. As soon as an object obstructs the IR signal, the counter immediately counts the interruption.
The distance between the counter module and the IR transmitter should be around 1 meter.
Power supply: The counter works with a 9V battery and the IR transmitter works from 6V to 9V.
Counter operating with a remote control:
Schematic of counter module:
When TSOP4838 infrared receiver receives infrared signal, it triggers BC557 and switches on LED2. This trigger also charges the RC circuit network made up of C1(100uF), R3(1K) and R4(1K) and switches on the transistor BC547 for a few seconds. Transistor Q1 switches on the LED1 and gives clock signal to IC1(CD4026). For each clock, CD4026 drives the seven segment display and increases the numbers on the display.
Pin number 5 of IC1 is connected to pin 1 of IC2 for chaining the two CD4026 chips. For adding one more digit, the pin 5 of IC2 should be connected to pin 1 of IC3.
Schematic of IR transmitter module:
IR transmitter is based on astable mode of 555 timer. The 555 timer, resistors and capacitor on the transmitter module output IR rays at 37.974Khz(approximately 38Khz). The TSOP4838 infrared module operates at 38KHz infrared frequency, however, that is not so strict with these kinds of basic experiments. It actually operates at frequencies between 30Khz to 40Khz.
Use astable mode frequency calculator for finding out the frequency of 555 timer. While using the online calculator, enter R1=18K, R2=10K and C1= 0.001uF, you will get 37.974 KHz.
How to use the kit
Place the two kits facing each other in a straight line. The IR receiver(on the counter module) and the IR LED(on the transmitter module) can be kept in a line of sight(straight line). When you move an object in between the two kits, the counter module counts the number of interruptions in the line of sight.
Behavior 1: When you place the IR receiver and the IR LED in a straight line, the two 3mm LEDs on the counter module are switched on and it counts as soon as there is an object in the line of sight.
Behavior 2: When you place the IR receiver and the IR LED close to each other but not in a straight line, the two 3mm LEDs on the counter module are switched off and the counter counts as soon as an object moves away from the line of sight.
Please watch the following video to be more clear:
Other related tutorials:
This DIY kit is available at buildcircuit.net. The site is owned and operated by buildcircuit.com team.
BuildCircuit proudly recommends EasyEDA for circuit and PCB design