The starting idea here is a nice one: rescue the LED display panels from old DVD players and give them a second life as working clocks. Jose Luis Monteiro | Electronics uses three salvaged front panels, each built around a 28-pin SOP driver marked TM1628 or SM1628, and runs all of them from Arduino Uno boards through a solderless breadboard.
The wiring is kept simple and tidy: jumper wires, 220-ohm current-limiting resistors, pushbuttons and status LEDs. Each panel has a four-digit multi-segment LED display with auxiliary media icons, and talks to the Uno over just three control lines: data in, clock and strobe. The close-up work stands out, with solder connections, button readout codes and reverse-engineered bit-to-segment arrays all shown in detail.
What makes this build genuinely instructive is the code structure. A 16 by 2 table titled segHexNumber[16][2] holds the segment data, and the differences between panels live mainly there and in the updateDisplay function. That matters because each salvaged board routes segment lines to digits differently, so every panel needs its own RAM address mapping. Three code versions are presented side by side to highlight those differences, and code for all three models is linked on GitHub, with the datasheets from Shenzhen Titan Micro Electronics shown along the way.
One wrinkle worth noting: TM1628 and SM1628 share pinouts and initialization commands, but one uses two bytes per digit, so code is not drop-in identical across chips. As for an open question, the pushbuttons are on the breadboard, and using them for time adjustment seems like the natural next step, though that has not been shown yet. Watching the three panels count up as synchronized digital clocks is a satisfying payoff.
Project by Jose Luis Monteiro | Electronics. Watch it on their YouTube channel: