L
L
Lici2012-11-08 22:47:50
Do it yourself
Lici, 2012-11-08 22:47:50

Counter + Decoder + Seven-segment indicator?

There is a decoder + seven-segment indicator circuit that I recently soldered habrahabr.ru/qa/27337/ This
is how the schematic diagram of the device looks like : make it so that when the button is pressed, the number on the seven-segment indicator increases by 1. That is, I used to set the binary code using 4 switches, and now the binary code should grow from 0000 with each mouse click, then 0001 and so on. and along with it, the figure on the seven-segment indicator will also grow. The question is how to connect the chip to an existing decoder. The counter datasheet was found: www.chipinfo.ru/dsheets/ic/155/ie2.html

So how?
1) Connect Q1, Q2, Q3, Q4 to the decoder to X0, X1, X2, X3? What to do with connection X0..X3 with plus through 10kΩ and minus through switches?
2) Contact “5 - supply voltage + Up” is connected to our common + 5V line, which is red in my creepy drawing.
3) Why two counter inputs? One down and the other up?
4) How to send a signal to the counter? Short-circuit the counting input to plus with the button? On a minus?
5) Do you need to apply minus to the counter chip somewhere?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
P
PM1630, 2012-11-09
@PM1630

1) Connect Q1, Q2, Q3, Q4 to the decoder to X0, X1, X2, X3? What to do with connection X0..X3 with plus through 10kΩ and minus through switches?
Disconnect from plus through 10 kOhm and minus through switches :)
2) Contact “5 - supply voltage + Up” is connected to our common + 5V line, which is red in my creepy drawing.
Exactly.
3) Why two counter inputs? One down and the other up?
No. In this case, this is not one counter, but two.
The first C1 divides the input frequency by 2, the second C2 divides the input frequency by 5.
You will have to put the first output of Q1 (this is the output of the first counter) to the input of the second counter C2.
4) How to send a signal to the counter? Short-circuit the counting input to plus with the button? On a minus?
On minus.
5) Do you need to apply minus somewhere to the counter chip?
Contact 10.

P
PM1630, 2012-11-09
@PM1630

Sorry, there are not C1 and C2, but C0 and C1, respectively.
In general, the first exit to the second entrance.

O
Ocelot, 2012-11-10
@Ocelot

And do not forget the anti- bounce circuit , otherwise, by pressing the button, the counter will increase not by +1, by +5..+10.

E
elgordo, 2012-12-11
@elgordo

To protect the input from chatter, you can use a one-shot or RS-trigger with a button with flip contacts.
As for connecting the meter, here is the finished scheme for you:
naf-st.ru/articles/digit/decod/
If your task is to learn how to do these things in a more modern way, I would recommend looking at the software implementation of the same task - using a microcontroller.
Even today it is hard to believe that when we were young, we used chips like 155IE5 to build computers. )))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question