A Case Against the 555 Timer

There are many 555 based noise making circuits out there in the DIY noise and circuit bending community. Its popularity is partly due to the fact that it is a simple chip to use; it provides all the facilities for a square wave oscillator. But it is also due to the fact that there are countless 555 schematics out there churned over and over from book to book and now blog to blog who’s first incarnation begin probably in the era of ham radio or on the graph paper pages of a Forrest Mims book. It makes one wonder if the 555 timer is so used not because it’s the right tool for the job but more because it’s what’s in the prevalent circuit designs, leading to a kind of stagnant force of habit in the community. My main complaint about these 555 circuits is that they can only generate square waves. Saw tooth waves sound much meatier especially when run through a low pass filter. They are the perfect wave form for subtractive synthesis. Further a sawtooth waveform can easily be converted to a square wave or a triangle or even a sine wave. This is not the case for a square wave. At the heart of your typical electronic synthesizer you won’t find a 555. You will find instead a voltage controlled sawtooth oscillator. But these synth schematics are sophisticated and inaccessible to someone just getting into electronics so they don’t lend themselves to the kind of viral proliferation of say the Atari Punk Console. I decided to see how hard it would be to design a simple sawtooth relaxation oscillator using a common TL082 dual op-amp chip, which like the 555 can be found at RadioShack. The only other active components are a diode and an MPF102 JFET transistor, also available at RadioShack.

I used whatever components I had lying around and scavenged others off boards from my junk pile. Here is the final schematic:

The theory of operation is as follows: The first op-amp (left) charges the capacitor in its feedback loop. The output of the op amp is positive going and increases from 0v to 15v linearly, at a rate dependent on the negative current through the input resistor. But before it gets to 15v the second op amp, acting as a comparator, discharges it. The moment the output of the first op amp exceeds 7.5v (half the supply voltage) the second op amp switches its output from -15v to 15v. This fires the JFET which shorts out the capacitor, reseting the circuit to its original state. The diode prevents the input of the JFET from going above 0v and the resistor to ground pulls it to ground when it’s not being pulled to -15. The capacitor in the second op amp keeps the comparator from changing state before the main capacitor is fully discharged.

Here’s a video of it in operation. The meter is connected to the main capacitor, showing it charging up and then quickly discharging when it reaches the 7.5v threshold. I have a potentiometer hooked up between -15v and ground with the wiper connected to the input resistor – a variable voltage divider basically. This allows me to input any voltage between 0 and -15v to the circuit, which gives a corresponding frequency tone.

Here is an example of the circuit put to practical use as a light sensitive theremin. I replaced the 10k input resistor with a CDS cell (light sensitive resistor) allowing me to vary the frequency with the shadow of my hand

And another one of the light theremin at a lower frequency.

So this circuit was pretty easy to build. It is a little more complicated than a 555 oscillator, but it’s also little more interesting. A 555 is actually a relatively complex device but for the beginner it is usually treated like a black box. This circuit however has all the mechanisms exposed, making it perhaps a better education tool than the 555. The dual supply might be a little off-putting, requiring either two wall warts or two 9v batteries. Could this be modified to work with a single supply? One thing is for sure though, it sounds good, I dare say better than a 555 circuit. One more important point, with this circuit frequency modulation is possible. We could build a few of these circuits and be able to generate very rich FM sounds. We could also build a slew limiter for the input, or a random signal generator. The possibilities are virtually boundless with voltage control. To fully realize these options we would want to invert the input, and perhaps while we are at it scale the input exponentially. This unfortunately calls for another op amp.

About these ads

7 Responses to “A Case Against the 555 Timer”

  1. The Steiner Resonant Filter & A New Adaptation « Tristan Dabbles Says:

    […] first part of the paper, but modify it for light control so it could go with the light controlled saw tooth oscillator I still had kicking around from last time. Though the two variable resistors will change to vary […]

  2. 555 LCO & JavaScript Get Freaky Now « Tristan        Dabbles Says:

    […] built the saw-tooth oscillator out of a 555. It can be done, contrary to what I said in a previous post. The trick is to supply a regulated current to the timing capacitor, which creates a linear ramp. […]

  3. Exponential Converters « Tristan        Dabbles Says:

    […]           Tristan dabble. « Beyond the waters that no flesh can pass A Case Against the 555 Timer […]

  4. Anonymous Says:

    Square wave and triangle waves sound bad because they only contain odd harmonics. According to modern theory, common intervals like octaves and perfect fifths are actually dissonant for such waveforms. Odd-harmonic waveforms sound best with the Bohlen-Pierce scale.

    Sawtooths contain both even and odd harmonics, with a spectrum more like a human voice or violin, which matches our western scale.

  5. Rolbista Says:

    would it be possible to put this sawtooth generator in parallel with an APC and play it controlled by output signal of a keyboard? In pitch with each other of course. Originally I thought of two APC, but another waveform would be better to fatten up the sound perhaps?

    • Tristan Chambers Says:

      In terms of syncing the two circuits: You could probably use the pulse output of the right op-amp in this circuit to trigger your Atari Punk Console. That way the APC would be slaved to the saw tooth oscillator.

      You could use this circuit controlled by a keyboard but it would require adding special components for exponential control, calibration, and frequency stability. I’m moving away from this paradigm of design on this blog actually. I just want to make noise so all the extra circuitry to make tonal music isn’t included. I think the same is true for the Atari Punk Console. If you’d like to look at a well designed VCO circuit that adheres to the 1 volt per octave standard check out the ASM site. The circuit above is actually based on the ASM VCO circuit.

    • Tristan Chambers Says:

      Keep in mind that the output of that op-amp is inverted! Use a transistor as an inverter to flip it: http://www.google.com/search?q=transistor+inverter

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: