Arduino Leonardo Dice

by skr skr skr in Circuits > Arduino

232 Views, 0 Favorites, 0 Comments

Arduino Leonardo Dice

IMG_1301.JPG
BD-BB-0508-0-1-1-800x800.jpg
BBJ65.jpg
384b863915affe27c4937eb8d7d741e6.jpg
x5mm-white-led-light.jpg.pagespeed.ic.whErWRYnyt.jpg

This project could help us randomly roll the dice by showing different light to us it could help us reduce the time to pick up the dice from the floor so the dice would not be gone.

Supplies

  1. you would need 6 Led lights,
  2. one breadboard
  3. one Arduino Leonardo
  4. one button
  5. some cable
  6. some resister
  7. one box to cover up all the cable when you finish

Connect Your Materials to the Arduino Board

NllY9mpk7XEwyNq7Jl0C.png
IMG_1302.JPG

you have to connect your led light and your button to your Arduino Leonardo first you have to connect six lights and one button to your breadboard. (Like the picture given from the Arduino website)

Enter the Code Given From the Arduino Website

Micro-USB-Cable-for-arduino-with-DUE-R3-D1-mini-NodeMcu-V3-TP4056-18650-Board.jpg_640x640q70.jpg
IMG_1306.JPG

After connectin all your material to your Arduino Leonardo you have to enter the code from your computer to your Arduino board using the cable to connect, and the code from the Link is (Link for code) I changed the Time-delayed of the original code, The dice I made could run quicker which means that we could know answer of the dice faster then the original.

Final Step

IMG_1301.JPG

After finishing everything you should use a box to cover up all the wires and only show the six led light and the button out after finishing covering up all the wires, you could use the dice and play games or use it to do other things!

The Video of Arduino Dice

Screen Shot 2020-04-16 at 9.18.17 PM.png