Circuitbenders Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: sequencer circuit...  (Read 15177 times)

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
sequencer circuit...
« on: October 15, 2009, 11:01:35 AM »

Hi all,
Im building a running light sequencer circuit to use to sequence devices (like what you might have seen on m-z3r0's dd-drum machines).   Im working form a this schematic for cascaded 4017 chips...;
http://saint.419.removed.us/runlit.html
its sort of working a bit but a kind of strangely; it counts through the outputs from the first chip, then for each cycle of the this it advances the second chip one step.  WIERD!
Can anyone see any glaring errors with it? or have i just made some mistake?
I was thinking perhaps the diode might be the wrong way round in the diagram...

Cheers!
Logged

the_zombiest

  • Kicks like the DADDY!
  • ****
  • Karma: 17
  • Offline Offline
  • Posts: 200
    • The Zombiest's Youtube Channel
Re: sequencer circuit...
« Reply #1 on: October 15, 2009, 10:48:45 PM »

I think you may have connected the second 4017 to the divider pin 12. 
That would seem the most likely problem... but it is one way of cascading.
Logged

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #2 on: October 15, 2009, 10:55:10 PM »

sadly no, pin 12 is left all alone on both chips.  I'll try turning that diode round perhaps.  And have a good think before doing anything rash.
Logged

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #3 on: October 16, 2009, 08:07:23 PM »

hmmm, turning the diode round hasnt worked! arrrgh!
Its really annoying cos the case ive made for it looks amazing.  Damn damn dman. lol.
Logged

Gordonjcp

  • This person is dangerously insane.
  • *******
  • Karma: 78
  • Offline Offline
  • Posts: 1005
    • http://www.nekosynth.co.uk
Re: sequencer circuit...
« Reply #4 on: October 16, 2009, 08:31:53 PM »

The diode and resistor are there so that the clock doesn't drive the second 4017 unless pin 11 of the first one is high.

What happens is this: The 555 generates clock pulses which makes the first 4017 clock until pin 11 comes on.  Pin 11 is wired to pin 13 - Inhibit - which stops the first counter from counting any further.  While pin 11 was low it pulled the far end of the 33k resistor low, stopping the second chip from receiving clock pulses.  Now the second 4017 will clock - pin 3 is ignored because it will be on when the chip is reset - until its pin 11 goes high, triggering the first 4017's reset pin.  When the first 4017 resets, its pin 3 (output 1) resets the second 4017.

Check that you've got that all-important connection between pin 11 and pin 13 of the first chip.
Logged
If at first you don't succeed, stick it through a fuzzbox.

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #5 on: October 16, 2009, 08:43:59 PM »

Thanks gordon, but yes they are connected. 
Maybe i'll try different values for the resistor...
Logged

the_zombiest

  • Kicks like the DADDY!
  • ****
  • Karma: 17
  • Offline Offline
  • Posts: 200
    • The Zombiest's Youtube Channel
Re: sequencer circuit...
« Reply #6 on: October 19, 2009, 10:32:35 AM »

Have you tried the 18-step LED sequencer from Bill Bowden's site?

http://www.bowdenshobbycircuits.info/page5.htm#4017-7.gif

It's a little different from the one you linked to.
and if you can get that one to work, your case needn't be wasted.
Logged

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #7 on: October 19, 2009, 03:19:27 PM »

After a little research ive discovered its a good idea to decouple this circuit cos of the 555. Im going to try this with a 10uf electrolytic cap and 0.1uf ceramic cap in parallel between + and gnd this evening. fingers crossed!...
Logged

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #8 on: October 19, 2009, 08:45:30 PM »

no luck  :'(
Logged

Gordonjcp

  • This person is dangerously insane.
  • *******
  • Karma: 78
  • Offline Offline
  • Posts: 1005
    • http://www.nekosynth.co.uk
Re: sequencer circuit...
« Reply #9 on: October 21, 2009, 09:01:08 AM »

Get the first stage working *first*.  Then make up a simple kind of logic probe (LED and some sort of buffer, perhaps a NAND gate with its inputs tied together) and watch the state of the clock and inhibit pins for the second chip.
Logged
If at first you don't succeed, stick it through a fuzzbox.

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #10 on: October 22, 2009, 07:35:57 PM »

I put this queery on another forum and the current final suggestion is a different schematic using a 4093 logic thingy with the 4017 decade counters.  Im going to try this one out now.

To anyone who is interested heres the thread on the other forum:
http://www.electro-tech-online.com/electronic-projects-design-ideas-reviews/98869-cascading-4017-troubles.html

If anyone spots any errors with it or whatever pipe-up, i need to get these lights flashing!!!
Logged

noystoise

  • Guest
Re: sequencer circuit...
« Reply #11 on: October 23, 2009, 09:03:22 AM »

that newest schematic may be the answer. maybe the original circuit you had was meant to do exactly what its doing. another way to go might be to use a mc40192 with a mc14515. never tried them myself. basically you'd get a 16 step sequencer that is bidirectional?... i'm going to try it out soon, i'll share my findings.
Logged

Gordonjcp

  • This person is dangerously insane.
  • *******
  • Karma: 78
  • Offline Offline
  • Posts: 1005
    • http://www.nekosynth.co.uk
Re: sequencer circuit...
« Reply #12 on: October 26, 2009, 08:54:39 AM »

Sorry, I hadn't read the forum post.  The original circuit will work, but it *will not* drive LEDs directly (and that'sa bad idea in any case).  Build some buffers to drive those LEDs.

You can't connect and LED between the output of a 40-series chip and ground and expect it to work well because the chip can't source enough current.  You'd need to connect it (with a suitable series resistor) between the pin and +5V and then arrange to turn the pin *off* to turn the LED *on*.  The reason for this is that the output of the chip consists of two transisors, one to +5V and one to 0V.  Due to the way the chip is made the one to 0V can turn on harder than the one to +5V - a bit like the difference in strength between your bicep and tricep muscles.

Now, go build a simple logic probe and get that first circuit working, because it *does* work.  The point about 555s being utter shit still stands.
Logged
If at first you don't succeed, stick it through a fuzzbox.

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #13 on: November 10, 2009, 12:57:38 PM »

sorry gordon, i am a terrible unforgiveable noob. 
I kind of follow, but any chance you could do a quick diagram to show the buffer and how it connects to the circuit.

Thank you kindly

Mike
Logged

Dj Task Manager

  • Dayglo Volunteer of International Masturbation
  • ***
  • Karma: 3
  • Offline Offline
  • Posts: 131
Re: sequencer circuit...
« Reply #14 on: November 16, 2009, 11:12:18 AM »

Can anyone do a quick sketch to show how to make and connect the buffers and resistors type situation? 
Honestly this is going to be a sweet machine when its done, and will truely help me kick out the jams.

I really want to get it finished!  And its my birthday today!

Cheers

Mike x
Logged
Pages: [1] 2