Arduino Electronic Dice

by joycelin0000 in Circuits > Arduino

73 Views, 0 Favorites, 0 Comments

Arduino Electronic Dice

CB3F7376-4B8F-4802-92FB-4F78EAEFDC30.jpg

Arduino Electronic Dice roller

Sometimes when we play games in our house and require a dice, that either we can't find any dice or someone always tries to cheat. I saw a number of electronic dice in various guises so I decided to create my own electronic dice. This instructable will show you how to create an electronic dice out of an Arduino.

link:https://www.instructables.com/id/Arduino-Dice-1/.

I changed the delay time so the number could show longer.

Materials

45CBCDFD-B14C-4C16-B3D0-3EA4DD466D49.jpg

Connect the Jumpers to Arduino

26F569B9-58AA-4A49-8975-1B1582905847.jpg
10CC9A91-1224-4794-AF21-DE53CF6A4CAF.jpg

Pin 2 to button 2, button 2 to GND

Pin 4 to a resistor, resistor to top left LED cathode, anode to GND

Pin 5 to a resistor, resistor to the top right LED cathode, anode to GND

Pin 6 to a resistor, resistor to middle left LED cathode, anode to GND

Pin 7 to a resistor, resistor to the middle right LED cathode, anode to GND

Pin 8 to a resistor, resistor to the bottom left LED cathode, anode to GND

Pin 9 to a resistor, resistor to the bottom right LED cathode, anode to GND

Pin 10 to a resistor, resistor to center LED cathode, anode to GND

Pin 11 to button 1, button 1 to GND

Making the Additional Decorations

90EFC64A-FC05-4EDC-ACA7-1046C24BA85C.jpg
CB3F7376-4B8F-4802-92FB-4F78EAEFDC30.jpg

Circuits

螢幕快照 2020-04-16 上午11.34.25.png

Code

Final Product

AFBC5E08-271D-4591-86BD-22BFD608DB80.jpg