Colorful Arduino Dice

Introduction: Colorful Arduino Dice

Hello, today I will be showing you how to make an easy little project with the Arduino board. This is a simple project called Arduino Dice which will help you to get a basic understanding of Arduino and it's coding. This project will help to learn about homemade LED DICE. Also, you will own a special dice. In the code I have listed below the homemade function "one" will turn on one random led if the number is 1. The same thing will happen if the number is 3,4,5 or 6, the function that is connected to the number will select the number of LEDs that will light up. Homemade functions help you save time in your code and if you learn them they will help to organize your codes for future projects.

Supplies

- One Arduino Uno and Genuino Board

- Generic Breadboard

- Generic jumper wires( Short ones preferred )

- 220-ohm resistor x9 - x9 LEDs of any color

Step 1: The Materials You Will Need in This Project

- One Arduino Uno and Genuino Board

- Generic Breadboard

- Generic jumper wires( Short ones preferred )

- 220-ohm resistor x9

- x9 LEDs of any color

- an Arduino's button

Step 2: Creating the Circuit

Step 3:

code link: https://create.arduino.cc/editor/annahuang/5e5ac948-6002-4b1d-b315-fe498af543d9/preview

Be the First to Share

    Recommendations

    • Halloween Contest

      Halloween Contest
    • Space Contest

      Space Contest
    • Tinkercad Student Design Contest

      Tinkercad Student Design Contest

    Comments