Hello All,
I'm working a breadboard version of a multi-sided dice roller replacement and I'm mostly there but now I'm stuck.
What works:
I currently have a 555 feeding clock to a 4029 which feeds a 4511 driver to a 7 segment LED which works fine as a repeating 0-9 counter. To replace a die I need to preset the 4029 to start at "1" (that's why I'm using the 4029 with preset) which I've gotten working by taking the all the non-1 inputs low and the 1 input high. When I hook up the 8 count pin directly the counter runs 1-7 and resets correctly.
What doesn't:
I wanted to use a 4081 AND gate and a switch to decide the "top" number of the die that was 'rolling'. For instance I thought I could combine the 8 and 1 outputs and take the output from that gate and feed back to the 4029 reset and make the system choose between 1 - 8 on a roll by resetting on '9'. But using the AND gate outputs have been unpredictable - sometimes the gates seem to fire at the wrong times - sometimes they seem to "skip" the reset number on the LED. I have the feeling that the AND chip is taking the counted number low and not behaving as I thought it would. When I hooked up and LED to the AND output I'm not seeing it go high but the 4029 still resets (at the wrong number).
Ultimately I was hoping to feed the AND gate outputs into a switch and decide between 4,6 and 8s but resetting on 5,7 and 9 respectively. Does this seem do-able or is my understanding of the 4081/4029 interaction off?
Thanks - all thoughts welcome,
=Tod
PS Eventually the 555 will have a "roll when pushed" button set-up but it currently just running when powered on.
I'm working a breadboard version of a multi-sided dice roller replacement and I'm mostly there but now I'm stuck.
What works:
I currently have a 555 feeding clock to a 4029 which feeds a 4511 driver to a 7 segment LED which works fine as a repeating 0-9 counter. To replace a die I need to preset the 4029 to start at "1" (that's why I'm using the 4029 with preset) which I've gotten working by taking the all the non-1 inputs low and the 1 input high. When I hook up the 8 count pin directly the counter runs 1-7 and resets correctly.
What doesn't:
I wanted to use a 4081 AND gate and a switch to decide the "top" number of the die that was 'rolling'. For instance I thought I could combine the 8 and 1 outputs and take the output from that gate and feed back to the 4029 reset and make the system choose between 1 - 8 on a roll by resetting on '9'. But using the AND gate outputs have been unpredictable - sometimes the gates seem to fire at the wrong times - sometimes they seem to "skip" the reset number on the LED. I have the feeling that the AND chip is taking the counted number low and not behaving as I thought it would. When I hooked up and LED to the AND output I'm not seeing it go high but the 4029 still resets (at the wrong number).
Ultimately I was hoping to feed the AND gate outputs into a switch and decide between 4,6 and 8s but resetting on 5,7 and 9 respectively. Does this seem do-able or is my understanding of the 4081/4029 interaction off?
Thanks - all thoughts welcome,
=Tod
PS Eventually the 555 will have a "roll when pushed" button set-up but it currently just running when powered on.