1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

up/down counter circuit

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by hafi2_07, Dec 15, 2007.

  1. hafi2_07

    hafi2_07 New Member

    Joined:
    Dec 14, 2007
    Messages:
    11
    Likes:
    0
    hi..i'm working with the counter project now..i'd like to design up/down counter circuit with number 0-99....the circuit must have up switch and down switch...

    ex: initial zero...push switch up...display '1'....and push again, displays '2' and continuous.....then whwn i push down switch....the counting should be decrease...say that i'm at 30 now..when i push it..the counting will be '29' and the process countinous....

    another switch is when we push it..the 7seg will display 'FL'.....

    any circuit..??plz up if you have....also up the thread/link/website with the similar project..tq
     
  2. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi,
    Your project could be solved by using a small PIC controller, something like a 16F628A.

    If you are able to use a PIC, let us know and we can link you to a thread.
     
  3. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Up/Down counter

    You can also make an U/D counter using a 74LS192, a synchronous binary U/D counter. If you don't need the preset values just don't wire them. Keeping "up" input high and clocking "down" input it will count down and it will count up keeping input "down" high and clocking "up". They can easily be cascaded by using "carry" and "borrow" outputs to clock the next stage.

    A 74LS47 will decode the 4bit binary outputs to seven segement common cathode displays, using a 74LS48 the sixes and nines will have tails.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE

    hi,
    Problem is, the OP wants some non numeric symbols displayed.
    As you say, the rest is fairly easy to do.
     
  6. RetiredHAL

    RetiredHAL New Member

    Joined:
    Oct 18, 2007
    Messages:
    75
    Likes:
    3
    Location:
    Victoria, Australia
    Hafi2 . You said you only wanted to count 00 - 99 and display "FL" .
    That means you only use TWO 7 segment displays. The BCD/Decadic counters will do the counting for you. Displaying of "FL" is probably most easily achieved by making your own matrix of diodes to address the required segments. Eg F would require to address segments A,F,G,E and L would require segments F,E,D . If you require more letter combinations eg LS or HC it will become much more difficult (lots of diodes) and be aware that you cannot display all characters with a 7 segment display. EG an A will be the same as an R. And a Q or T is impossible, but you probably already thought of that.
    A 4510 will do the counting in BCD up/down and a 4511 will decode the the BCD to drive the segments in the display.
    More experienced members can probably suggest easier ways.
    Cheers
    RH
     
  7. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Supposedly he is not an egytian and wants the display in hyroglyphes. What about counting up to "29" as posted and then reverse the direction to count down?
     
  8. ericgibbs

    ericgibbs Well-Known Member Most Helpful Member

    Joined:
    Jan 4, 2007
    Messages:
    21,235
    Likes:
    645
    Location:
    Ex Yorks' Hants UK
    ONLINE
    hi boncuk,
    No problem with the decimal up/down, 00 thru 99, its the 'alpha' characters where he will need extra decoding to light the LED segments for 'FL' etc.

    Why dont you post a circuit diagram for him..?:rolleyes:
    For glyphes, I would use a 8 * 8 LED matrix.
     
  9. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand
    Hi Eric,

    I must admit that I didn't understand completely what was meant "using another switch". The way I understand it the extra switch has to take care of the letter indication. If it's just that there isn't a problem to post a circuit.

    That one uses one common current limiting resistor. If he has more money to spend he might use separate resistors for each LED.
     
    Last edited: Jul 7, 2008
  10. hafi2_07

    hafi2_07 New Member

    Joined:
    Dec 14, 2007
    Messages:
    11
    Likes:
    0
    my project still not working.....i've construct the circuit using multisim....but not working...anyone else could help me..???i have little knowledge in electronix....so complicated explanation sometimes i not understand.....:)
     
  11. jui date

    jui date New Member

    Joined:
    Jan 9, 2008
    Messages:
    1
    Likes:
    0
    hi
    i just wana ask that,if i want to design up/down counter till 1,000....then how is it possible......then should i cascade 74LS47 ICs?....please reply as early as possible
     
  12. angst

    angst New Member

    Joined:
    Jan 19, 2008
    Messages:
    2
    Likes:
    0
    ei,..anyone please HELP me,.i need a schematic diagram of counter 00-99 7segment display,.please pm me or email me at eiluj_872001@yahoo.com,.tnx,...,.
    ,.i need it asap,..
     
  13. jumides

    jumides New Member

    Joined:
    Dec 13, 2007
    Messages:
    101
    Likes:
    0
    Last edited: Jan 19, 2008
  14. RetiredHAL

    RetiredHAL New Member

    Joined:
    Oct 18, 2007
    Messages:
    75
    Likes:
    3
    Location:
    Victoria, Australia
    Hafi2 07
    I have a cct for you, sorry I took so long Ive been on holidays but I wanted to build it so that I would not give you a cct that did not work. It counts up and down from 00 to 99 and has a reset to 00. Tomorrow I will get on the FL part. The question is do you require to keep the count when you display FL? or do you display FL and do a reset to 00?
    By the way although the cct is reasonably simple. the actual construction is quite difficult, roughly 100 -120 connections to solder depending on which way you route the connections.

    Cheers RH
     
  15. hafi2_07

    hafi2_07 New Member

    Joined:
    Dec 14, 2007
    Messages:
    11
    Likes:
    0
    thanks retiredHAL.... i am require to keep the counting....and not reset to 99...thank u for replying....

    for others..thanks also....i have try out foe several circuits....unfortunately they are never works....

    retiredHAL...thanks foe helping me...
     
  16. jumides

    jumides New Member

    Joined:
    Dec 13, 2007
    Messages:
    101
    Likes:
    0
  17. RetiredHAL

    RetiredHAL New Member

    Joined:
    Oct 18, 2007
    Messages:
    75
    Likes:
    3
    Location:
    Victoria, Australia
    Hi, Hafi2_07 here is the circuit, I tried to upload last night but my ISP had problems.
    The cct is built and tested. it counts up and down from 00-99 backwards or forwards. It keeps the count or you can keep counting while FL is displayed.
    It resets to 00 if you wish. I had to use 4029's as I could not get 4510's.
    i used a 555ic to develop a pulse for counting as the switch was very noisy and cused extra pulse to be counted. r 555/2 and c555/1 can be altered if your switch is extra noisy. I selected these values to give a fast reliable count. If you really are counting very fast then yo can probably lower these values. C switch delay 22UF is to allow the display to blank before displaying FL.
    More experienced persons will probably find more elegant ways to do some things, but this circuit works well as it is. I have built and tested it.
    Enjoy, btw what will you use it for and what does FL stand for.
    As I said before the cct is reasonably simple but the construction is a "*****".(About 140 solder joints)

    Cheers RH
     

    Attached Files:

    Last edited: Jan 21, 2008
    • Like Like x 1
  18. motherhugger

    motherhugger New Member

    Joined:
    Mar 3, 2008
    Messages:
    4
    Likes:
    0
    tnx for the great effort

    what other ICs cn i use??

    is it ok to use ne555n?74ls192? because the availability of these IC in my place is rare
     
  19. hafi2_07

    hafi2_07 New Member

    Joined:
    Dec 14, 2007
    Messages:
    11
    Likes:
    0
    thanx retiredHAL....i think u r really smart in electronics...

    i'll try this circuit and then will inform u later....

    thanx very much
     
  20. dican

    dican New Member

    Joined:
    Mar 16, 2008
    Messages:
    1
    Likes:
    0
    to...retiredhal

    -- can you help me on the crct of 74ls192
    --my problem is to design crct 00-99 up down counter.....
     
  21. RetiredHAL

    RetiredHAL New Member

    Joined:
    Oct 18, 2007
    Messages:
    75
    Likes:
    3
    Location:
    Victoria, Australia
    Dican, sorry, I have never used a 74lsxxxx IC so I would be giving you the wrong info. However, apart from the voltages there should be no problems using 74Ics as they are basically the same (I believe). The cct using 4XXX ICs works. Substitute the equivalent 74xxxx IC (look at the data sheets) and you should be able to construct the same. OR use the the cct I supplied --- it works!!

    NB, I had never used an 4000 IC before this project (up/down counter) so I learned using the data sheets. It really is not so difficult and there are any number of 555 IC tutorials to help you to "debounce" the switch.(stop it from counting noise pulses) and give the wrong count. (I used this project as a learning experience for my next project) I learned a lot. Give it a go yourself.

    Cheers RH
     

Share This Page