image thumbnail

Electronic Dice

version (983 KB) by Techsource Technical Team
Displays DICE output on LEDs with Arduino


Updated 12 Aug 2015

View License

This Arduino project displays the DICE count on an LED array. The LEDs will illuminate just like how a dice will display its values. The randomness of the dice is simulated using the random number generation block. The timer is controlled with a Stateflow chart. The selection of LEDs to be lighted up based on the final digit displayed by the dice is done using a truthtable.

Adapted from Simon Monk's "30 Arduino Projects for the Evil Genius".

Cite As

Techsource Technical Team (2022). Electronic Dice (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!