Red LED Dice

by Bolun Chang in Workshop > Lighting

219 Views, 0 Favorites, 0 Comments

Red LED Dice

LED Dice

This machine can help people to come out a number of 1-6 by using LED lights.

The original work: https://www.instructables.com/Arduino-LED-Dice-Rol...

I changed one part to let people can choose when they want to roll the dice, instead of let the machine roll by itself.

Supplies

LED lights*7

Button*1

Some Wires

Connect the Circuit

IMG_7624.jpg
IMG_7628.jpg
IMG_7629.jpg

Connect LED lights and Arduino Leonardo, and also add a button beside those LED lights.

Code

截圖 2020-11-25 上午9.40.36.png
截圖 2020-11-25 上午9.40.53.png
截圖 2020-11-25 上午9.41.04.png
截圖 2020-11-25 上午9.41.11.png
截圖 2020-11-25 上午9.41.16.png

https://create.arduino.cc/editor/bolunchang/1d74bc...

I add a button on this machine, than we can choose when do we want to roll the dice.