PIC based shaking LED dice
Electronics dice projects using push buttons are available all over the internet. This one is a little bit different. It is meant to provide the real feeling of shaking a dice by using a spring with weight and a wire. The two make and break contacts when shaken. The PIC16F688 microcontroller detects the contacts between the spring and the wire, and rolls the dice. After the spring motion stopped completely, the dice output number is displayed with glowing LEDs.