electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
<on air> mosc Sorry - program must be rescheduled for Monday at the same time.
Please visit the chat
 Forum index » DIY Hardware and Software
frequency divider
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Pehr



Joined: Aug 14, 2005
Posts: 1307
Location: Björkvik, Sweden
Audio files: 2

PostPosted: Sun May 07, 2006 9:11 am    Post subject: frequency divider
Subject description: for clock signals
Reply with quote  Mark this post and the followings unread

I'm planning to use a CD4040 as a frequency divider for a clock signal (0V/+5V square signal) to my sequencers, so that they can be run at different speed. That shouldn't be too complicated, right? Maybe used together with some inverters and some op amps it could work fine... Confused Each stage divides the frequency by 2, and since it has 12 stages, I can have one sequencer go really fast and another one really slow, right? Confused

But what if I want to divide a frequency by 3? or 5? 7? 11? 13? 15? How complicated is it to do that? Rolling Eyes

_________________
YouTube channel
flickr photostream
http://loxodrom.blogspot.com
http://www.garageband.com/artist/loxodrom
http://soundcloud.com/loxodrom
Back to top
View user's profile Send private message
zipzap



Joined: Nov 22, 2005
Posts: 559
Location: germany
Audio files: 24

PostPosted: Sun May 07, 2006 11:16 am    Post subject: Reply with quote  Mark this post and the followings unread

I just finished a sequencer that does that. Gonna post some sounds in the next days. I use a 4017 for dividing by 1 to 10.
It´s really cool if you´re not fixed to ratios by 2. I did no buffering, since the divider is part of the sequencer logic. I just used the 0 output (pin3) of the divider 4017 as a clocksource of the sequencer. Outs 1-9 are sent to the reset in via a 10 way swich. The 10th position is left empty, the reset in has a pulldown to handle that. If the swich is set to connect 4017out 1 with 4017 reset that means divide by 1. The duty cycle becomes very long, your sequencer has to handle that. If it´s 4017 based it will. If not you´ll notice the sequencer stops when set to 1, while it can run at the other divisions. In that case use a 4538 monoflop to shorten the pulses.
Back to top
View user's profile Send private message
piedwagtail



Joined: Apr 15, 2006
Posts: 157
Location: shoreditch
Audio files: 1

PostPosted: Sun May 07, 2006 11:22 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi,I find Ken Stone is the master of CMOS.

I've built his Pulse Divider with three 4017s and instead used a 4520 to do the 2,4,8.It does 2,3,4,5,6,7 & 8.As a fixed divisional system.I constructed on veroboard,with added 4093 clock oscillator and an added 4011 touch stop start switch.
There's no reason you couldn't incorporate further divisions with a 4040 or even /10 /11 /13 etc with strung 4017s.Chips wise it's easier to patch AND gates so for instance it only pulses when the 5 and 6 go high to give you /30.

With automation in mind his two votage controlled dividers are interesting devices.I've just completed both.
Jurgen Haible has a VCdivider too,but it was a little over complicated compared to Ken's designs.Both fire comparators to interrupt gates.

Here's the two boards for size comparisons....
Vero board left is post hack pre installation tidy....adding on 2 big 4067s to use the other side of the 4520.
Hence the long wires Shocked
Other chips Lm358,4011,4093 across the bottom.3 * 4017 and one 4520.Output transistors all 3904.


RS board on the right ,second generation VC divider above red long wire,first gen below.
Using a LM311 to fire out at the bottom.
I prefer to use thick Valve (6A 1000V) coloured single core so i can see what's going on.With the ultra slim wire that these boards were used with in the 70s,it looks beautiful but is harder to trace.

When i run out of these RS boards which were given to me (£25 a piece!) i intend to order the similiar Futuretech boards that Scott likes.Much cleaner finish than the spaghetti vero even counting the dozens of cut tracks underneath.I've had enough of vero...including the blisters from holing them!
Hope helps!
Robert


pict1099.jpg
 Description:
 Filesize:  154.55 KB
 Viewed:  157 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

pict1099.jpg


Back to top
View user's profile Send private message Visit poster's website
Pehr



Joined: Aug 14, 2005
Posts: 1307
Location: Björkvik, Sweden
Audio files: 2

PostPosted: Sun May 07, 2006 11:52 am    Post subject: Reply with quote  Mark this post and the followings unread

zipzap wrote:
I just finished a sequencer that does that. Gonna post some sounds in the next days. I use a 4017 for dividing by 1 to 10.
It´s really cool if you´re not fixed to ratios by 2. I did no buffering, since the divider is part of the sequencer logic. I just used the 0 output (pin3) of the divider 4017 as a clocksource of the sequencer. Outs 1-9 are sent to the reset in via a 10 way swich. The 10th position is left empty, the reset in has a pulldown to handle that. If the swich is set to connect 4017out 1 with 4017 reset that means divide by 1. The duty cycle becomes very long, your sequencer has to handle that. If it´s 4017 based it will. If not you´ll notice the sequencer stops when set to 1, while it can run at the other divisions. In that case use a 4538 monoflop to shorten the pulses.


Wow! Shocked That's great! Very Happy I didn't know about the 4017. I have to build that! Thanks Very Happy I'll still build the 4040 divider, since I think dividing by 2 is the most important. Cool

_________________
YouTube channel
flickr photostream
http://loxodrom.blogspot.com
http://www.garageband.com/artist/loxodrom
http://soundcloud.com/loxodrom
Back to top
View user's profile Send private message
bugbrand



Joined: Nov 27, 2005
Posts: 842
Location: Bristol, UK
Audio files: 1
G2 patch files: 1

PostPosted: Mon May 08, 2006 1:29 am    Post subject: Reply with quote  Mark this post and the followings unread

I'd def. agree with the goodness of those Ken Stone circuits - I've done the Master Divider and the Pulse Divider - actually, note that there's an ooops-mistake on the PulseDivider Scheme at the moment - on the 2nd 4017 the reset should be from Q8 (pin9) not Q9 (pin11) - Ken says its corrected on the PCB but the schem error got me very confused.!.

The non-2-4-8 (non-binary?) divisions are very very great indeed 'cos you can have regular rhythms running but have wierdy cross-rhythms over the top - good results aplenty!

_________________
http://www.bugbrand.co.uk
http://www.bugbrand.blogspot.com
Back to top
View user's profile Send private message Visit poster's website
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4759
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Mon May 08, 2006 5:07 am    Post subject: Reply with quote  Mark this post and the followings unread

You can also just AND the original clock with the pin3 output to retain the same pulse length.
_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
zipzap



Joined: Nov 22, 2005
Posts: 559
Location: germany
Audio files: 24

PostPosted: Mon May 08, 2006 8:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Are you sure? Similar things didn´t work for me. The delay of the 4017 makes he clock come in too early (i´d rather say: The 4017 is too late).
Can fix it with one or two aditional gates, of course.
Back to top
View user's profile Send private message
Uncle Krunkus
Moderator


Joined: Jul 11, 2005
Posts: 4759
Location: Sydney, Australia
Audio files: 52
G2 patch files: 1

PostPosted: Tue May 09, 2006 1:32 am    Post subject: Reply with quote  Mark this post and the followings unread

I have only tried it once. I didn't notice any appreciable delay, (the 4017 has switch delays in the nsecs doesn't it?)
_________________
What makes a space ours, is what we put there, and what we do there.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [8 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software
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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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