Close

DDL03 7-Segment Encoding ROM

A project log for The Diode Clock

A digital clock built with Diode-Diode Logic (DDL), a quirky new logic family using only common diodes and passive components.

ted-yapoTed Yapo 05/16/2016 at 20:534 Comments

The design for the 7-segment encoders is trivial: they're just diode ROMs. So, of course, it took me three spins of the board to get it right!

On the far left is the DDL 1.x encoder board, designed for numerals 0-9 only. In that design, the segment drivers were to be non-inverting, so a diode was required in the matrix for every lit segment. In the middle was the first spin of the encoder for DDL 2.x. Since I had extra room on the new DDL board size, I added AbCdEF to the matrix, so hexadecimal could be displayed. It's not used on the clock, but it would be perfect for the display on a simple computer. While those boards were being fabbed, I re-designed the segment drivers to use inverting logic - now a diode is required for each segment that is off. Another spin. Conveniently, the final version uses far fewer diodes. I had never realized the disparity between the number of on and off segments on a display before. There's probably something deep about the information efficiency of 7-segment displays in there somewhere. But I can't find it.

If you need a place to park 34 diodes, you can:

Next up: the power supply. Fast, powerful MOSFETs.

Discussions

Yann Guidon / YGDES wrote 04/04/2018 at 06:39 point

Daaaamn I can't add individual pages to a list....
https://hackaday.io/list/116456-hexadecimal-displays

  Are you sure? yes | no

Ted Yapo wrote 05/17/2016 at 00:37 point

Diodes are so much easier: there's only two ways they can go in - if  it doesn't work, just flip it around.  With transistors, you've got *six* ways to try!  I don't have time for *that* kind of nonsense :-)


I found an online copy of the book where I first saw diode ROMs in the early 1980s:

https://www.modmypi.com/download/BuildYourOwnZ80.pdf#page=122
Brings back fond memories.


I also remember seeing an old encoder from the 1960s that used lamps and CdS photocells - one lamp per input, with a coupled photocell for each lit segment - maybe it was for numatron tubes?  Of course, now I can't find anything about it.  Darn internet.

  Are you sure? yes | no

Jason Clark wrote 07/10/2022 at 14:57 point

That link appears to be dead, archive.org to the rescue:  https://archive.org/details/BuildYourOwnZ80ComputerSteveCiarcia/Build_Your_Own_Z80_Computer_Steve_Ciarcia/page/n119/mode/2up

  Are you sure? yes | no