electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
go to the radio page Live at electro-music.com radio 1 Please visit the chat
poster
 Forum index » DIY Hardware and Software » fonik's place
8-Step Sequencer with voltage controllable pattern (VCPS)
Post new topic   Reply to topic Moderators: fonik
Page 1 of 14 [328 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2, 3, ..., 12, 13, 14 Next
Author Message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 4:42 am    Post subject: 8-Step Sequencer with voltage controllable pattern (VCPS)
Subject description: professional manufactured PCBs are SOLD OUT
Reply with quote  Mark this post and the followings unread

hi all,

i edited this email completely taday (5/4/10), just to be able to keep everything in one thread. for original 1st mail see below. i hope that's okay?

i am now taking orders for this project until monday, the 17th of may.
BTW i think i registered all placed orders by today, the 4th of may.

the pricing (revised):
1 PCB 10.-EUR/13.-USD
+ p&p:
outside europe 8.- USD
europe 3.50 EUR
deutschland 1.50 EUR


i won't take any money until i hold the boards in my hands, so just post in this thread, PM or email me if you are interested (following the recommendations for PCB sales on electro-music.com).

This is not a beginners project. some wiring has to be done, and more than 10 ICs are placed on this 4.9x3.9in PCB.

What it is:
The VCPS-8 is a sequencer providing one channel of gates, triggers and CV. For control there is a clock in, manual step, manual reset and a reset in. The trigger length follows the pulse width of the incoming clock signal. The reset button is an stop/reset and inhibits the sequencer as long as pushed. However the reset input creates a short reset pulse from the incoming reset gate/pulse signal to prevent the sequencer from stopping. This comes in handy when resetting the sequencer using a divider. Think about it…
And then there is a section to provide voltage control of the gate/trigger patterns: CV in, manual pattern select (offset/fine), and two LEDs indicating the limits of the CV (<0V>5V). The patterns of the 8 steps are under the control of an ADC, however each step can be set manually too, to overwrite the ADC pattern if desired.

Some time ago kind fellow CJ Miller sent me some old EFM schematics to upload them to my site. One was the ADC flash, based on LED driver ICs (LM3915). I thought about the use for an ADC module for a modular synthesizer and came up with the idea of controlling the steps of a sequencer with it. But why use expensive or hard to get LM3914/15? so I utilized an ADC0801 (or even 0804) for that purpose. This IC accepts 0V-5V input, so i put a simple CV processor upfront the ADC, with two additional comparators to drive indicator LEDs for voltages >5VA or <0C. The outputs of the ADC are converted to grey code (4030) and amplified (TL074). The 4017 based sequencer then switches these voltage on/off (4016). Each step can be manually controlled by a switch, selecting on-off-ADC - so one could overwrite the ADC. The actual sequencer section is a common 4017 based design. However I utilized inverted schmitt triggers (40106) and AND gates (4081) to create a trigger from the incoming clock and the gates of the sequencer.
There are 20 LEDs: 8 for showing the pattern of the ADC, 8 LEDs showing the actual active steps, 2 LEDs for the CV processor, and 2 ELDs for the gate and trigger outputs.

Building Documentation

below you can see my two builts of the sequencer, one 1U stand alone unit, and one eurorack module.

VCPS8 1U standalone

Baby8 VCP Sequencer (proto)

TO ALL WHO EXPERIENCE PROBLEMS WITH A 2ND (GATE OFF) TRIGGER GENERATED
refering to sketch below:
1) bend up pins 10 & 13 of IC5 (the 40106 hex inverting schmitt trigger) - hopefully you have them socketed.
2) solder a 10k-47k resistor between these pins (right on top of the IC).
3) solder a 100n cap from pin13 IC5 to GND (i.e. at the decoupling cap).will try this simple delay in the clock line tonight:

Posted Image, might have been reduced in size. Click Image to view fullscreen.


original 1st mail wrote:
hi all,

i am working on a sequencer with voltage controllable patterns for a while now. it is not completely tested/breadboarded yet, but it is promising so far.

some time ago kind mr CJ Miller sent me some old EFM schematics to upload them to my site. one was the ADC flash, based on LED driver ICs (LM3915).
i thought about the use for a ADC module for a modular synthesizer and came up with the idea of controlling the steps of a sequencer with it.

but why use expensive or hard to get LM3914/15? so i utilized an ADC0801 (or even 0804) for that purpose. this IC accepts 0V-5V input, so i put a simple CV processor in front, with two additional comparators to drive indicator LEDs for voltages >5VA or <0C.

the outputs of the ADC drive discrete schmitt triggers, which switch transistors at the outputs of a 4017.
[EDIT: the output of the ADC is buffered and amplified by a non-inverting opamp configuration, and then goes to MOS4016 switches. these switches are under control of the 4017 sequencer]

each step can be manually controlled by a switch, selecting on-off-ADC - so one could overwrite the ADC.
the actual sequencer section is a baby10. the AND gates and trigger pulse/stretch circuitry is not tested yet, just a sketch from the mickey mouse logic and suggestions from the baby10 thread.
[EDIT: this circuitry won't work as depicted - will have to correct that according to the valuable MFOS MML]

maybe i should replace the discrete schmitt triggers by non-inverting amplifiers? now i the LED indicating the pattern get brighter as soon as this step is activated by the 4017...
what do you think about it?

[EDIT 5/28/10: old schematic and panel sketch removed]

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source

Last edited by fonik on Wed Jul 25, 2012 11:13 pm; edited 16 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mono-poly



Joined: Jul 07, 2004
Posts: 937
Location: Rotterdam, Netherlands
Audio files: 2

PostPosted: Wed Nov 04, 2009 4:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Cool idea but..... you should finish that sds3 first.

Surprised
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 5:05 am    Post subject: Reply with quote  Mark this post and the followings unread

mono-poly wrote:
Cool idea but..... you should finish that sds3 first.

Surprised

yes, i should. the question is, if i could!? Laughing
i am having a hard time getting it working. and sometimes projects need a rest - and i need something to play around with...

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TekniK



Joined: Aug 10, 2008
Posts: 1059

PostPosted: Wed Nov 04, 2009 5:47 am    Post subject: Reply with quote  Mark this post and the followings unread

look nice,but i don't understand its possibilities
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 6:06 am    Post subject: Reply with quote  Mark this post and the followings unread

it is basically a common 8-step sequencer, and you can set the stages to on or off, as for any other common sequencer.

BUT: the switches for the stages allow you to select "ADC". you can change the pattern by external voltages.
you could feed this module with a control voltage (i.e. from another slower sequencer, or S/H or whatever). this incoming control voltage will be digitized by the 8bit ADC. the ADC concerts the 0V-5V into all 256 different combinations of the 8 bits being on/off, thus generating 8-step patterns:

00000000
00000001
00000010
00000011
00000100
00000101
...
11111111

you get the idea?
the ADC generates 8-step patterns wich could be applied to the 8-step sequencer. however the complexity of 256 possible patterns adds some kind of unpredictability. but for each step you could overwrite the ADC with the switch.
clear as mudd?

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
andrewF



Joined: Dec 29, 2006
Posts: 1176
Location: australia
Audio files: 4

PostPosted: Wed Nov 04, 2009 6:27 am    Post subject: Reply with quote  Mark this post and the followings unread

Is this something like the voltage control feature of the Milton? very nice!

You may want to check out the schematic of this ETI sequencer which has similar CV control
http://rubidium.dyndns.org/cag/pdf/composer.pdf

the leds indicating the voltage input level would be a good addition.
Back to top
View user's profile Send private message Visit poster's website
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 6:34 am    Post subject: Reply with quote  Mark this post and the followings unread

andrewF wrote:
Is this something like the voltage control feature of the Milton? very nice!

You may want to check out the schematic of this ETI sequencer which has similar CV control
http://rubidium.dyndns.org/cag/pdf/composer.pdf

the leds indicating the voltage input level would be a good addition.

thanks for the pointers, andrew. i will have a look at it.

concerning the LEDs: currently i have two warning LEDs. you're suggesting a 3rd LED to indicate the actual level? i did not think of it, because i found it sufficient to look at the pattern LEDs, which give some kind of orientation due to the binary code. but hey, why not? i could drive it from the summing OpAmp, i guess.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
andrewF



Joined: Dec 29, 2006
Posts: 1176
Location: australia
Audio files: 4

PostPosted: Wed Nov 04, 2009 6:49 am    Post subject: Reply with quote  Mark this post and the followings unread

fonik wrote:


concerning the LEDs: currently i have two warning LEDs. you're suggesting a 3rd LED to indicate the actual level?


A whole bargraph even Surprised
it would certainly look good..isn't there a Blacet module that does just that?
ah yes -
Posted Image, might have been reduced in size. Click Image to view fullscreen.
it would help a lot so you could attenuate the input CV to operate within a desired range.
Back to top
View user's profile Send private message Visit poster's website
TekniK



Joined: Aug 10, 2008
Posts: 1059

PostPosted: Wed Nov 04, 2009 8:22 am    Post subject: Reply with quote  Mark this post and the followings unread

sorry to be to dumb,so what happens it changes just if a step is on or off,all steps each stay in time of the sequence,more like a programmable on/off gate function then?

So the enable steps are not shifted?

No manual skip function like the moog sequencer then?
Back to top
View user's profile Send private message
magman



Joined: Feb 04, 2009
Posts: 363
Location: Liverpool, UK

PostPosted: Wed Nov 04, 2009 9:00 am    Post subject: Reply with quote  Mark this post and the followings unread

I think there may be a problem with the the output from the DAC with the design as it stands. For small changes in the CV, you will get Step 1 and probably Step2 being switched out of sequence.

Say we have a CV range of 8V for convenience (either from the Offset or CV in). You might expect a CV in of 4V to enable Steps 1 to 4 for the sequence output, but a CV in of 3.98V say, may only enables Steps 2, 3 and 4 - dropping Step 1 because of the slight change in voltage. The lower steps will always be sensitive to small changes in the input CV.

It might be worth looking at inverting the CV and/or reversing the connections of the DAC, so that the peak voltage enables Step 1, etc.

This issue is only relevant if you want each step of the sequencer to follow each other, Step 1, Step 2, Step3, etc., for a set of defined input CV's. The fun with this design is that certain voltages might allow you to miss steps from the sequence, so for example 4.5V might enable Steps 1, 2, 4 and 5 (missing Step 3), 6.8V might enable Steps 2, 4, 5, 6 and 7 (missing Steps 1 and 3). So a slow speed LFO would be able to change the length of the sequence and which Steps are included in the sequence.

Just a few thoughts

Magman
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 9:22 am    Post subject: Reply with quote  Mark this post and the followings unread

magman wrote:
Say we have a CV range of 8V for convenience (either from the Offset or CV in). You might expect a CV in of 4V to enable Steps 1 to 4 for the sequence output, but a CV in of 3.98V say, may only enables Steps 2, 3 and 4 - dropping Step 1 because of the slight change in voltage. The lower steps will always be sensitive to small changes in the input CV.

indeed. nevertheless, for a first test i used the s&h from the TH super controller, which worked just fine. but again you are right. it is very sensitive.

Quote:
It might be worth looking at inverting the CV and/or reversing the connections of the DAC, so that the peak voltage enables Step 1, etc.

this is a good idea, i think. makes sense. what about a log input?

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
magman



Joined: Feb 04, 2009
Posts: 363
Location: Liverpool, UK

PostPosted: Wed Nov 04, 2009 9:38 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
It might be worth looking at inverting the CV and/or reversing the connections of the DAC, so that the peak voltage enables Step 1, etc.

this is a good idea, i think. makes sense. what about a log input?[/quote]

An additional Log input might be useful, but it would make the panel a bit busier, especially if you need a pot as well as a jack.

I've just spotted my obvious mistake as well, it should be an ADC not a DAC.

I've been thinking about possible alternatives to an ADC as well. It would be interesting to see if it is possible to find a multi channel threshold comparator, something like a Schmidt trigger, but with 8 or more levels of threshold, possibly programmable by resistors. You might even be able to do this passively, with a resistor ladder and some Schmidt Triggers. I wonder if you could program a PIC to do this also?

The ADC version would still be useful though, because it can miss steps out based on the CV input. A degree of randomness that would be a useful effect in its own right.

Regards

Magman
Back to top
View user's profile Send private message
TekniK



Joined: Aug 10, 2008
Posts: 1059

PostPosted: Wed Nov 04, 2009 12:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok,i now understand,its basicaly just a sequencer where u can mute a playing step via CV,is that not a bit to overkill,u will get more variation by implementing a skip function instead,here the sequence (read 'melody') still stay the same,just notes here and there drops out. Sad
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 04, 2009 3:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

TekniK wrote:
Ok,i now understand,its basicaly just a sequencer where u can mute a playing step via CV,is that not a bit to overkill,u will get more variation by implementing a skip function instead,here the sequence (read 'melody') still stay the same,just notes here and there drops out. Sad

skip function would be great. i agree. however it is a little bit different, i believe. i actually wanted to achieve a kind of recallable patterns. i will build a complete module anyways and then i will see what i can get out of it.

maybe i should use only 7 bits. then we would have 1 pattern per semitone for 10 octaves/10V? or two 4 bit ADCs?

BTW, could anybody think of other possibilities to use an ADC flash in a modular?

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
hexagon5un



Joined: Apr 10, 2009
Posts: 38
Location: Munich, Germany
Audio files: 1

PostPosted: Wed Nov 11, 2009 10:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Fonik,

I think the idea of using CV to set the pattern is very cool.

But as you noted, it can be a little discontinuous: sometimes small changes in input voltage will make big changes in the pattern and sometimes tiny (one bit) changes.

The classic way around this is to use a Grey code. Wikipedia will baffle you with math and theory, but a hardware implementation (for you) is as simple as 7 XOR gates. See http://yagni.com/graycode/ and scroll down 3/4ths for a more pleasant introduction.

This way, you could still have full 8-bit control of the sequence, but do so in a way that only has one-bit differences between adjacent voltages/patterns.
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Wed Nov 11, 2009 1:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

hexagon5un wrote:
Fonik,

I think the idea of using CV to set the pattern is very cool.

But as you noted, it can be a little discontinuous: sometimes small changes in input voltage will make big changes in the pattern and sometimes tiny (one bit) changes.

The classic way around this is to use a Grey code. Wikipedia will baffle you with math and theory, but a hardware implementation (for you) is as simple as 7 XOR gates. See http://yagni.com/graycode/ and scroll down 3/4ths for a more pleasant introduction.

This way, you could still have full 8-bit control of the sequence, but do so in a way that only has one-bit differences between adjacent voltages/patterns.

that is a great hint. thank you very much. i thought of just mixing the bits, but that would not be as good as grey.
tomorrow i will be back on breadboard.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Thu Nov 12, 2009 5:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

okay, i did not implement the grey code yet, but i have had a lot of fun with it tonight. BTW forget about the schematic as of today, tonight i replaced the discrete schmitt triggers by opamp buffers/amplifiers and the switching transistors by CMOS4016 switches. i reworked the AND/Trigger circuitry and withdrew the trigger lenght control. now the trigger pulse width follows the clock width.
will post the new schematic soon.

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tommi



Joined: Dec 05, 2007
Posts: 247
Location: Italy
Audio files: 3

PostPosted: Fri Nov 13, 2009 3:48 am    Post subject: Reply with quote  Mark this post and the followings unread

I love the panel and the idea of a sequencer in so little space.
An mp3 or, better, a video could explain better the characteristics of this sequencer...
What about giving the CV IN a switchable function, one could be muting a step, one another to skip a step (as teknik suggested), one another to reset to step 1... geek

_________________
http://soundcloud.com/mister-vommi
http://tideofsound.net
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Fri Nov 13, 2009 4:36 am    Post subject: Reply with quote  Mark this post and the followings unread

tommi wrote:
I love the panel and the idea of a sequencer in so little space.
An mp3 or, better, a video could explain better the characteristics of this sequencer...

sure. however, i think i will build a complete module first. then i will do a demo.

Quote:
What about giving the CV IN a switchable function, one could be muting a step, one another to skip a step (as teknik suggested), one another to reset to step 1... geek

the first is actually incorporated already. selecting another pattern does exactly that: mute certain steps. i know, a CV for muting just one step would be different, it would be a complete different approach anyways.
a reset function is implemented. it is necessary to control the pattern length anyway.
the skip function: i would have to wrap my head around that. this would add at least one toggle switch for each step?
but for now the gray code is much more important...

http://www.modular.fonik.de/pdf/VCP8SSeq.pdf

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Tue Jan 05, 2010 9:49 am    Post subject: Reply with quote  Mark this post and the followings unread

the sequencer is up and running! i made a PCB, it has been a lot of wiring though. i count 11 ICs now. a larger project...
BTW i got only red LEDs in a black package, i may replace one later...

here is a picture, more soon (hopefully a mp3 and/or a vid):

Baby8 VCP Sequencer (proto)

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TekniK



Joined: Aug 10, 2008
Posts: 1059

PostPosted: Tue Jan 05, 2010 10:35 am    Post subject: Reply with quote  Mark this post and the followings unread

awesome look! Shocked

will u offer pcb's for this matt?
Back to top
View user's profile Send private message
fonik



Joined: Jun 07, 2006
Posts: 3950
Location: Germany
Audio files: 23

PostPosted: Tue Jan 05, 2010 12:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

TekniK wrote:
awesome look! Shocked

will u offer pcb's for this matt?


no problem if there is enough interest. we will see when i posted some samples/vids....

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
Big Boss at fonitronik
Tech Buddy at Random*Source
Back to top
View user's profile Send private message Send e-mail Visit poster's website
fluxmonkey



Joined: Jun 24, 2005
Posts: 708
Location: cleve

PostPosted: Tue Jan 05, 2010 1:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

sweet! of course there is interest... put me down for 2!

b

_________________
www.fluxmonkey.com
Back to top
View user's profile Send private message
synthmonger



Joined: Nov 16, 2006
Posts: 578
Location: flada
Audio files: 3

PostPosted: Tue Jan 05, 2010 10:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'd take 2 PCBs but not until February. Mad
_________________
Youtube!
modular demos!
Whacky tunes!
Back to top
View user's profile Send private message Visit poster's website
diablojoy



Joined: Sep 07, 2008
Posts: 809
Location: melbourne australia
Audio files: 11

PostPosted: Wed Jan 06, 2010 2:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
I'd take 2 PCBs but not until February.


Ditto for me, interested in 2 at least
but maybe nearer march ?
oh well we shall see.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: fonik
Page 1 of 14 [328 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2, 3, ..., 12, 13, 14 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » fonik's place
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use