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
  Jez Adventures in Sound
Please visit the chat
 Forum index » DIY Hardware and Software
4017 based sequencer, help with VC clock inhibit - *solved*
Post new topic   Reply to topic Moderators: jksuperstar, Scott Stites, Uncle Krunkus
Page 1 of 1 [6 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
seaweedfactory



Joined: Apr 12, 2006
Posts: 74
Location: Portland, Maine

PostPosted: Sun Dec 16, 2012 2:52 pm    Post subject:  4017 based sequencer, help with VC clock inhibit - *solved*
Subject description: Need help switching clock inhibit with a gate
Reply with quote  Mark this post and the followings unread

This was solved by using the two op-amps in a LM358 as a comparator followed by a non-inverting amplifier.

Hello all. I've been trying to build a simple sequencer base around the 4017 and it's going quite well. Initially I had problems with the reset circuit, but that was cleared up with a circuit from Ken Stone:

http://www.cgs.synth.net/modules/gate_sequencer2.html

I used the op-amp based buffer for the clock and reset inputs and it works great! I substituted a TL072 for the LM358. Originally I had tired to use fonik's baby 10 mini sequencer schematic for the 2N3904 buffer, but I could not get the reset function to work. That schematic is available here:

http://www.modular.fonik.de/Page22.html

I have a switch which can run the sequencer in a looping mode or freeze the sequencer on the last step until a reset pulse is received. The switch connects output 8 to the clock inhibit input via a diode. I am using a 100K pull-down resistor on the clock inhibit as well. This works great and freezes on the step until reset, as it should.

I am building this sequencer into some previously drilled panel space and have an extra input left. I thought it would be great to use this input as voltage control over the clock inhibit. However, I just can't seem to find a buffer that will switch the feature on. I tried using both of the buffer circuits above to no avail. Connecting a gate signal directly to the clock inhibit does not work and produces weird behavior in the form of step skipping, which is neat but not what I am trying to produce.

Any ideas on gating the clock inhibit input on a 4017?

Thanks everybody!

_________________
Blog: http://seaweedfactory.blogspot.com/
Youtube: http://www.youtube.com/user/SeaweedFactory

Last edited by seaweedfactory on Sun Dec 30, 2012 12:20 pm; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
fonik



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

PostPosted: Fri Dec 21, 2012 4:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

the clock enable is ON when tied to ground, and OFF when high (inhibit). when i take a look at the datasheet then i see that the clock enable is nothing but a non-inverted input to an AND gate, where the clock is fed inverted.
the ken stone circuit shows comparators. this is good, because the 4017 need more than 1/2 of the supply voltage to clock (2/3 IIRC?).

so i cannot see why a comparator shouldn't work, all the more when you used a pulldown resistor. just use the same configuration as for the clock's comparator. (or am i missing something?)

_________________
Posted Image, might have been reduced in size. Click Image to view fullscreen.
cheers,
matthias
____________
fonitronik at
FlickR (pix) / SoundCloud (sounds) / YouTube (vids) / Vimeo (vids) / facebook (news)
Back to top
View user's profile Send private message Send e-mail Visit poster's website
seaweedfactory



Joined: Apr 12, 2006
Posts: 74
Location: Portland, Maine

PostPosted: Fri Dec 21, 2012 5:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for replying, I was above to give up on this.

I had used the exact same circuit for the clock and it seemed to work fine for the clock but no the inhibit input.

However, I'll give the comparator approach another try. Do you think using TL072 with the single supply may not be enough voltage to activate the AND gate within the 4017? I'll measure the output of the comparator next time through.

Is it possible that some extra buffering is needed between the output of the comparator and the inhibit input?

_________________
Blog: http://seaweedfactory.blogspot.com/
Youtube: http://www.youtube.com/user/SeaweedFactory
Back to top
View user's profile Send private message Visit poster's website
Dragon's Lair



Joined: Dec 29, 2006
Posts: 185
Location: Nakusp BC, Canada
Audio files: 1

PostPosted: Sat Dec 22, 2012 12:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

When you use the TL072 with a single supply, you create a "virtual" ground that is half of your supply voltage, so the op amp never actually goes to ground, try using an op amp that is designed for single supply use like the LM358 and see if that helps.
Back to top
View user's profile Send private message Send e-mail
seaweedfactory



Joined: Apr 12, 2006
Posts: 74
Location: Portland, Maine

PostPosted: Fri Dec 28, 2012 4:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

I dug in the parts and found a LM358 to try the comparator method again. I was not able to get the switching to work for the inhibit input. I measured the output of the comparator, it was 5.22V for my 15V system. The op-amp is switching when it is sent a square wave from an LFO, but I don't think the voltage is high enough. Any ideas on increasing the voltage coming out of the comparator? Maybe I could try switching on a transistor after the comparator output or run the output through the second stage of the LM358 to provide additional gain?
_________________
Blog: http://seaweedfactory.blogspot.com/
Youtube: http://www.youtube.com/user/SeaweedFactory
Back to top
View user's profile Send private message Visit poster's website
seaweedfactory



Joined: Apr 12, 2006
Posts: 74
Location: Portland, Maine

PostPosted: Fri Dec 28, 2012 5:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

It worked after running the output of the comparator through a non-inverting amplifier built from the other half of the LM358.

The comparator goes from 2.5V to 12V, but it seems to be good enough for switching the clock inhibit input. Any ideas on getting it down to 0V, maybe biasing? There is also a glitch in which some steps are skipped when the clock is going very quickly, but I think I can live with it.

_________________
Blog: http://seaweedfactory.blogspot.com/
Youtube: http://www.youtube.com/user/SeaweedFactory
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 [6 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
emSynth

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