Aim
The goal of this activity is to create a gaming dice using a 7-segment display, where a random number is generated when the button is pressed.
Materials Required
- Arduino UNO R3 – 1
- USB Cable – 1
- Seven Segment Display – 1
- Breadboard – 1
- Buzzer – 1
- Pushbutton – 1
- Several Jumper Wires
- 220Ω Resistors – 2
Wiring Diagram
Desired Outcome
When you press a button, a random number is generated on a seven segment display.