Build an Arduino Dice Rolling Machine
by yutunghsu in Circuits > Arduino
43 Views, 0 Favorites, 0 Comments
Build an Arduino Dice Rolling Machine
In this tutorial, you will learn how to build an Arduino Dice Rolling Machine. You can generate a number randomly from 1 to 7 by pressing the button of the machine. The machine is very simple and easy, scroll down and you will see the materials, steps, and the code for the machine.
The Source: https://www.instructables.com/How-to-Build-a-Colorful-LED-Arduino-Dice/
Material
Before building the dice rolling machine, you need to prepare all the materials needed to prevent missing steps.
These are the materials needed:
- x1 Breadboard
- x1 Arduino Leonardo
- x7 LED lights
- x8 resistors
- x12 or more Wires
- x1 USB cord
- x1 Arduino Software
- x1 Laptop
Attach LED Lights, Button and Wires
Attach 7 LEDs and a button to the breadboard, see the picture and photos as the sample so you can connect it easily. Make sure you don't mess the rows up so it can work.
(the first picture is from the source)
Make a Cover
Next, create a cover for your machine. You can simply place the Arduino inside a box and decorate it. Do any cover you want and make your own special cover for the machine. Also, here is my cover, you can use it as a sample.
Code
Last, when you are done building the circuit and making the cover, input the Arduino code by open it in your Arduino software.
Downloads
FINISH~
Now you are done with the Arduino dice rolling machine! Make your own changes to it if you want to.
This is dice rolling machine working