Arduino Dice by LED

by meganfu in Living > Kids

164 Views, 0 Favorites, 0 Comments

Arduino Dice by LED

IMG_9731.jpg

Hi~ I am student from Kang Chiao International School, I am going to introduce how to make an Arduino Dice.

Refrence:

https://www.instructables.com/id/Arduino-Dice/ I change the time that the LED brightens.

Prepare Materials

What you will need:

18 Jumpers (11 large 7 small)

7 LEDs (I used red ones)

PushbuttonResistor (I used 100ohm, 10 ohms would work too)

Solderless breadboard Arduino (+usb cable for connection)

Optional: small strap-down copper jumpers

Tools: Wirecutter computer.

Connect LEDs and Jumpers to Board

螢幕快照 2020-04-15 下午8.11.58.png

Connect all jumpers and LEDs to the Board. (negative sides)

Bottom to the Board

螢幕快照 2020-04-15 下午8.18.38.png
螢幕快照 2020-04-15 下午8.14.19.png

Connect the pushbutton on to the board.

Connect the Jumpers to the Arduino

螢幕快照 2020-04-15 下午8.24.35.png

LED1/Pin 12

LED2/Pin ~11

LED3/Pin ~10

LED4/Pin ~9

LED5/Pin 8

LED6/Pin 7

LED7/Pin ~6

Code

螢幕快照 2020-04-15 下午8.27.02.png

Connect the board to your computer and upload the code.

Downloads