61 Dice roll

61 : Dice roll

Design renderSelect Project123456789ONSW2
  • Author: Tholin
  • Description: Will roll a random number from 1 - 6 on the 7-segment display, like a dice.
  • GitHub repository
  • Clock: 6000 Hz

How it works

Contains a LSFR for random numbers, that constantly updates no matter if the dice is rolling or not. Pressing the ’ROLL’ button will play an animation of random numbers cycling on the display, until settling on a number after a few seconds. The decimal point will light up when its done rolling.

How to test

Reset, then pulse ’ROLL’ to roll the dice as many time as you like.

External hardware

A 7-segment-display. The one on-board the PCB will work.

IO

#InputOutput
0CLKsegment a
1RSTsegment b
2ROLLsegment c
3NCsegment d
4NCsegment e
5NCsegment f
6NCsegment g
7NCdecimal point