Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Tools
Old 13th March 2009, 11:57 AM   #1
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
DuffyHimself is offline  
Old 13th March 2009, 11:59 AM   #2
Default

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

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 13th March 2009, 01:14 PM   #3
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.
MrDEB is online now  
Old 19th March 2009, 01:45 PM   #4
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?
DuffyHimself is offline  
Old 19th March 2009, 02:02 PM   #5
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/
ericgibbs is offline  
Old 19th March 2009, 02:13 PM   #6
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."
Sceadwian is online now  
Old 19th March 2009, 02:13 PM   #7
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."
Sceadwian is online now  
Old 19th March 2009, 02:44 PM   #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.
DuffyHimself is offline  
Old 26th March 2009, 01:37 PM   #9
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?
DuffyHimself is offline  
Old 26th March 2009, 02:00 PM   #10
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.
__________________
"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."

Last edited by Sceadwian; 26th March 2009 at 02:00 PM.
Sceadwian is online now  
Old 26th March 2009, 02:18 PM   #11
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 02:20 PM.
DuffyHimself is offline  
Old 26th March 2009, 02:24 PM   #12
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?
DuffyHimself is offline  
Old 26th March 2009, 02:35 PM   #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/
ericgibbs is offline  
Old 26th March 2009, 02:44 PM   #14
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."
Sceadwian is online now  
Old 3rd April 2009, 01:53 PM   #15
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?
DuffyHimself is offline  
Reply

Tags
7segment, adjustable, counter, digit

Thread Tools
Display Modes


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



All times are GMT. The time now is 07:41 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker