December 6, 2023

Digital Trends

Technews For Life

NE555-Based Electronic Dice | Hackaday

2 min read
NE555-Based Electronic Dice | Hackaday

It has become a bit of a running joke in the Hackaday community to suggest that a project could or should have been done with a 555 timer. [Tim] has rather taken this to heart with his latest Electronic Dice project, which uses three of the venerable devices.

If three seems like a lot of 555s to make an electronic die, then it may be worth considering that the last time we shared his project he was using 22 of them! Since then, [Tim] has been busy optimising his design, whilst keeping within the constraints of an old-school through-hole soldering kit.

Maybe the most surprising thing about this project is the purpose to which the NE555 devices are pressed. Rather than using them for their famous oscillation properties, they are in actual fact just being used as Schmitt Triggers to clean up the three-phase ring oscillator that is constructed from discrete transistors and passives.

scope trace of the electronic dice ring oscillator
Simulation trace of the three-phase ring oscillator before Scmitt Trigger stages

The ring oscillator cleverly produces three phase-shifted square waves such that a binary combination of the three phases offers six unique states. Six being the perfect number for a dice throw, all that then remains is to figure out which LEDs need to be switched on in which state and wire them up accordingly.

To “roll” the dice, a push-button powers up the oscillator, and stops it again when it is released, displaying the random end-state on the LEDs.

It can be fun to see what can be done using old technology, and educational to try to optimise a design down to the fewest parts possible.

[Tim]’s earlier project is here if you want to see how the design has evolved. The documentation on both of these iterations is excellent and well worth a read.


Leave a Reply | Newsphere by AF themes.