[sdiy] ...dumb question (CD4017 sequencer)

Theo t.hogers at home.nl
Sat Oct 5 04:09:11 CEST 2002


For what it is worth here is my take on a 4017 sequencer.
Note that this was not intended to be the best sequencer on the planet,
but a exercise to use the 4017 AND have low component count AND a "lot" of
functions.
For example the pots double as current limiting resistors for the LEDs.

Beside gate on/off switches for each step there are tree other switches.

1) The "Range" switch let you select 3 CV output ranges 2,5V / 5V / 10V
In the center position this switch is makes no connection at all.
If memory serves the circuit is designed for 15V supply.
The scribbled 38K3 value should be for 12V adoption.

2) The "Play" switch bluntly switches the clock off.
Room for improvement here.
The unused gates could be used to combine the "output" from the play switch
with the "output" from the rotary switch (sets the number of steps) to reset
the
sequencer when the play switch is in the off position.

3) The "Gate lenkt" switch selects between staccato and legato notes.
In the position the switch is drawn the gate is only "on" for the duration
of the clock pulse.

http://members.home.nl/t.hogers/basic4017sequencer.gif
Note that the power supply connections +decoupling  for the ICs are NOT in
the schematic.


Have fun,
Theo

BTW for a simple sequencer a counter+4051 based design usually gives more
"bang for the buck".




From: Electronium <mike at electronium.com>

> First of all, thanks everyone for the great info on my 4017 sequencer
> question.  Sorry for the slow follow-up, but things have been a little
> hectic lately.  Here's a few more questions I have:
>
> > ---Well "A" is not a "normal" sequencer function in most cases. When you
> > stop a sequencer, it usually puts out the step voltage. The desired
> > silence is typically a function of turning off the VCA in a patch (via a
> > gated ADSR, for example). So you may wan tto think of having a gate out
> > if you don't already.
>
> Oh.... duh.
> Thanks John, I guess I could have thought a little further than the VCO
; )
>
> OK, now, I was thinking of using a latched flip-flop to the 'Clock Enable'
> (or 'Inhibit') pin to turn on & off the clock, but I was also planning on
> tapping directly off the 555's clock output to use as the gate signal
(gate
> time isn't critical, since I'm using A/D envelopes)... is this how to do
it?
> but if so, how do you stop it from outputting a gate when the 4017 clock
> input is disabled?  Is there a better way?
>
> Also, I wanted to use the sequencer clock as an optional master clock for
a
> few other clocked modules... how do I turn off the clock output at the
same
> time as the sequencer?
>
> > You *could* use an analog switch connected to the seq out and control it
> > via the seq start/stop to remove any voltage out when the seq is
> > stopped.
>
> Actually, I was thinking of doing this... but I thought it might be going
> too far.  However, I suppose I could use a 4066 to shut off the gate/clock
> output simultaneous to the 4017 inhibit signal.
>
> > Having the 4017 *reset on start *requires a bit of external logic
> > between the start/stop and the 4017 reset pin. You might want to try a
> > very short pulse from the rising edge of the "start".
>
> So it seems to me that what I need is a positive pulse to the reset pin,
> simultaneous to an off state (0v) to the inhibit pin, in order to start
the
> sequence from the beginning.  Does that sound right?  And then I need an
on
> state (+v) to the inhibit pin to stop the sequence.
>
> So, can I take the output of a latched 4013, trim off a short pulse, and
> then invert it?  (the gate, not the pulse)  I am making any sense?  Can
> someone set me straight?
>
> > While the 4017 looks like a sequencer on a chip, getting it to do the
> > usual seq functions is a bit complicated. You will probably find some
> > circuits on the web if you do a search.
>
> Well, I found yours along with the Blacet MIDI Sync stuff... ; )  I have
one
> of your ICs, but strangely enough, one of the design requirements of this

> system was NON-midi compatibility.  The idea was to get away from my PC &
> even any kind of conventional controllers.  But I was able to gleen (sic?)
> some ideas from your schematics, as well as several others, to come up
with
> the basic design.
>
> > I'd like to mention that you'd probably want this feature to be
selectable
> > with a switch. One of the benefits of having the sequencer output the CV
> > while stopped is for tuning the pitch of the steps.
>
> Thanks Dave, I was planning on having 2 separate switches, a SPST for
> start/stop & a rotary for 'clock select' (internal/external/step).
However,
> I guess the start/stop switch would have to be 'on' in order to use step
> mode.
>
> > This is cool because you can put a switch in between the steps of the
> sequencer
> >(rotary sp12t one for each step) and then choose how many sequences your
> >sequence will have.
>
> Thanks Gavin, I was planning on a SP6T switch to select between 3 to 8
> steps.
>
> >To stop the sequence and have it stay wherever you stopped it you can put
a
> >switch in between whatever you used as a clock source and the 4017.
>
> This is how I have it wired up now on my breadboard.  seems to work OK,
but
> is it better to use the 'clock enable' pin on the 4017?  It seems that's
the
> way it's designed...
>
> > ...which would go from a +5V source to pin 15 of the 4017 across a
.001uF
> >cap followed by a 1Meg resistor to ground. This should work.
>
> This is to trim off a short pulse for the 4017 reset pin, correct?
>
> > I wanted to be able to run two chips in parallel (2x8 steps) or
> > cascade them for one long sequence (1x16 steps) and control the
> > length of the sequence either way (2xN, 1xN), all at the flick of
> > various switches. Cascading the two sequences introduced the problem
> > that when the first 4017 cascades to the second and is reset, it
> > triggers step 0 again (naturally). Since I was only using 8 outputs
> > of the 4017, I tied the 9th step (output 8) to INHIBIT, using it to
> > "park" the counter outside the visible 8 steps. Hitting RESET returned
> > the counter to 0 and the sequence started anew. This worked well for
> > an alternating sequence of 16 steps, but not so well for a shorter
> > sequence length since the counter would never reach the park spot.
> > So, I bumped the active outputs up to 1 through 8, leaving output 0
> > for parking the counter out of sight. Unfortunately, this meant that
> > when running the counters in parallel I always had an unavoidable
> > "invisible" extra step in the sequence.
>
> Thanks Robert, wow... this is an interesting idea.  Although this goes way
> beyond the intended purpose of my sequencer, I think the key to cascading
2
> CD4017's might be taking the 'carry out' & running it through a flip-flop
> (or two) and then use that to switch back & forth between the 2 chips...
I'm
> pretty naive about these things, but I think that must be what it's there
> for.  Anyone know about this?
>
> Thanks again everyone!
> Mike Brown
> mike at electronium.com
>
>







More information about the Synth-diy mailing list