PROJECT 16: ELECTRONIC DIE

BOARD GAMES ARE PERILOUS ENOUGH WITHOUT ARGUMENTS OVER NUMBER READINGS FROM FALLEN OR LOST DICE. THE PERFECT SOLUTION: AN ELECTRONIC DIE.

image
image

PARTS REQUIRED

• Arduino board

• Breadboard

• Jumper wires

• 8 220-ohm resistors

• Seven-segment LED display

• 74HC595 shift register

• Momentary tactile four-pin pushbutton

HOW IT WORKS

In this project we’ll create a die using a seven-segment LED display. When the pushbutton is pressed, a pulse is sent to the Arduino, and the LED “shakes” and displays a random digit between 1 and ...

Get Arduino Project Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.