R
Rikard Bosnjakovic
- Jan 1, 1970
- 0
Greetings
My upcoming hobby project is an electronic die. The general idea behind it
is this:
A SPST-switch is connected to a capacitor and a 555 (astable version). The
capacitor is connected to ground through a resistor of some good value.
This is to make the pulse of random length to the 555, so the die won't
show the same value for each SPST-break.
The 555 sends its pulses to a BCD-counter (74LS192), which is connected to
a BCD-to-seven-decoder (74LS47) which in turn is connected to a common
anode 7-segment led.
I have constructed the circuit and it works fine, except for one thing;
the leds go from 0-9, but I want them to go from 1-6.
Before I used the 74LS47 and a segment led, I used a 74LS42 and ten LEDs
(just for the purpose of testing). When the counter reached "7", I
directed the current to the reset-pin on the 74LS192 and the counting got
started over.
What I'm looking for is some solution to do the same thing when I use the
LED-segment and the 74LS47.
Also, I have no real clue yet how to start on number 1 instead of 0.
Adding 1 to 0 would ofcourse do it, but my knowledge is still too limited
to see an immediate solution for this particular problem.
Hints, anyone?
My upcoming hobby project is an electronic die. The general idea behind it
is this:
A SPST-switch is connected to a capacitor and a 555 (astable version). The
capacitor is connected to ground through a resistor of some good value.
This is to make the pulse of random length to the 555, so the die won't
show the same value for each SPST-break.
The 555 sends its pulses to a BCD-counter (74LS192), which is connected to
a BCD-to-seven-decoder (74LS47) which in turn is connected to a common
anode 7-segment led.
I have constructed the circuit and it works fine, except for one thing;
the leds go from 0-9, but I want them to go from 1-6.
Before I used the 74LS47 and a segment led, I used a 74LS42 and ten LEDs
(just for the purpose of testing). When the counter reached "7", I
directed the current to the reset-pin on the 74LS192 and the counting got
started over.
What I'm looking for is some solution to do the same thing when I use the
LED-segment and the 74LS47.
Also, I have no real clue yet how to start on number 1 instead of 0.
Adding 1 to 0 would ofcourse do it, but my knowledge is still too limited
to see an immediate solution for this particular problem.
Hints, anyone?