Is there a good counter chip?
Moderators: Sparky, Moderators
- MillenniumFalsehood
- Posts: 17033
- Joined: Tue Nov 16, 2004 5:23 pm
- Location: Wichita, KS, USA
- Contact:
Is there a good counter chip?
In this video:
http://uk.youtube.com/watch?v=BLYiVdC7I ... re=related
the phaser has a button you press that lights up a series of LEDs in sequence, one right after the other, and I was wondering what chip it was that does this. I'm pretty sure I've seen one somewhere, I just can't remember what the number was.
http://uk.youtube.com/watch?v=BLYiVdC7I ... re=related
the phaser has a button you press that lights up a series of LEDs in sequence, one right after the other, and I was wondering what chip it was that does this. I'm pretty sure I've seen one somewhere, I just can't remember what the number was.
If a redhead works at a bakery, does that make him a gingerbread man?
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
-
- Moderator
- Posts: 2404
- Joined: Thu Jun 05, 2003 8:28 am
- Location: Are we there yet? (Chicago)
- Contact:
I'm certain they're using a micro controller (PIC or stamp, or TI's mp series).
This is because not only does the button increment the LED light bar, but it also mods the action of the LED phaser light emitter and at full power the LED light bars light LED position bounces back and forth.
This is because not only does the button increment the LED light bar, but it also mods the action of the LED phaser light emitter and at full power the LED light bars light LED position bounces back and forth.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
- MillenniumFalsehood
- Posts: 17033
- Joined: Tue Nov 16, 2004 5:23 pm
- Location: Wichita, KS, USA
- Contact:
Yes, but all I need is a chip that does the counter thing, with the number of LEDs increasing every time the button is pressed. The video is just an example of what I mean.
If a redhead works at a bakery, does that make him a gingerbread man?
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
-
- Posts: 584
- Joined: Sat Sep 22, 2007 1:42 am
-
- Moderator
- Posts: 2404
- Joined: Thu Jun 05, 2003 8:28 am
- Location: Are we there yet? (Chicago)
- Contact:
If you just want the LED bar to increment up then reset to 0 you can use the Johnson counter, and instead of a clock hook up your switch. the Outputs will count up to 10 I believe then reset to all off.
Best to add a switch de-bouncer in there so that the button push doesn't appear to be clocking the chip in jumps.
If you need more than 10 outputs, then you can add another Johnson counter in series. You may need an AND gate to do this, but you will probably have some leftover on the chip used to de-bounce (I believe you can use AND gates as a de-bouncer).
Zog or I can draw up a circuit and if need be test it on breadboard.
Best to add a switch de-bouncer in there so that the button push doesn't appear to be clocking the chip in jumps.
If you need more than 10 outputs, then you can add another Johnson counter in series. You may need an AND gate to do this, but you will probably have some leftover on the chip used to de-bounce (I believe you can use AND gates as a de-bouncer).
Zog or I can draw up a circuit and if need be test it on breadboard.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
- MillenniumFalsehood
- Posts: 17033
- Joined: Tue Nov 16, 2004 5:23 pm
- Location: Wichita, KS, USA
- Contact:
If you would draw up the circuit, that would be great! I knew that I knew the name Johnson counter, but I just couldn't think of it. I kept thinking it was a 40-something-or-other chip. Thanks, Sparky!
If a redhead works at a bakery, does that make him a gingerbread man?
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
Ponies defeat a Star Trek villain? Give them a Star Wars award ceremony!
-
- Moderator
- Posts: 2404
- Joined: Thu Jun 05, 2003 8:28 am
- Location: Are we there yet? (Chicago)
- Contact:
You had it right a 4017 is a cmos Johnson counter.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>
-
- Moderator
- Posts: 2404
- Joined: Thu Jun 05, 2003 8:28 am
- Location: Are we there yet? (Chicago)
- Contact:
Shucks that wont' do it, it can produce either a walking one state or walking off state. I think a seires of flip flops will be the only way to do it, and to get a high number it'll take several chips cascaded together.
<a href="http://www.kc6sye.com/2_wheresaneatpart.jpg" target="_Sparky">Is this plastic thingy on the counter a neat part?</a> <a href="http://www.kc6sye.com/1_casting_inprogress.jpg" target="_Sparky">Let's cast it.</a>