This page contains photos, oscilloscope screenshots, and short videos from the Discrete Digital Clock project.

Finished clock

Wall mounted clock

The finished Discrete Digital Clock mounted on the wall.


50 Hz signal

50 Hz signal

Oscilloscope capture of the 50 Hz reference signal from power-line.

50 Hz signal photo

Photo of the 50 Hz signal measurement during testing.


PWM brightness control

PWM maximum brightness signal

PWM signal when the display brightness is set to maximum.

PWM minimum brightness signal

PWM signal when the display brightness is set to minimum.


Multiplexer signal (max brightness)

Multiplexer signal

LTspice capture of the multiplexing signal used to switch between the display digits. This was not measured on the real circuit because I did not have enough oscilloscope probes. In the real circuit, it behaves similarly, but with much smaller spikes due to wire resistance, capacitance and inductance.

Signals M0, M1, M2, and M3 act as the power or enable outputs for the individual display digits. The SC_ON (PWM) signal disables the currently active digit when it goes high and advances the multiplexer count. The next time SC_ON goes high, the next digit is enabled. During the disabled time, all transistors in the decoder and selector have enough time to settle and generate the correct signal before the next digit is turned on. Multiplexer signal close up

Close-up view of the multiplexer signal where it swiches.

Video showing the effect of adding an additional capacitor to the PWM timing capacitor to decrease frequency.


Power supply ripple

Power supply ripple

Oscilloscope capture showing ripple on the linear drooper output during operation when all digits are 0. This little oscilation hapenes when miltiplexer swiches.


Power supply Phase Margin

Phase margin diagram

The linear drooper has a simulated phase margin of about 56° at 200 mA. It was tested from 0 mA to 500 mA and remained stable across the full load range. The low-frequency loop gain is around 20 dB, which is modest compared with common regulator ICs, but this circuit achieves it with only six transistors while keeping the dropout voltage low.


ESP32 Wi-Fi clock setter

This is ESP32 WiFi Clock Setter addon you can download code from addons folder. ESP32 sets the clock time when it boots by using the additional headers, which act like the hour and minute increment buttons.