-[ND]-Morgoth
19-01-2003, 17:48
I hope so. I've got this project to do - an electronic roulette wheel, and I can't figure out how to do the following. Take a look at this image of my circuit: http://www.clannd.utvinternet.com/gfx/johnson.jpg
Ok, the 4017 is a Johnson counter, it basically counts through it's ten states then goes back to the start and keeps counting over and over. That's great, however a roulette wheel with 10 lights is pretty lame, so I need to link the counters. I can't do this directly from one counter to the next because it will divide the frequency by 10 (second 10 lights go 10 times slower than first 10), and I can't do it using the MR reset pin in conjunction with the states of the 00 state and 09 states because although this works, one light will remain lit on the inactive counters.
i.e. What I need is to actually turn the power off and on as needed, so when the first 10 lights on the first chip are being lit sequentially, the other 2 chips need to be powered off. Then, when the first counter has counted through all the lights once, I need to power this chip off and power on the second one - this then counts through all the lights, is powered off; the third chip gets power, counts through, powers off, power goes back into the first chip.
Problem is I can't figure out how to do this. I've tried loads and loads of combinations of flip-flops in conjunction with combinational logic. Most of my attempts came from taking the output of the 09 pin on the first chip and trying to manipulate the power into the current and next chip using this. I've had varying degrees of success, but can't get it to work perfectly (or adequately).
God knows I've trawled the net, and asked the demonstrators in college - the former revealed little to nothing, the latter tell me that they "can't give away too much". Yes I'm well aware that this is the key to the whole project - slowing the lights down to a stop is something I've already figured out how to do, I just can't get the counters linked properly.
So, can anyone offer some advice/help/hints/solutions?
(edit: btw the long horizontal wire running along the top of the image is coming from a 555 timer and is providing the clock frequency)
Ok, the 4017 is a Johnson counter, it basically counts through it's ten states then goes back to the start and keeps counting over and over. That's great, however a roulette wheel with 10 lights is pretty lame, so I need to link the counters. I can't do this directly from one counter to the next because it will divide the frequency by 10 (second 10 lights go 10 times slower than first 10), and I can't do it using the MR reset pin in conjunction with the states of the 00 state and 09 states because although this works, one light will remain lit on the inactive counters.
i.e. What I need is to actually turn the power off and on as needed, so when the first 10 lights on the first chip are being lit sequentially, the other 2 chips need to be powered off. Then, when the first counter has counted through all the lights once, I need to power this chip off and power on the second one - this then counts through all the lights, is powered off; the third chip gets power, counts through, powers off, power goes back into the first chip.
Problem is I can't figure out how to do this. I've tried loads and loads of combinations of flip-flops in conjunction with combinational logic. Most of my attempts came from taking the output of the 09 pin on the first chip and trying to manipulate the power into the current and next chip using this. I've had varying degrees of success, but can't get it to work perfectly (or adequately).
God knows I've trawled the net, and asked the demonstrators in college - the former revealed little to nothing, the latter tell me that they "can't give away too much". Yes I'm well aware that this is the key to the whole project - slowing the lights down to a stop is something I've already figured out how to do, I just can't get the counters linked properly.
So, can anyone offer some advice/help/hints/solutions?
(edit: btw the long horizontal wire running along the top of the image is coming from a 555 timer and is providing the clock frequency)