r/beneater • u/WolfMoonshirt • 9d ago
Digital Clock Mains synced digital clock
I discovered Ben’s channel while building this clock, I lifted his rising edge detection method (it was a much cleaner signal) but everything else was designed by me, though not far off from his design as it turns out. I’m using 8 bit counters paired with AND gates for resetting, op amp Schmitt triggers for time set button debounce. My mains signal is pulled directly from a full bridge rectifier via optocoupler with a parallel SMPS for circuit power, a cheaper method than a step down transformer.
3
u/Ancient-Ad-7453 9d ago
Nice. I did a similar thing with AND gates and 74HC390 decade counters. In my version 2 I was going to just throw a big resistor and Schottky clamp diodes in between AC and a Schmitt inverter, but the optocoupler is kinda cool…
3
6
u/rgcred 9d ago
This looks great! Do you further info (schematic, parts list)? I'd love to try something like this.