Answer the question
In order to leave comments, you need to log in
Connecting the indicator to the decoder of the binary code to decimal?
The ultimate goal: to assemble a device on which you can set a binary code of the form 1 0 0 0 using 4 switches and get a number from 1 to 9 in the binary system on a digital seven-segment indicator.
Here is www.chipdip.ru/video.aspx?vid=ID000316270
What is:
1) KR514ID2 chip tec.org.ru/board/127-1-0-470 2
) Digital indicator, the common channel of which, so that the indicator works , you need to connect to the plus, which means it is, in theory, with a common anode, like a microcircuit (this has been established experimentally and all outputs have already been numbered). Works from 3 volts, from 1.5 volts does not work. The color is yellow or green, I can't say for sure.
3) Every little thing, hands / tools. What is the problem:
Here is the wiring diagram
tec.org.ru/_bd/4/42148.jpg
I can connect all A, B… G with the corresponding pins of the indicator. I will select resistors empirically for reasons of "maximum resistance at which it works at sufficient brightness."
But what I don’t understand:
1) How to send a signal to 4 input channels of the microcircuit? Connect to them the minus of the 5V battery that is connected with the plus to the 14th pin of the microcircuit tec.org.ru/_bd/4/07489.gif (Ucc - power supply + 5V)? Or connect to them the minus of that battery, the plus of which is on the common output of the dial?
2) How where and what power to connect? Well, let's say I find or assemble a 5 volt battery, as requested by the datasheet of the microcircuit and connect it plus to output number 14 (Ucc) and minus to number 6 (Gnd), will that be correct? And 7 wires from A, B ... G will go to the digital indicator, and then what should be connected to the common channel of the dial?
In general, I can connect pins A, B, C ... G, but I don’t know how to do the rest, tell me pliz.
Answer the question
In order to leave comments, you need to log in
One power supply is needed: 5 volts. It is better not to bother with batteries, but to take the appropriate power supply (adapter) or be powered from USB.
Plus 5V is connected: to the common anode of the indicator, to the 14th leg of 514ID2, to the input pull-up resistors (see below)
Minus 5V is connected to: to the 6th leg of 514ID2, to the common wire of the input switches (see below)
How to apply a signal to the inputs? Each of the inputs (X0-X3) must be supplied with either + 5V (for one in this digit), or shorted to ground (for zero). The easiest way to do this is to connect the input to +Vcc through a pull-up resistor (about 10kΩ) and to ground through a switch. The contact is closed - at the input "0", open - + 5V through the resistor.
Thus, 4 more resistors and 4 switches are needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question