View on GitHub

Hammes Hacks

Projects designed by Emily Hammes

Minidice

Introduction

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.

Theory

Seven segment displays are simple to control:

And then we just need a button to simulate a roll of the dice:

Soldering The Shield

Materials

To solder the shield follow these steps:

  1. Solder the resistors.
  2. Solder the eight segment displays.
  3. Solder the button.
  4. Soler the pin headers.

Uploading Code

Whats Inside the PCB?

schmatic

This is the schematic of the PCB, showing how all the components are connected.

PCB

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.