+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 18

Thread: adjustable 2 digit 7-segment counter

  1. #1
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default adjustable 2 digit 7-segment counter

    Hello. I am doing a project where i have to make a circuit that will allow me to adjust two 7-segment displays with two buttons. One button for increasing the number on the connected displays and one button for decreasing the number.

    What components do i need and how do they need to be connected?

    I don't know how to use programmable chips so don't suggest that please.

    Any help will be appreciated


  2. #2
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Search for "Up Down Counter Circuit" within this forum.

  3. #3
    MrDEB Excellent MrDEB Excellent MrDEB Excellent MrDEB Excellent MrDEB Excellent MrDEB Excellent
    Join Date
    Apr 2007
    Posts
    2,135

    Default heres a start that should help

    first look at the cd4029 ic
    then look at these two circuits
    the power supply circuit HAS the circuit your wanting to build. just figure out what to eliminate and combine from the two circuits.
    pretty simple
    Simple Digital Counter - doc00021


    Electronics for You-Circuit Lab- Free and tested circuit diagrams-15-Step Digital Power Supply
    good luck.
    when you think you have a design then come on this forum and ask.
    the great people on here don't design from the ground up but will help in avoiding smoke creating mistakes.

  4. #4
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Thanks for replying. But i am not sure you have understood what i wanted to make.

    The two buttons has to adjust the 7-segment display only by pressing the buttons. So if i press the up button it only goes 1 higher for every time i click it, and the same with the down button.

    Alternatively it could work so that as long as i hold down the up button it counts up, and when i hold the down button it counts down, but when i'm not clicking any of the buttons it needs to stay at the number it's at.

    Can i use the CD4029 ic for that?

  5. #5
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,836
    Blog Entries
    13

    Default

    Quote Originally Posted by DuffyHimself View Post
    Thanks for replying. But i am not sure you have understood what i wanted to make.

    The two buttons has to adjust the 7-segment display only by pressing the buttons. So if i press the up button it only goes 1 higher for every time i click it, and the same with the down button.

    Alternatively it could work so that as long as i hold down the up button it counts up, and when i hold the down button it counts down, but when i'm not clicking any of the buttons it needs to stay at the number it's at.

    Can i use the CD4029 ic for that?
    hi,
    If you want to drive 7seg displays from the up/down counter look at the CD40110 ic.
    Its an up/dwn counter with inbuilt display drivers.

    Datasheet Archive - Free Datasheet Search Engine - PDF Datasheets - Data Sheet - Datasheet - Application Note - Free Texas Instruments Samples

    OK.?
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

    Link to my Articles: http://www.electro-tech-online.com/a...icgibbs-55450/

  6. #6
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,826
    Blog Entries
    1

    Default

    CD40110BE Datasheet - CMOS Decade Up-Down Counter/Latch/Display Driver
    Looks like it might work for you well for you.
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  7. #7
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,826
    Blog Entries
    1

    Default

    Woops, sorry Eric =) Great minds think alike, apparently so do ours =\
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  8. #8
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Quote Originally Posted by ericgibbs View Post
    hi,
    If you want to drive 7seg displays from the up/down counter look at the CD40110 ic.
    Its an up/dwn counter with inbuilt display drivers.

    Datasheet Archive - Free Datasheet Search Engine - PDF Datasheets - Data Sheet - Datasheet - Application Note - Free Texas Instruments Samples

    OK.?
    Exactly what i need! Thank you so much. And thank you as well Sceadwian.

  9. #9
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Hello again.
    First i have a question. When the counter is on 9 and it goes one up does it go to 0 and sends a signal to carry, or does it keep counting to 15 and sends signal to carry when it resets at 16?

    When I've got this set up I need to change the seven segment code from the outputs of the two CD40110, into digital code, so I can connect it to a DAC to get a voltage that changes up or down with the counter. Can i do this? Or do i need to get an IC similar to CD40110, that has a digital output instead of 7-segment?

  10. #10
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,826
    Blog Entries
    1

    Default

    Do you still need the display? If not just use an 8 bit up/down counter. If you want the display AND the digital output it's a little more complicated because the CD40110 isn't smart enough to be able to set itself to 255 if you decrement from 0. I'm not sure how you would go about it, at that point I would use a micro controller as all these problems go away because it can all be done in code on a single chip.
    Last edited by Sceadwian; 26th March 2009 at 01:00 PM.
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  11. #11
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    I can't code so that isn't an option.

    I'm basically doing a college exam project where we gotta have 2 sets of displays.
    We will use an op-amp to compare the output from the two DAC converters that will be connected to the display sets. Both display sets will be done in the way mentioned in this thread. So we need two buttons for each set (up down) that will change to number on the displays and also change the digital input to the DAC converters. To make things simple we can manage with a 4-bit code, so the displays can go between 0 and 15.

    The digital input to the DAC converters doesn't have to come from 7-segment code, but with the CD40110 IC there isn't any digital output.
    Last edited by DuffyHimself; 26th March 2009 at 01:20 PM.

  12. #12
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    My classmate has found another IC we could possibly use, but we aren't sure.

    The IC is 74F193 (http://www.fairchildsemi.com/ds/74%2F74F193.pdf)
    As far as we can understand it can do the same manual up down count as the CD40110 and it gives a digital output rather than a 7-segment code - but it says that it will change to 0 (and send signal through carry) after 15, and not after 9 as we want it to. Is it possible to make it change after 9 instead of after 15?

  13. #13
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,836
    Blog Entries
    13

    Default

    Quote Originally Posted by DuffyHimself View Post
    My classmate has found another IC we could possibly use, but we aren't sure.

    The IC is 74F193 (http://www.fairchildsemi.com/ds/74%2F74F193.pdf)
    As far as we can understand it can do the same manual up down count as the CD40110 and it gives a digital output rather than a 7-segment code - but it says that it will change to 0 (and send signal through carry) after 15, and not after 9 as we want it to. Is it possible to make it change after 9 instead of after 15?
    Use a 74LS190 or 74LS192 or HEF40192 BCD not Binary.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

    Link to my Articles: http://www.electro-tech-online.com/a...icgibbs-55450/

  14. #14
    Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent Sceadwian Excellent
    Join Date
    Oct 2006
    Location
    Rochester, NY U.S.
    Posts
    9,826
    Blog Entries
    1

    Default

    Duffy, ANYONE can code in basic. They taught basic in my 5th grade class. With a list of functions you can use and 10 minutes of studying a basic programming primer you can have working code, don't sell yourself short and be stubborn about a perfect solution because you're reticent to try out new things.
    "Because I be what I be. I would tell you what you want to know if I
    could, mum, but I be a cat, and no cat anywhere ever gave anyone a
    straight answer, har har."

  15. #15
    DuffyHimself Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Hello again.
    We decided to go with the 74LS192. But now we can't get it to work.
    We have connected it like this:
    Pins:
    1, 9, 10, 12, 13, 14, 15 : nothing
    2, 3, 6 & 7: BCD to 7 segment converter (74LS47)
    4: Up counter button
    5: Down counter button
    8: Ground
    11: Positive input
    16: Positive input

    Is this correct?

    Also do i read the datasheet correctly, in thinking that the digital output goes one up or down every time one of the button inputs changes from high to low voltage? And that the other button input has to be on high when this change occurs?

    Also if it needs to be done like just mentioned i have another question.
    We have a button with a spring in it, so that when you push it down it closes the circuit, and then when u lift the finger it breaks the connection. But if we need the other input to be on positive we need the buttons to break the connection rather than closing it. Is it possible to do this with the buttons we have? Or do we need to get some buttons that break the circuit when pressed? And if so, what are they called?

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. 2 digit 7 segment display..
    By overmind in forum Micro Controllers
    Replies: 12
    Latest: 17th January 2008, 03:34 AM
  2. Two Digit, 7 Segment Display Counter For A Hand Steady Game
    By stevo2005 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 11th January 2007, 10:07 PM
  3. 2 digit 7 segment display
    By soryo in forum General Electronics Chat
    Replies: 10
    Latest: 14th August 2006, 04:17 PM
  4. 4-digit seven segment display
    By s2301931 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 20th April 2006, 06:57 AM
  5. Single digit 7 segment VF displays
    By Eclipsed in forum General Electronics Chat
    Replies: 6
    Latest: 12th July 2005, 03:57 AM

Tags for this Thread