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
Diode voltage drop at CMOS input? Help needed :)
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
HexInverter



Joined: Aug 21, 2010
Posts: 338
Location: Canada

PostPosted: Sat Aug 21, 2010 6:47 pm    Post subject: Diode voltage drop at CMOS input? Help needed :)
Subject description: I dunno! I'm puzzled :(
Reply with quote  Mark this post and the followings unread

Well, first off - hello! First poster here. I've been lurking these forums for a while now, but haven't bothered to register until now Smile

I love CMOS based noise generators! I have made tons of whacky 4093 based oscillators, played with 4040/555's/4046/etc, and built a couple of 4017 sequencers successfully. I have a bunch more IC's on the way that I can't wait to mess with!

Anyways, I've ran into a bit of a block that I can't seem to figure out. I'm hoping it's something super easy that I haven't learned yet! Anyways...

I got this great idea from the book "Handmade Electronic Music" to make a modulated clock generator, and want to use a 4093 as the clock input on a 4017. The book suggests chaining the 4093's 4 oscillators and using that as the clock - this works great, but I want to be able to switch each oscillator on and off at will and not interrupt the others (by making the inputs high/low on each oscillator with a switch). So, I mixed the 4 outputs down with diodes and put that through the 4017 - nothing! Connecting a speaker gives me sound from the diode mixed 4093 clock, so I know it's working. The first step of the sequence stays on but the clock does not advance!

Is this because of the voltage drop from the diode/s causing it not to actually clock the 4017? I added a capacitor at the input thinking it might help...no go.

Also, I tried mixing with 1ohm resistors instead thinking it might still pick up on the signal. Still nothing!

Sorry if this is a stupid question...I have probably been going at this too long without a break Smile Prolonged exposure to all the crazy noises has probably done some brain damage Very Happy

Also, if it matters any, I AM using proper bypass caps on each chip, and a larger electrolytic power supply bypass - the circuit works fine without the diodes/resistor mixing!

Thanks for any help Smile
Back to top
View user's profile Send private message
DGTom



Joined: Dec 08, 2008
Posts: 211
Location: Adelaide
Audio files: 3
G2 patch files: 1

PostPosted: Sun Aug 22, 2010 4:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi! First off... no amount of crazy noises can do brain damage Very Happy
quite the oppisite I think Twisted Evil

I've found unbuffered 4017 clock inputs to be a little fussy, in my lunetta 4017 module I had to put a resistor inline with the input to get it to work at all, so the input is 10K -> Diode -> 100K to ground -> 4017 clock pin... dunno why, but, it worked.

However... I'm going to guess the problem here is with getting a decent edge, I'd bet with diodes, or 1ohm resistors, jamming 4 asynchronous clocks together the signal never gets to 0, so there is never a strong enough positive going edge for the 4017 to recognize - just a guess.

Try fewer clocks into the diodes.

The other way to do it, starting from the Collins idea, set up the chained 4093s, but, use SPDT switches on the pin that is turning each clock on / off.

One side of the switch goes to the preceding clock, the other goes to +V. That way you can toggle each clock between on & modulated.

Feed the 4017 the output of the 4th 4093 clock - the one furthest down the chain - this way differant switch combos will produce differant modulated clocks or 4 independant clocks etc.

Or, I'd look at processing / conditioning the output of the diodes;

http://musicfromouterspace.com/analogsynth/mmlogic.html

start with the MML 40106 OR gate, maybe a one shot... just abuse the signal till it does what you want Cool
Back to top
View user's profile Send private message
HexInverter



Joined: Aug 21, 2010
Posts: 338
Location: Canada

PostPosted: Sun Aug 22, 2010 8:00 am    Post subject: Reply with quote  Mark this post and the followings unread

DGTom wrote:
Hi! First off... no amount of crazy noises can do brain damage Very Happy
quite the oppisite I think Twisted Evil

I've found unbuffered 4017 clock inputs to be a little fussy, in my lunetta 4017 module I had to put a resistor inline with the input to get it to work at all, so the input is 10K -> Diode -> 100K to ground -> 4017 clock pin... dunno why, but, it worked.

However... I'm going to guess the problem here is with getting a decent edge, I'd bet with diodes, or 1ohm resistors, jamming 4 asynchronous clocks together the signal never gets to 0, so there is never a strong enough positive going edge for the 4017 to recognize - just a guess.

Try fewer clocks into the diodes.

The other way to do it, starting from the Collins idea, set up the chained 4093s, but, use SPDT switches on the pin that is turning each clock on / off.

One side of the switch goes to the preceding clock, the other goes to +V. That way you can toggle each clock between on & modulated.

Feed the 4017 the output of the 4th 4093 clock - the one furthest down the chain - this way differant switch combos will produce differant modulated clocks or 4 independant clocks etc.

Or, I'd look at processing / conditioning the output of the diodes;

http://musicfromouterspace.com/analogsynth/mmlogic.html

start with the MML 40106 OR gate, maybe a one shot... just abuse the signal till it does what you want Cool


Haha, yes, it probably doesn't cause brain damage! I was just tired Very Happy

Thanks for all the great suggestions! I think I forgot to mention though that I did in fact try just one clock going into the 4017 with a diode...and it did not work. If I pulled the diode out that was before the input, it would work fine with the same single clock pulse.

Thanks for the link too - I never came across that page on MFOS - Awesome stuff Smile

I will let you know what happens when I get some time to play around today!
Back to top
View user's profile Send private message
bingmachine



Joined: Jan 23, 2009
Posts: 19
Location: Sweden

PostPosted: Sun Aug 22, 2010 11:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Might be obvious, but do you have a resistor to ground also (after the diode)? If the signal is to pass the diode there has to be a current, and that current has to go somewhere. It won't go into the 4017, unless the voltage passes e.g. Vcc + 0.7V, and I don't think that is what you want. Wink Have a look at MFOS like DGTom suggested, and you'll get the idea.
/Erik
Back to top
View user's profile Send private message
HexInverter



Joined: Aug 21, 2010
Posts: 338
Location: Canada

PostPosted: Sun Aug 22, 2010 11:42 am    Post subject: Reply with quote  Mark this post and the followings unread

bingmachine wrote:
Might be obvious, but do you have a resistor to ground also (after the diode)? If the signal is to pass the diode there has to be a current, and that current has to go somewhere. It won't go into the 4017, unless the voltage passes e.g. Vcc + 0.7V, and I don't think that is what you want. Wink Have a look at MFOS like DGTom suggested, and you'll get the idea.
/Erik


Ahh - silly me! This was it Smile

I tried it with one diode and a 100k resistor attached to ground - worked great! So, I plugged in the other 3 diodes and it didn't work at first, until I put all 3 oscillators to VCC instead of GND ("disabled" on the switches). Strange, I thought I could switch the 3 other inputs from VCC to ground to turn them on and off, but it turns out just simply switching their output on and off at the diodes works the same! (And produces some whacky awesome sequencing I might add!)

I will have to post a video of it when I can find a camera Smile

Thanks for the responses guys! - even though GDTom's was not the problem I was experiencing, I learned a whole lot and discovered M^2 Logic! Bonus Very Happy I know how hard it is diagnosing stuff you can't see over the 'net so kudos to both of ya.
Back to top
View user's profile Send private message
DGTom



Joined: Dec 08, 2008
Posts: 211
Location: Adelaide
Audio files: 3
G2 patch files: 1

PostPosted: Tue Aug 24, 2010 1:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Laughing always something simple! Stupid me, I assumed there was a 100K to ground from the start - you know what they say about assumptions!!
Back to top
View user's profile Send private message
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Tue Aug 24, 2010 3:06 am    Post subject: Reply with quote  Mark this post and the followings unread

Another great way to get a bizarre clock stream into the 4017, is to plug the outputs of the 4093s, into 4070 XOR inputs. Smile

4093 out #1 to 4070 Gate 1 input 1
4093 out #2 to 4070 Gate 1 input 2
4093 out #3 to 4070 Gate 2 input 1
4093 out #4 to 4070 Gate 2 input 2
4070 out #1 to 4080 Gate 3 input 1
4070 out #2 to 4080 Gate 3 input 2
4070 out #3 past the 100k to Ground into the 4070 Clock in.

BTW - great to finally see another Canadian noise maker! Surprised Smile I'er beiginning to think I were by myself in this country. Laughing
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
HexInverter



Joined: Aug 21, 2010
Posts: 338
Location: Canada

PostPosted: Tue Aug 24, 2010 8:37 am    Post subject: Reply with quote  Mark this post and the followings unread

DGTom wrote:
Laughing always something simple! Stupid me, I assumed there was a 100K to ground from the start - you know what they say about assumptions!!


Well, not your fault! A non newb wouldn't have done that, so I'd say it's safe to assume on your part that I would know that Smile

Thanks for the tip Rich! I think that sounds like a fun idea...right now the 4017 setup I've got going here isn't a constant stream of random pulses when fed with the 4x 4093 pulse stream, but rather it goes insane, flying around all ten steps, and then kinda has a heart attack and pauses on a random step number, and then goes nuts again! By changing the 4093 clock frequencies you get more or less of the craziness effect, and can alter the "pattern". It's quite different I think...could make some weird stuff once my other chips get here! argh.

I will definitely be trying more ways of messing with the signal once I have some more interesting gates to fool around with! My parts store is kind of limited at the moment - I have 40106's, 4093's, 4040's, 4017's, 555/6's, some op amps, and lots of passive components. Argh! I just realized I didn't include 4070's when I made my huge order too. I will have to find some of those Smile

Haha yeah we Canadians are pretty sparse around these parts! You're not alone now though Smile

You would think with our crappy winters there would be a lot more people from Canada that spend enough time in their basement/what have you to play around with these things! haha oh well.
Back to top
View user's profile Send private message
Rykhaard



Joined: Sep 02, 2007
Posts: 1290
Location: Canada

PostPosted: Tue Aug 24, 2010 2:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

HexInverter wrote:
DGTom wrote:
Laughing always something simple! Stupid me, I assumed there was a 100K to ground from the start - you know what they say about assumptions!!


Well, not your fault! A non newb wouldn't have done that, so I'd say it's safe to assume on your part that I would know that Smile

Thanks for the tip Rich! I think that sounds like a fun idea...right now the 4017 setup I've got going here isn't a constant stream of random pulses when fed with the 4x 4093 pulse stream, but rather it goes insane, flying around all ten steps, and then kinda has a heart attack and pauses on a random step number, and then goes nuts again! By changing the 4093 clock frequencies you get more or less of the craziness effect, and can alter the "pattern". It's quite different I think...could make some weird stuff once my other chips get here! argh.


Ooooo! I REALLY like the sound of that! I'm going to keep that in mind as I haven't built any 4017 sequencers for this new noise machine, yet. (My older one has 2 x Melody Generators in it. But this one will have discrete 4017's, along the lines of Tjookum's modified CasperElectronics one. I REALLY like what he did with his! And driving it with your and my ideas will be hellishly fun! Twisted Evil

Quote:

I will definitely be trying more ways of messing with the signal once I have some more interesting gates to fool around with! My parts store is kind of limited at the moment - I have 40106's, 4093's, 4040's, 4017's, 555/6's, some op amps, and lots of passive components. Argh! I just realized I didn't include 4070's when I made my huge order too. I will have to find some of those Smile


I WAS going to point out how you could make an XOR with a 4093 (or 4011) but quickly remember that - 4 of the Gates are required to make ONE XOR ... noooo. The 4070'd be much better.

Now - I KNOW Canada's big, but if you could drive to Kitchener, I could just give you a few. Laughing I have a fair pile of 4070's at the mo' forgetting the last ordering time, that I already had a fair number of them. Duh. Laughing

Quote:

Haha yeah we Canadians are pretty sparse around these parts! You're not alone now though Smile

You would think with our crappy winters there would be a lot more people from Canada that spend enough time in their basement/what have you to play around with these things! haha oh well.


No kidding! Go figure!?!? I've been building noise machines on / off since 1986 and I STILL haven't really found any others that are as big a fan of it, as I and everyone in the Lunetta list / my forum.
Maybe it's cuz we're too polite? Laughing
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
HexInverter



Joined: Aug 21, 2010
Posts: 338
Location: Canada

PostPosted: Tue Aug 24, 2010 6:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

Rykhaard wrote:
HexInverter wrote:
DGTom wrote:
Laughing always something simple! Stupid me, I assumed there was a 100K to ground from the start - you know what they say about assumptions!!


Well, not your fault! A non newb wouldn't have done that, so I'd say it's safe to assume on your part that I would know that Smile

Thanks for the tip Rich! I think that sounds like a fun idea...right now the 4017 setup I've got going here isn't a constant stream of random pulses when fed with the 4x 4093 pulse stream, but rather it goes insane, flying around all ten steps, and then kinda has a heart attack and pauses on a random step number, and then goes nuts again! By changing the 4093 clock frequencies you get more or less of the craziness effect, and can alter the "pattern". It's quite different I think...could make some weird stuff once my other chips get here! argh.


Ooooo! I REALLY like the sound of that! I'm going to keep that in mind as I haven't built any 4017 sequencers for this new noise machine, yet. (My older one has 2 x Melody Generators in it. But this one will have discrete 4017's, along the lines of Tjookum's modified CasperElectronics one. I REALLY like what he did with his! And driving it with your and my ideas will be hellishly fun! Twisted Evil

Quote:

I will definitely be trying more ways of messing with the signal once I have some more interesting gates to fool around with! My parts store is kind of limited at the moment - I have 40106's, 4093's, 4040's, 4017's, 555/6's, some op amps, and lots of passive components. Argh! I just realized I didn't include 4070's when I made my huge order too. I will have to find some of those Smile


I WAS going to point out how you could make an XOR with a 4093 (or 4011) but quickly remember that - 4 of the Gates are required to make ONE XOR ... noooo. The 4070'd be much better.

Now - I KNOW Canada's big, but if you could drive to Kitchener, I could just give you a few. Laughing I have a fair pile of 4070's at the mo' forgetting the last ordering time, that I already had a fair number of them. Duh. Laughing

Quote:

Haha yeah we Canadians are pretty sparse around these parts! You're not alone now though Smile

You would think with our crappy winters there would be a lot more people from Canada that spend enough time in their basement/what have you to play around with these things! haha oh well.


No kidding! Go figure!?!? I've been building noise machines on / off since 1986 and I STILL haven't really found any others that are as big a fan of it, as I and everyone in the Lunetta list / my forum.
Maybe it's cuz we're too polite? Laughing


Well, that's a snazzy idea...unfortunately I'm a 22 hour drive away xD I'm in Manitoba Sad I also don't have my own car. Double lame!

I'm hoping to borrow my Dad's sooper dooper true HD Camera to shoot some whacky videos when I get some neat creations going. I'm too cheap to buy my own, so borrowing his $800 one should be nice (he always goes all out on electronic stuff...haha). That might not be for a bit though...waiting on a lot of parts and I'm about to start the school year again! Needless to say I will be making some posts at Deathlehem/here when I do so.

I can't wait for my new IC's to get here! Damn overseas shipping takes foreverrr sometimes (so cheap though - can't beat 4 or 5 chips for a buck!)

Yeah, using all those gates for one XOR would be pretty lamers. I didn't realize upon first encounter with these devices that XOR/AND/other non schmidtt triggered/inverting chips could process audio stuff. It didn't really strike me to try and bend the use of all of these for audio purposes until I read much deeper into Nic Collns book, and this forum - suffice to say I didn't order the "core" CMOS logic chips that I'm learning I should always have around to manipulate signals with!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: mosc
Page 1 of 1 [10 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 » 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