BCD to XS3 Encoder (2)

Hi community! Today's project is gonna be about a BCD to XS3 Encoder! We will add a 7 segment for display! So let's not waste any time and dive in!

Figure 13. K Map J0
Figure 14. K Map K0
Figure 15. K Map J1
Figure 16. K Map K1
Figure 17. K Map J2
Figure 18. K Map K2
Figure 19. K Map J3
Figure 20. K Map K3

Next, all the algebraic functions obtained by the K maps are presented in order:

Figure 21. Equations from the K Maps

We now make the circuit with logic gates:

Figure 22. 0 to 9 counter circuit using JK flip flops
Figure 23. Simulation of the 0 to 9 counter circuit using JK flip flops (Yellow signal is the clock signal, Light blue signals are the outputs)

Next, the same test will be done, only by adding the clock at the input of the circuit, the difference in the values of the period will be seen.

Figure 24. 0 to 9 counter circuit using JK flip flops and the Clock
Figure 25. Simulation of the 0 to 9 counter circuit using JK flip flops and the Clock (Yellow signal is the clock signal, Light blue signals are the outputs)

The behavior of the circuit could be perfectly appreciated and it was seen how the flip flops perform the specified function thanks to the truth table. The difference was also appreciated when adding the clock and not adding and only forcing the clock, when simulating it is nice to see the period a little more displaced but when uploading it to the card it must be done correctly with the period determined

Circuit 7 Segments XS3

As in the last section, we must go through the construction of this circuit step by step for its understanding, this circuit is based on showing the numbers from an Excess to 3 on a 7-segment display, this from theory tells us that if the input is 0 the output should give us a 3, if 1 enters, the output will be a 4 and so on until reaching 9, after reaching 9 a condition is given that from this number will begin to show the letters H and U duly interspersed, as this circuit is next to our 0-9 counter, only HUH will be displayed, since after this the circuit will reset and return to the original state counting from 0 to 9. First, the truth table is made:

Figure 26. Truth table of circuit inputs

It can be seen that in the name of each column of the table is the output/input of the corresponding circuits, when Qn means the output of the previous circuit and Vn the input of the 7-segment circuit.

Figure 27. Truth table of circuit outputs

You can clearly see the outputs from A to G, this is thanks to the 7-segment nomenclature as shown below, if a letter has 1 it means that that section of the 7-segment will be illuminated, while if a 0 appears it will be off.

Figure 28. 7 Segments Theory

The creation of the K maps to obtain the algrebraic functions begins:

Figure 29. K Map A
Figure 30. K Map B
Figure 31. K Map C
Figure 32. K Map D
Figure 33. K Map E
Figure 34. K Map F
Figure 35. K Map G