The Minidice Shield contains two eight segment numeric displays, which represent the 2 dice faces. This shield plugs into an Arduino Promini or Promicro. By controlling the state of the pins, all the segments in both dice can be individually turned on or off to display the numbers 0 to 9. By using a random number generator we can simulate rolling 2 dice.
Seven segment displays are simple to control:
And then we just need a button to simulate a roll of the dice:
Soldering The Shield
- 8 resistors
- 2 eight segment displays (LTS2801AC)
- 1 button
- 2 female pin headers
To solder the shield follow these steps:
- Solder the resistors.
- Solder the eight segment displays.
- Solder the button.
- Soler the pin headers.
- Download the Arduino software
- Select Arduino Uno under Tools > Baord in the Arduino software
- Select the correct comport under Tools > Port in the Arduino software
- Download the code from github and upload it to the Arduino.
Whats Inside the PCB?
This is the schematic of the PCB, showing how all the components are connected.
This is a transparent view of the PCB. Green lines are wires on one side and red lines are wires on the other side of the PCB. The text that will be printed on the board is in magenta on one side and teal on the other. The yellow line is the edge of the board. The gold circles are drilled through the board and have copper on both sides.