Chapter 25. Experiment 25: Enhancing Your Adder

Adding a decimal output to your adder is an easier task than adding a decimal input, so I’ll deal with the output first.

Return of the Decoder

It would be nice to have a couple of seven-segment numeric displays for the output, but they require drivers that use binary-coded decimal (BCD) inputs. In other words, the input to each driver must range from 0000 through 1001 binary (0 through 9 decimal). Your adder has an output ranging from 0000 through 1110 binary, and converting that to run a pair of seven-segment numerals is not so easy.

Therefore, I’ll assume you can be happy with individual LEDs, each of which will represent a decimal value.

To take care of this, we can use the 4-to-16 decoder that you ...

Get Make: More Electronics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.