2 Digit Object/Product Counter Circuit

Object counters or product counters are important applications used in industries, shopping malls, etc. They count objects or products automatically and so reduce human efforts. In this tutorial we are going to design a simple object counter circuit without using any microcontroller.

 

Components

  1. LM358 IC - 1
  2. 555 timer IC -1
  3. Voltage Regulator 7805 -1
  4. 150 Ohm - 2
  5. CD4033 -2
  6. 10K resistor -2
  7. 100K resistor -1
  8. 10K POT -1
  9. 220uF capacitor -1
  10. IR sensors-1
  11. Bread board-1
  12. 9 Volt Battery -1
  13. Battery Connector-1
  14. LED -2

 

Circuit Diagram and Explanation

Object Counter Circuit Diagram

The circuit diagram of object counter is quite similar to my previous project (digital stopwatch circuit) but a little complex . In this circuit we have used a comparator (IC LM358) and IR transmitter and receiver pair for detecting a object. And then we have used a 555 timer IC to generate a pulse for triggering the seven segment decoder (CD4033) and two common cathode seven segment display units are connected with 7 segment decoder IC. 555 timer IC is configured in mono-stable mode for generating pulse. A LM7805 Voltage regulator is used for providing constant 5 volt power supply for the circuit. And a 9 volt battery used for powering the whole circuit.  

 

Working

In this circuit we detects object by using IR sensor and comparator and then we applied output of comparator to mono-stable multi-vibrator. This mono-stable multi-vibrator generates a pulse of fix time period which can be set by using given formula.

T=1.1RC

In this circuit we have selected R1 is 10K and C1

Object Counter Block Diagram

After getting a pulse from 555 timer we applied this to clock pin of 7 segment decoder (U4) and then carry out signal (pin 5) to clock pin of another 7segment decoder (U3). After getting pulse from 555 timer 7 segment counter changes number value of segment display. and when number counting reaches at 10 in U4 decoder then it sends carry out signal or pulse to seconds 7segment decoder (U3) and then second display changes his number value. And this process repeats again. This object counter circuit can count 00-99.

Video: 

Comments (72)

  • mohsin's picture
    mohsin

    hey,what is the maximum distance the two sensors can be kept apart?and is this circuit working properly?

    Jan 04, 2016
  • Abhishek's picture
    Abhishek

    Normally the range of IR LED is 2 meter, but it can be increased by using Lens. Video is the proof of its proper working, our all the projects are properly tested.

    Jan 14, 2016
  • Rahul gondhali's picture
    Rahul gondhali

    Hi I want to ask you that how can we add one more seven segment display to increase range upto 999

    Jan 18, 2016
  • saddam khan's picture
    saddam khan

    yes you can add third seven segment for displaying number till 999. you will need one more 4033 ic and a seven segment.

    and connect seven segment to 4033 ic as shown in circuit.
    here you need to connect CO pin of U3 ic to new 4033's clock(clk) pin.

    Jan 21, 2016
  • kamulegeya sulaiman's picture
    kamulegeya sulaiman

    if i cannot find the ic 4033, can i replace it with the ic 4026 and how should i connect
    does the used of the dei instead of the rbi affect the circuit operation

    Feb 03, 2016
  • nisar's picture
    nisar

    what is dei and rbi???

    Mar 20, 2017
  • Ankur's picture
    Ankur

    yes, connect det as rbi.

    Feb 08, 2016
  • kamulegeya sulaiman's picture
    kamulegeya sulaiman

    it failed towork! with 4026 please help

    Mar 08, 2016
  • Napster's picture
    Napster

    Is there any coding in the project?

    Feb 13, 2016
  • Jayant's picture
    Jayant

    No, there is no microcontroller, hence no coding.

    Feb 23, 2016
  • kamulegeya sulaiman's picture
    kamulegeya sulaiman

    i assembled the curcuit as the cicuit diagram shows, using two Hcf4026 Ic. no infrared detected and its stuck at 08 on the displays. i really need your help xoz its my project

    Mar 08, 2016
  • Dez's picture
    Dez

    Could someone please show me how to put this onto a stripboard?

    Mar 16, 2016
  • Dez's picture
    Dez

    DOES THE CIRCUIT DIAGRAM WORK

    Mar 20, 2016
  • Abhishek's picture
    Abhishek

    @Dez: All the circuits on the site are perfectly tested and working.

    Mar 28, 2016
  • kamulegeya sulaiman's picture
    kamulegeya sulaiman

    The infrared sensor worked perfectly. And it counted with one 7 segment using 4026 circuit diagram maddy availed. Thanks
    Will only change the timing of the tripple five for effective counting

    Mar 21, 2016
  • CHARAN's picture
    CHARAN

    In which tool i can simulate this above circuit help me out in this as soon as possible

    Mar 24, 2016
  • Abhishek's picture
    Abhishek

    You can use Proteus to Simulate this circuit, use a Torch and LDR in Proteus, for IR pair. We have simulated similar one here in Video section: Reverse Car Parking Circuit

    Mar 28, 2016
  • Omar Lahiani's picture
    Omar Lahiani

    Hi ,
    Thanks for sharing this project , I'm building a project that requires comparing two IR counters , so I was wondering if it is possible to compare two CD4033 outputs through an IC7485 or a similar comparator ? Or if you could suggest another idea of doing so , that would help a lot .Thank you in advance :)

    Apr 24, 2016
  • Niahat's picture
    Niahat

    hlw bro....i have made this circuit bt without tuch negative wire it dose not work. why this problem face??? please give me salution..

    May 03, 2016
  • aqsa nisar's picture
    aqsa nisar

    My circuit didnt run and pz send proper circuit daigram for beginners

    May 06, 2016
  • Yousuf's picture
    Yousuf

    hey this project is awsome, but can we decrement the counter as it is incrementing also if we want to decrement what we will doo pleasee help me i am stuck :(

    May 07, 2016
  • devang's picture
    devang

    dis crkt is not working . plz send me the correct circuit ASAP ..as i am fully dependent on ur site for my project and i have to present it on 14th may ..

    May 10, 2016
  • Maddy's picture
    Maddy

    @Niahat @aqsa nisar @ devang: Circuit is correct and working properly, please check your circuit twice and adjust the variable resistors properly.

    May 17, 2016
  • Ahan's picture
    Ahan

    Hey,
    I have assembled this circuit, but it is not working properly. The IR receiver/detector pairs are working perfectly and so are the 7 segment displays. But whenever an object passes, the display is does not increment the number. Could you help me out?
    Please respond as soon as possible, because this is for my project and I have no time left.
    Yours sincerely.

    May 29, 2016
  • peter's picture
    peter

    hey! please tell me the name of that 2 Ics is CD 4026 or not?

    Jun 15, 2016
  • Petyr's picture
    Petyr

    Good day, is there any way that this circuit can also counts down? Can you please show me the circuit how. Thank you.

    Jun 20, 2016
  • waqas's picture
    waqas

    sir I simulated this circuit diagram in proteous but the problem i,m facing is that it starts counting start from 01 and goes on while i want that it should start from 00 please help i,m waiting for your reply

    Sep 07, 2016
  • SUBHRA PRATIK's picture
    SUBHRA PRATIK

    This circuit looks awesome. But I want to decreament the count when an object is taken in opposite direction by adding another it ir sensor. Can u help me with this?

    Sep 14, 2016
  • mrunali sawant's picture
    mrunali sawant

    plzzz send mi full component list

    Sep 23, 2016
  • ADESH's picture
    ADESH

    hello...
    is there any extra connection in between 4033 and ssd....
    extra resistors are used as shown video....
    plz tell me the full description of ckt diagram..

    Sep 28, 2016
  • Pratik 's picture
    Pratik

    Did you checked components and circuit diagram.
    It seems that your using multiple 10k resistor and see list of components in that 10k resistor are only 2

    Sep 28, 2016
  • pogi's picture
    pogi

    Is there any specific type of IR receiver? If I am going to buy one, do I just ask for an IR receiver?

    Sep 29, 2016
  • irf's picture
    irf

    where should i connect the common pin(3,8) of the seven segment display??

    Sep 30, 2016
  • ad's picture
    ad

    helllo...
    not getting output yar...
    plz post the correct ckt diagram....
    is their any one got the solution ...plz post it..
    first part working properly i.e. it sense the object not count them....
    __/\__

    Oct 03, 2016
  • Abhishek's picture
    Abhishek

    check your connections with 4033 ICs.

    Oct 06, 2016
  • Cheeny flor's picture
    Cheeny flor

    Can I ask sir if what would be the best replacement of cd 4033 if this circuit is not available? Thank u

    Oct 06, 2016
  • Ryan's picture
    Ryan

    Should I use a photodiode or a phototransistor?

    Oct 09, 2016
  • Cheeny flor's picture
    Cheeny flor

    Can I still used the diagram even if my ic is 4026?

    Oct 10, 2016
  • Wakee's picture
    Wakee

    Sir what if I wanna put a switch that would set the count back to 00. What pin should I place it?

    Oct 14, 2016
  • Abhishek's picture
    Abhishek

    Make Pin no 15 (MR) High to reset the Seven segment to 0.

    Oct 15, 2016
  • Ryan's picture
    Ryan

    Why is the LED on ON when no object is in front and goes OFF when an object passes by? Isn't the LED suppose to light only if the photodiode activates from the bounced IR (when an obstacle is present)?

    Oct 19, 2016
  • Mark Panganiban's picture
    Mark Panganiban

    What can i use to replace CD4033 for this circuit?
    Can I still use this circuit if I used that replacement instead of the CD4033?

    Oct 24, 2016
  • Maddy's picture
    Maddy

    Please check all the comments above before asking, your question might have answered already.

    Oct 27, 2016
  • Mark's picture
    Mark

    Does the infrared pair need to be close to each other?

    Oct 30, 2016
  • Ebramshah's picture
    Ebramshah

    Hi sir,
    Would I be able to get the codes for this circuit?

    Nov 14, 2016
  • Abhishek's picture
    Abhishek

    There is no micro controller has been used so no Code is there.

    Dec 01, 2016
  • Yi Jia's picture
    Yi Jia

    Hi I wanna ask is it possible that the IR sensor can detect black and white colour? Cause my project is doing black colour for player 1 and white colour for player 2 and if IR sensor detect black colour add 1 mark for player 1 and vice versa.

    Nov 15, 2016
  • Ahmad Ali's picture
    Ahmad Ali

    Hello... I want a help... I want to apply this project on PCB... Can you give me the PCB circuit diagram of this circuit... I really need help... I'll be grateful to you

    Dec 05, 2016
  • Nael Kilani's picture
    Nael Kilani

    Can u tell me plz the value of Pot ?

    Dec 11, 2016
  • Mhel's picture
    Mhel

    Hi this circuit can add down counting or up and down counter thanks

    Dec 25, 2016
  • Sebastian's picture
    Sebastian

    can we use 4017 in place of 4033

    Dec 27, 2016
  • Ahmad's picture
    Ahmad

    can i use IR transmitter and receiver in front of each other as I want to make a tachometer.

    Jan 01, 2017
  • kishor's picture
    kishor

    Hi
    Please help
    For this ckt using microcontroller with LCD interface .output of ic555 conected to the microcontroller then what happen ?
    It can work properly ?
    Please reply

    Jan 08, 2017
  • sepide's picture
    sepide

    hi i ask a question did project has code or not?

    Mar 07, 2017
  • Shreya 's picture
    Shreya

    I am doing this project on PCB bt the routing process finishes only till 95 %, i connot proceed further help me out

    Mar 08, 2017
  • Sheeba kondeti's picture
    Sheeba kondeti

    As cd4033 isn't available in the market can you please suggest a replacement.

    Mar 12, 2017
  • kns's picture
    kns

    we only get common anode 7 segment displays (and IC 9447 decoder). Can u tell me the changes to the circuit?

    Mar 17, 2017
  • Michael's picture
    Michael

    Hi,

    After looking at the circuit, what is the need for the 100K resistor which connects the MR and the INH to ground? Can't seem to work this out.

    Thanks

    Mar 21, 2017
  • DEEPESH PUNJWANI.'s picture
    DEEPESH PUNJWANI.

    Hi.
    How can we add a reset button to reset the circuit. and can we convert the circuit into a bi-directional counter??
    Revert back ASAP

    Mar 26, 2017
  • Psdmech's picture
    Psdmech

    is this circuit really works? is this circuit is simulated and tested

    Apr 02, 2017
  • nisar's picture
    nisar

    do we need to give supply to the 7 segment display where ???
    and also what to do with cc connection in the display

    Apr 04, 2017
  • DEV RATHORE ]'s picture
    DEV RATHORE ]

    sir .
    if object 1st is detected bye the sensor than diaplay on the segment will be it count by 0--to---1
    lets this object again come in reverse direction than what will be the count. Is it bye 1--to--0 ?????

    Apr 06, 2017
  • Arsalan's picture
    Arsalan

    i dont know how are these 7 segment display are connected ...

    May 17, 2017
  • ward hafez's picture
    ward hafez

    hi, thanks for sharing
    if i wanted to reset the count to zero, what should i do??
    ps: the reset signal is from a 60-seconds timer circuit

    many thanks

    May 19, 2017

Leave a comment