Electronic Dice

In this project, you will build on the Rainbow LED project by turning the JackBord into a dice. Using the random function to generate a number and assigning each LED a value (all 5 lit up represents six) makes a very simple electronic dice.

Just like the Rainbow LED Display project, we use the same circuit and connect the TOP LEDs to Port A on the JackBord. This time we control the LEDs via a program rather than the command line.


This means that we don’t have to manually enter commands every time we want the LEDs to light up, but the program also allows us to give the LEDs a practical function which is, in this case, giving a number between 1 and 6.

Project Gallery