Está en la página 1de 4

Decodificador de 7 segmentos

Para desarrollar y simular un convertidor de hexadecimal a 7 segmentos utilizando mapas K,


primero necesitamos entender cómo se relacionan los dígitos hexadecimales (0-15) con los
segmentos del display de 7 segmentos. Un display de 7 segmentos tiene siete segmentos (a, b,
c, d, e, f, y g) que se pueden encender o apagar para mostrar números o letras. Aquí está la
correspondencia entre los dígitos hexadecimales y los segmentos:

f b

e c

El objetivo es encontrar las ecuaciones simplificadas para cada segmento (a, b, c, d, e, f, g) en


función de las entradas hexadecimales (A, B, C, D) utilizando mapas K.

Primero, definiremos las minterminos para cada segmento a partir de la tabla de verdad. Luego,
simplificaremos las ecuaciones utilizando mapas K. Aquí está la tabla de verdad para un
convertidor de hexadecimal a 7 segmentos:

El objetivo es encontrar las ecuaciones simplificadas para cada segmento (a, b, c, d, e, f, g) en


función de las entradas hexadecimales (A, B, C, D) utilizando mapas K.

Primero, definiremos las minterminos para cada segmento a partir de la tabla de verdad. Luego,
simplificaremos las ecuaciones utilizando mapas K. Aquí está la tabla de verdad para un
convertidor de hexadecimal a 7 segmentos:
you have 5 input lines and you need output lines

now let lines are


d0 lsb
d1
d2
d3
d4 msb

connect d3 and d4 to 2-to-4 line decoder


connect d0, d1, and d2 to all 3-to-8 line decoders.

Now connect output of 2-to-4 line decoder to enable pins of 3-to-8 line decoders such that
the first output makes first 3-to-8 line decoders enable.

thats it 32 output of 3-to-8 line decoders are your required outpu


Let’a solve it methodically.

5–32 decoder means that only one output will be active out of the 32 output.

First step - you need 32 outputs so use 4 3–8 decoders. Each one will use the 3 LSB controls of
the 5 input signals.

Since they will output 4 active outputs you will need to to control the enable pin so only 1 will be
enabled. Use a 5th decoder to choose the correct one according to the 2 MSB inputs.

Since you don’t have a 2–4 decoder just use a 3–8 decoder while you tie the 3rd input to either
0 or 1 and adjust the outputs accordingly. One easy to understand way is to tie the MSB input of
the decoder to 0, use the two MSB inputs as the low ones and use the low outputs as the
enables.

The drawing now is easy.

You can use this method for all of these type of problems.

También podría gustarte