4. Pulldown/up resistors These resistors are often needed in CMOS circuits. They are useful when we want to force a high or low output state when the input is not changing, but still leave the input able to accept a input signal. They are typically a high value from 10K - 100K and goes to ground (pulldown) or V+ (pullup) at the input of the gate. For example, if we have a gated oscillator on the input and we want to make sure the output always goes to ground when the oscillator is off we need a pullup resistor at the input (assuming the gate is inverting). We will use a few pratical examples later on. 5. Lets breadboard the "CMOS'ifier", a simple square wave fuzz. We will use this circuit as the front end for the guitar signal, so we can do other things later on, such as octave down. But it also makes a pretty cool fuzz on it's own. For this we will use a CD4069 chip, simply because it has a easier pinout than the CD4049 and takes less space on the breadboard. First, lets take a look at the pinout of this chip. Lets connect input/output jacks, power and ground to the breadboard and the chip like this (these connections will not be shown later): Stage 1. Preamp Our first stage of our circuit will be boosting the guitar signal into logic levels. This is a gainstage similar to many CMOS based distortions, such as the classic Tube Sound Fuzz by Craig Anderton. This is one of the exceptions to the digital logic and can only be done with the CD4069/CD4049. It gives a very pleasing distortion, but has the drawback of being rather noisy.
Lets put it up on the breadboard. Notice the green wires in the first image that are used to disable all the unused inputs. This will not be shown later, but it's a good pratice to always disable any unused input. The second image shows the same circuit with a trimmer for gain control. Put several gainstages in series for a sweet sounding distortion. I usually have two gainstages in my designs when I have one extra inverter left over. We can use any circuit to boost the signal into logic levels, transistor-based or op amp, but the advantage with this method is that we're only used 1/6 of one chip. So the rest of the inverters can still be used for other things, oscillators, LFO, filters ect. and this will save us some space. Another easy way is to use a LM386 amplifier chip and boost the signals into a squarewave (common in many Tim Escobedo designs), or a op amp comparator.
Next part: CMOS workshop part 3
30 Comments
2. GATES A single CMOS input/output is called a "Logic Gate". Sometimes each gate can have several inputs. A chip usually consists of several identical gates that can be used independently. In the datasheets we will find something called a "Truth Table". It tells us how the gates operates based on their logic type. Lets take a look at a few different chips and their logic.
Now the logic gets alittle trickier...
NAND and NOR gate are sometimes called the universal gates, since they both can be used to form all the other basic logic gates. Is it starting to make sense? Let have a look at a couple of more...
Those are a few basic CMOS logic chips. We'll use them later to breadboard stuff or analyze a few of my designs.
I mentioned before that not all CMOS chips follows this logic. We have many exceptions, switches, linear amplifiers, MOSFET cmos chips ect. I will cover a few of those later. Lets stop there for a while. This post turned out alot bigger than I imagined and it can be a bit overwhelming! I had a hard time wrapping my head around this when I started out. If you are confused by the logic inputs and outputs, don't worry. In the next part we'll actually make something useful, a simple squarewave fuzz. The breadboard is a great learning platform, and by making a few small circuits I hope you will begin to understand these logic alittle better. Please let me know what you think of this post and if you find anything that is incorrect. / Fredrik UPDATED with some additional info and minor clarifications 2023-10-31. Next part: CMOS workshop part 2 EDIT 2014-08-19 I added a single layer PCB layout to the bottom of the post that fits better in a 1590B. Effects layouts also made an excellent perf and PCB layout, check it out at: http://effectslayouts.blogspot.se/2015/07/flying-guillotine-fuzz.html Here's a fuzz circuit I made up about a year ago that turned out pretty cool. The front end, tonestack and the output stage are all borrowed from the Big Muff, but the two Muff gainstages is replaced with a discrete op amp (by Joe Davission) modified with a odd feedback transistor clipping configuration. In the soundclip the gain is maxed, tone at noon and volume at about 9 o clock. I got the name from one of my favourite movies. :)
Update 2015-07-24
The Arcadiator is now released and avaliable in the shop! The first batch is limited to 30 pedals, 27 sold in the shop (25 red and two white). These are sold at a special introductory price. At first I was going to sell the first 10 pedals only at this price. But I have had some problems with the production of the faceplate, so I decided to sell them all for this price. The faceplate have minor beauty flaws, but don't be alarmed, it's just barely noticable when you look at it from a certain angle. All in all i'm very satisfied with how these pedals turned out. I'm going on a vacation trip soon (31/7) and will be away for a about one week. So order now and I will have it shipped out before leaving for vacation. I will start on the second batch when I get home from my vacation. I need to check up on alternative means of producing the faceplate, so the next batch may take up to 3 months before they are avaliable. I'm proud to present the Flawed Logic Fuzz MKII. The original Flawed Logic Fuzz was a fun circuit, but it suffered from too short sustain and the modulation part could have been better. The MKII is improved in these areas and also has a couple of new features such as a depth control and a waveshape switch for the LFO. I'm especially happy with the new triangle LFO waveshape that makes a sort of phaser'ish sound. This circuit is made up of a square wave fuzz followed by two gated oscillators in series (NAND gates). The LFO modulates the frequency of the second oscillator. This produces a very synthy, throaty sound that is unlike any other fuzz. I hope you like it. :) PCB avaliable in the shop
Here is a new original design - The Sidescroller Fuzz. It started out as a derivative of the Silver Fox Octaver, but it turned out quite different. Soundwise It's basically "the arcadiator light" since It also does octave down, octave up and pulse width modulation. Compared to The Arcadiator it has tighter controls, fits in a 1590B and has a unique feature: An LFO to modulate the Pulse Width. All this only using a couple of CD4069 inverter chips. :) PCB avaliable in the shop
Here is a new original design - The Eagle Claw octave fuzz
It's a very simple CMOS based circuit with a full wave rectifier for the octave up. Makes a fairly strong octave, but usual caveats apply for best results - humbuckers, neck pickup and tone rolled off. For fun I threw together a short demo song for this one insted of a regular soundclip. This it how it sounds in context with drums and bass (I mixed the bass low). It has some minor eq for touch-up.
My completed pedal. It turned out ok, but the etch could have been alittle better. My toner is running out so the transfer wasn't that good to start with.
For this build I used a prototype dual layer PCB from OSH Park. PCB's will be avaliable for purchase when I get my webshop up and running. The last image shows the microphone placement in the demo. I only used one microphone on the drums. Why make it more complicated then it has to be? :)
The name is after the kung fu style. Here is one of my favourite movies that features the eagle claw style.
PCB avaliable in the shop
Here is my taken on the Analog Bit Crusher by Colin Raffel. It's a cool circuit that uses sample and hold to degrade the signal. I guess a more accurate description would be aliaser / sample rate reducer. I replaced the oscillator with a better one that has a wider range and an additional pulse width control. I also added a much needed gate for the carrier oscillator - a envelope follower that turns off the oscillator when not playing. No more carrier bleedthrough. :) The controls are: Resolution - controls the pulse width of the oscillator. Wider pulses lets more clean signal through Sample rate - control the frequency of the oscillator Gate (trimmer) - this sets the gate threshold for the oscillator in relation to the input signal I etched the enclosure for this one. I'm very happy with the result. :) This tutorial is very good: http://diy-guitar-effects.tumblr.com/etching The name and text on the enclosure comes from the lyrics from this song. But I bet you knew that already, otherwise - shame on you! :o) PCB avaliable in the shop
edit 2016-03-08: Added a demo video
Here is a new original design. I'm very happy with how this one turned out. :) It's a very percussive tremolo based around the TDA7052A amplifier chip.
It continues with the idea I had when I designed the Black Current Vibrato, that two signals out of phase is summed together. One side is static while the other side is being modulated and filtered to leave some frequencies unaffected. This results in what sounds almost like a light phaser and vibrato'ish effect. So in a sense this is a continuation of the Black Current Vibrato (hence the play on words) but without the stutter mode and otherwise improved in every way; more neutral sounding, less noisy, more control, more versatile LFO and no ticking noise.
The controls are:
Rate - Controls the speed of the LFO Range - Controls the range of freqencies effected by the modulation. Attack switch - Sets the waveshape to hard (sawtooth) or soft (ramp). I will post a video-demo later, but not until I have boxed this one using a fabbed PCB (just because it will be alot smaller and easier to fit inside a 1590B - the vero is verified and perfectly fine). So that might take a while.
PCB avaliable in the shop
For me DIY is about sharing info and knowledge and this blog is my way of contributing to the DIY community. I love seeing other people build by humble creations. Here is a few builds done by other people :) I hope it's alright that I snatched these pictures of the web. With enough pictures I might do a gallery section on the blog, so please send me your pictures if you got any and want me to share. :) On a more serious sidenote.. There are a couple of unwritten rules within the DIY scene. 1. Never use DIY schematics or layouts for profit without permission. I think it's ok to build a couple of pedals to sell to friends, but nothing more. 2. Always give credit to the original creator and never take credit for someone elses work. I always give credit for every vero layout I make ect. I only ask that you do the same for my stuff and respect these rules. Thank you! |