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 
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
16 Step 4017 sequencer?
Post new topic   Reply to topic Moderators: mosc
Page 2 of 2 [46 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: Previous 1, 2
Author Message
01012k7



Joined: Aug 31, 2013
Posts: 25
Location: England

PostPosted: Fri May 15, 2015 11:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

baudrate wrote:
6581r4AR wrote:
I haven't tested this myself, but I'm pretty sure this will work. I also don't know how it compares to what is shown on page 6 of that datasheet either. I hope it helps though.


I just put this together on the breadboard and verified this works!


Ok was working on this on Friday but the software I have is easy to use and because I only make single sided boards and don't get them made buy a company yet..so this the problems I can see with the design
there is a delay between step 8 and 9 its a step which makes 9 more like 10 also the speed adjustment it works the wrong way round so I turn it the other way its the same Smile I am hoping its the software may not be I have change the hex chip to see if that was the problem but its not works the same I just have them in stock .. the picture has clear shaft pots also lots of wire you see the boards will plug into each other so think at the moment I will have about 11 links which I will look into later


16 step.jpg
 Description:
 Filesize:  444.51 KB
 Viewed:  723 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

16 step.jpg


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



Joined: Aug 31, 2013
Posts: 25
Location: England

PostPosted: Tue May 26, 2015 4:26 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok made this about a week ago but with computer problems not been able to post it works ..
https://www.youtube.com/watch?v=QTSz1F7wuVM
Back to top
View user's profile Send private message Visit poster's website
tokyomatik



Joined: Jan 20, 2011
Posts: 171
Location: berlin
Audio files: 6

PostPosted: Tue Jun 02, 2015 9:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

01012k7 wrote:
Ok made this about a week ago but with computer problems not been able to post it works ..
https://www.youtube.com/watch?v=QTSz1F7wuVM

bravo!!
finally somebody with a 16 steps working 4017 seq
now push it further...don't be shy
switches!!
Back to top
View user's profile Send private message Visit poster's website
01012k7



Joined: Aug 31, 2013
Posts: 25
Location: England

PostPosted: Wed Jun 03, 2015 12:26 am    Post subject: Reply with quote  Mark this post and the followings unread

That's the plan now switches and gate out.

completed version .


16 step.jpg
 Description:
 Filesize:  87.11 KB
 Viewed:  540 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

16 step.jpg


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



Joined: Feb 28, 2014
Posts: 217
Location: Hungary

PostPosted: Fri Jul 15, 2016 8:06 am    Post subject: Reply with quote  Mark this post and the followings unread

6581r4AR wrote:
I haven't tested this myself, but I'm pretty sure this will work. I also don't know how it compares to what is shown on page 6 of that datasheet either. I hope it helps though.

Hi Guys,

I just breadboarded this and I can confirm that it is working.
I used 2x4017 and a 4069, runs on +12 ang gnd, triggered with a simple square wave LFO from my eurorack.

The question is, how to implement the "maximum number of steps" switch.

I've tried to inject it to the reset input of the first 4017, no luck, then tried to inject it to the input of the hex inverters after the second 4017, no luck.
Any ideas?
Back to top
View user's profile Send private message
Snaper



Joined: Feb 28, 2014
Posts: 217
Location: Hungary

PostPosted: Fri Jul 15, 2016 8:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok, so tried the AND version of the cascading from the 4017 datasheet, and the result is the same.
Can't set the number of steps :S
Back to top
View user's profile Send private message
Snaper



Joined: Feb 28, 2014
Posts: 217
Location: Hungary

PostPosted: Fri Jul 15, 2016 10:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Another interesting thing, that if I try to supply it from +15V and Ground instead of +5V and ground the result is only one cycle, then it "freezes"...
I can restart it, if I remove then immediately place back the jumper for the LEDs :S
Back to top
View user's profile Send private message
NuttyMonk



Joined: Jun 30, 2020
Posts: 62
Location: UK

PostPosted: Tue Sep 29, 2020 1:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hi everyone,

has anyone managed to get a 16 step, cascading 4017 sequencer with selectable number of steps working yet?

I've got the cascading part working fine. Just followed the suggested schematic on the datasheet and paid attention to which of the output are "decoded". It's the number of step that i am having problems with as i see others have had in the past.

Any working approaches to this problem would be very well received.

Cheers

NM
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5599
Location: Moon Base
Audio files: 705

PostPosted: Tue Sep 29, 2020 3:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

As some others suggested in this thread it's far easier to just use a binary counter followed by a binary to decimal decoder.
The attached circuit diagram should be enough to get you started.

see also this thread.


basic 16-step counter.gif
 Description:
 Filesize:  48.48 KB
 Viewed:  462 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

basic 16-step counter.gif



_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
NuttyMonk



Joined: Jun 30, 2020
Posts: 62
Location: UK

PostPosted: Tue Sep 29, 2020 4:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for the quick reply Phobos. I was trying BCD counters and Mux's and then i went onto 4017's but this seems a lot easier to work with then the 4017's. I was hoping there was a 4017 with 16 stages but no such luck.
Will try out some schematic ideas with these two chips instead.

Cheers

NM

p.s. why the resistors to ground on the clock and reset pins? Is this to drain off some of the current going to those pins?
Back to top
View user's profile Send private message
NuttyMonk



Joined: Jun 30, 2020
Posts: 62
Location: UK

PostPosted: Tue Sep 29, 2020 5:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

p.s. has anyone ever tried putting a switch and inverter between the bit outs of the counter and the bit ins of the 4514? That should create some different and unusual sequences shouldn't it?
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5599
Location: Moon Base
Audio files: 705

PostPosted: Tue Sep 29, 2020 5:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

NuttyMonk wrote:
p.s. why the resistors to ground on the clock and reset pins? Is this to drain off some of the current going to those pins?

That's to keep them from floating if you don't connect anything else directly to them for example if you use them as patch points.
If you do leave pins on CMOS chips unconnected they are sensitive to (electromagnetic) noise and can switch between states
which can cause unwanted behaviour. If however you hardwire them as part of a circuit you don't need them. For some more
info see basic guidelines for digital circuit design.

Quote:
p.s. has anyone ever tried putting a switch and inverter between the bit outs of the counter and the bit ins of the 4514? That should create some different and unusual sequences shouldn't it?

yes, you can get some nice patterns by messing with the bits. Instead of inverters you can use XOR gates which work
as switchable inverters and if you invert all the bits it will count backwards.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube

Last edited by PHOBoS on Tue Sep 29, 2020 6:19 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
NuttyMonk



Joined: Jun 30, 2020
Posts: 62
Location: UK

PostPosted: Tue Sep 29, 2020 5:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:

yes, you can get some nice patterns by messing with the bits. Instead of inverters you can use XOR gates which work
as switchable inverters and if you invert all the bits it will count backwards.


Nice. Will have to look into that. And thanks for the CMOS info. Will be useful.

NM
Back to top
View user's profile Send private message
dk



Joined: Feb 12, 2019
Posts: 115
Location: Europe

PostPosted: Wed Sep 30, 2020 11:53 am    Post subject: Reply with quote  Mark this post and the followings unread

If you do go the 4017 route, the setup in the datasheet posted on the first page of this thread or the stuff PHOBoS posted that he linked to are the way to go... otherwise, I agree with PHOBoS on using a binary counter + binary to decimal decoder. Way simpler, and you often get cool additional features on the binary counter, like the ability to switch directions, preload (skip to any given step, either through a gate input or by pressing a button), etc.

OT, but since I gathered from the other thread you had posted that you like sequencers Wink , you can replace the sequencer core with a shift register and get a VERY basic version of a Klee sequencer. Perhaps for a future project? Cool

_________________
Horrors Of Dial-Up! on Facebook
Horrors Of Dial-Up! on Instagram
Back to top
View user's profile Send private message
blakeAlbion



Joined: Jun 16, 2020
Posts: 23
Location: Boston, Massachusetts, USA

PostPosted: Thu Apr 28, 2022 8:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

I built my first 4017 sequencer when I was 16 back in 1983. A year later I figured out it was terrible for generating musical pitches but great for generating patterns. A year later I figured out how to use the carry/enable to cascade 2 together to do a 16 step sequencer. With 4 banks of dual 8-switch DIP switches I had a 4-channel drum machine.
I'm looking at a junked Cort CRM-260 Drummer drum machine tonight and I can see the dead 16 pin IC is just a 4017.
I recall buying a MM5871 IC at Radio Shack. I am surprised you can 't buy something like this today. I know Barton makes a 4 channel rhythm chip but for maximum cheese you need enough channels to drive your Latin percussion section.
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5599
Location: Moon Base
Audio files: 705

PostPosted: Thu May 05, 2022 12:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

blakeAlbion wrote:
I am surprised you can 't buy something like this today. I know Barton makes a 4 channel rhythm chip but for maximum cheese you need enough channels to drive your Latin percussion section.


Apart from vintage chips it makes sense that they aren't produced anymore. These days it's much easier and cheaper to just use a microcontroller or an FPGA.
I have thought about burning EPROMS to be used as rhythm or pattern chips and make those available (could have 8 channels if you keep it simple), but that
would still require some additional circuitry and again it's easier, not to mention more versatile, to just use a microcontroller. I still love using discrete logic though.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
rlender90



Joined: Jan 21, 2023
Posts: 3
Location: United States

PostPosted: Sat Jan 21, 2023 7:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

First thread I'm reaching out in, I know it's an older one, but hoping someone can answer my question.

I'm building a 2x4017 16 step sequencer. I'm putting a 12-position rotary switch in, and was wondering, for the common pin to reset the sequence - does that go to pin 15 on both 4017s or just the first?
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5599
Location: Moon Base
Audio files: 705

PostPosted: Sun Jan 22, 2023 1:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

welcome party!


I don't know which design you are planning to use but with a single 12step rotary switch you will probably be limited to resetting
the second or first 4017 only. Not all is lost though, if you want 16 steps you could hardwire the first 4017 to 7 steps. Then reset
the second one on steps 2/3/4/5/6/7/8/9/10. The stepcount is 1 lower than the step you use to reset so combined with the 7
steps from the first one that would give you the option to switch from 8~16 steps.

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
rlender90



Joined: Jan 21, 2023
Posts: 3
Location: United States

PostPosted: Sun Jan 22, 2023 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

PHOBoS wrote:
welcome party!


I don't know which design you are planning to use but with a single 12step rotary switch you will probably be limited to resetting
the second or first 4017 only. Not all is lost though, if you want 16 steps you could hardwire the first 4017 to 7 steps. Then reset
the second one on steps 2/3/4/5/6/7/8/9/10. The stepcount is 1 lower than the step you use to reset so combined with the 7
steps from the first one that would give you the option to switch from 8~16 steps.


If I use a 1p8t and do every other step like run 2/4/6/8/10/12/14/16 to the rotary pot then common to 15 on the first chip would that work?
Back to top
View user's profile Send private message
PHOBoS



Joined: Jan 14, 2010
Posts: 5599
Location: Moon Base
Audio files: 705

PostPosted: Wed Feb 08, 2023 12:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

rlender90 wrote:
If I use a 1p8t and do every other step like run 2/4/6/8/10/12/14/16 to the rotary pot then common to 15 on the first chip would that work?



right, I was going to reply to this. sorry about that, bad habit Rolling Eyes

It depends a bit on the circuit you use but the second chip wouldn't care if you only reset the first one. Either it just keeps counting
or if you use the CLK enable pin it will hold at that step which would result in having two active outputs at the same time (one on each chip).
The 4017 doesn't have a way to turn an output off so the trick that is used is to sort of "park" it at a step that is not used as an output.
Then it will just wait there until it gets a reset pulse and starts counting from the start again while the other chip is "parked".

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
blakeAlbion



Joined: Jun 16, 2020
Posts: 23
Location: Boston, Massachusetts, USA

PostPosted: Thu Mar 23, 2023 1:55 pm    Post subject: Yuh, 1 4017 split by AND gates. Reply with quote  Mark this post and the followings unread

Back in the 80s we used 4 quad AND gate chips, controlled by a 4013 to switch at the start/end of each 8-beat bar.
The a bunch of diodes feeding the outputs into 4 pairs of mini-dips.

So we had a 4-voice 16 step drum machine, programmable by DIP switches.

http://benjamintremblay.com/retro/audio/Narrow_Decade.mp3

There's probably a better way to do this. These days I would use an Arduino Mega or just a bunch of multiplexers with a cheap Arduino-ish board.

The 4017 doesn't really offer you anything you wouldn't get from an Arduino. And if you use Arduino you could use someone's library, like fifteenstep, and hang some sync options off it.

A sequencer based on knobs seems really wonky to me. Very hard to keep in tune.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 2 of 2 [46 Posts]
View unread posts
View new posts in the last week
Goto page: Previous 1, 2
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Lunettas - circuits inspired by Stanley Lunetta
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