7 segment display

 

7segment_display Make a circuit for the upper bar of a seven segment display. This bar has to light up for the numbers 0, 2, 3, 5, 6, 7, 8 and 9.

I converted these numbers into binary codes.

Decimal numeral system Binary numeral system
0 0000
2 0010
3 0011
5 0101
6 0110
7 0111
8 1000
9 1001

 

For the numbers, I made the following Boolean expressions .

0 = (-x1^-x2^-x3^-x4)
2=(-x1^-x2^x3^-x4)
3=(-x1^-x2^x3^x4)
5={-x1^x2^-x3^x4)
6=(-x1^x2^x3^-x4)
7=(-x1^x2^x3^x4)
8=(x1^-x2^-x3^-x4)
9=(x1^-x2^-x3^x4)
I did put all of these together making the following Boolean expression.

((-x1)^(-x2^((-x3^-x4)v(x3^(x4v-x4)))v(x2^((-x3^x4)v(x3^(x4v-x4))))))v(x1^-x2^-x3^(x4v-x4))

With this expression I made this circuit.

7segments

Leave a Reply