Introduction: 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/

Step 1: 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

Step 2: 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)

Step 3: 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.

Step 4: Code

Last, when you are done building the circuit and making the cover, input the Arduino code by open it in your Arduino software.

Step 5: 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