Connect with us

Help with 4510 bidirectional visitor counter

Discussion in 'General Electronics Discussion' started by Limerickr, Mar 17, 2014.

Scroll to continue with content
  1. Limerickr

    Limerickr

    1
    0
    Mar 17, 2014
    I have a project to create a bi-directional visitor counter, it is starting at 99 but isn't counting up or down, anyone have an idea of why!?

    [​IMG]

    [​IMG]

    I have 2 de-bouncing circuits feeding into 2 4510 ic's then into 2 4511 ic's.
     
  2. Arouse1973

    Arouse1973 Adam

    5,165
    1,087
    Dec 18, 2013
    Vss of U2 is connected to the reset pin of U1, is this correct? Also what are you doing with PE, I can't see this on your circuit. What is all the fancy logic gates on the input for.
    Adam
     
  3. KrisBlueNZ

    KrisBlueNZ Sadly passed away in 2015

    8,393
    1,270
    Nov 28, 2011
    That schematic is poorly drawn. I've highlighted some obvious issues I noticed.

    [​IMG]

    The path I've marked with red lines may not be wrong, but the way it has been drawn makes me suspect that the diagram hasn't been checked very carefully and that makes me suspect it has other "real" errors. The connections I've marked with red ovals are at least missing connection dots, and look like they could be wrong as well.

    All of the gate ICs have different circuit references - the four NAND gates are marked U10A, U11A, U12A and U13A, instead of U10A~D. This is another clue that the schematic has issues. In other words, I have little confidence in that diagram. Can you fix it up and re-post it please. Also, the pin functions are barely readable and there are no pin numbers on the ICs. If you only have a printout of it, just make the corrections using a pen and white-out.

    U8A is not needed. A signal that's the opposite of U13A's output is already available on U12A's output, and you can use that instead of wasting an inverter.

    If you've connected your components so they should work, ignoring the diagram, a possible problem is a race condition between the outputs of U6A and U8A. The counters are clocked from U6A and the up/down inputs are fed from U8A. The counter requires that the up/down input is stable for a certain minimum length of time (called the setup time) before the active edge on the clock signal. If both signals change at exactly, or almost exactly, the same time, the behaviour of the counter is not defined. Look at the timing diagrams in the data sheet and Google setup and hold times, and race condition, for more information.

    I haven't checked the connections to the counters because I suspect there are errors in the schematic and because the pin functions are barely readable.

    P.S. Welcome to Electronics Point :)
     

    Attached Files:

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-