Maker Pro
Maker Pro

Need help with implementing electronic die features please

Hi,

So I've built an electronic die that generates a pseudo-random number from 1 to 6 each time a push-button is let go of. I use 7 LEDs as a display, representing the dots on the faces of a die. A shift register connected to an oscillator results in a ripple counter that counts from 1 to 6 in binary, with this signal then being converted via digital logic gates to a meaningful representation representation on the display. A push-button is then connected to the circuit so that when it is pushed, the ripple counter cycles through the count quickly and when it is released, the display at the point of release stays lit up until the button is pressed again. The circuit is powered by a 9V battery.

Now, I'm unsure if this information was necessary in what I need help with, and I'm not sure if it is specific enough to be able to acquire help from you, but basically I need help in implementing 2 features I want to add to my die.

I want the display to turn off after a few seconds of displaying the number generated from 'rolling' the die. Also, as my title tries to suggest, I want to simulate the 'rolling' of the die. By this, I mean that after the push-button is released, instead of immediately displaying the result, I want the count to slow down until eventually the final result is reached and displayed and then held on the display until the next time the button is pressed, building suspense on what the generated number will be.

So if you could please help me in adding either of these features to my project, that would be much appreciated. By the way, I'm new to electronics so please provide answers which are as specific as possible, thanks.
 
using the oscillator you could attach it to a series of flip flops, or a counter that counts high (depends on the clock speed) then have that attached to a flip flop that is tied to a relay that connects a common ground for the LED's.

As far as the numbers displaying... unless you switch to a microcontroller Im not sure how to achieve that, unless you use a TON of other circuitry (logic gates and flip flops and such)
 
Top