How to Build a Relaxation Oscillator with a Transistor?

In this project, we will show how to build a relaxation oscillator with a single transistor and a few other components such as a resistor and capacitor.

Components Needed

  • 2N4401 NPN Transistor
  • 3300μF electrolytic capacitor
  • 1KΩ resistor
  • LED

The 2N4401 transistor is an NPN transistor. The datasheet for this transistor can be found at the following link: 2N4401 NPN Transistor Datasheet.

You really could use any NPN transistor. Other popular transistors are the 2N3904 and 2N2222 NPN transistors.

Relaxation Oscillator (resoures) Built with a Transistor

The relaxation oscillator circuit we will build with a transistor and resistor and capacitor is shown below.

image

First and foremost, we use 12VDC of power for this circuit. Actually any voltage from 12V-15V will work. But voltages much below 12V will not allow the circuit to work.

Next, in parallel to this voltage source, we place a 1KΩ resistor and a 3300μF electrolytic capacitor in parallel. Then in parallel to the capacitor, we place an LED and 2N3904 NPN transistor in series.
but the LED is in short. What is the problem ?

https://duckduckgo.com/?q=How+to+Build+a+Relaxation+Oscillator+with+a+Transistor&t=h_&iax=images&ia=images

Edit:
I do not have much confidence in circuits where transistors are “abused” like this. You’re using it outside of it’s specifications and that may bring you into an area where it may or may not work, or you may be plagued by a high variability of the untested parameters.
It’s quite possible that your transistor just works as a zener diode with no oscillation at all for example.

I would not design a PCB for this.
It can be fun to experiment with such circuits on a breadboard though.

The problem is none show how to make the PCB or schematic or library parts in Kicad.

What do you mean by in short?

Also the voltage required depends on the reverse breakdown voltage of the EB junction of the transistor and this varies according to model, so this is not a very good design. And since you are relying on the resistance of the transistor to limit the current, you may or may not destroy the transistor and/or LED by discharging the 3300μF capacitor.

If you want a blinky, use a 555, they are cheap. If you want to spend more money on a blinky, then use an Arduino or RPi. :wink:

1 Like

This circuit needs some negative resistance and a Vbe breakdown does not really give that.
Long ago we used unijunctions in this circuit or at higher voltages a neon bulb

Funny I was struggling with a simple oscillator design last night. But this design has a couple of aspects which are abuse or non-rigorous use of the transistor.

  1. If I assume you have drawn it correctly, any conduction will be via reverse breakdown of the base-emitter junction. Current flow direction is reverse from normal for an NPN. This could destroy the transistor.

  2. It is normally bad practice to leave the base of a transistor floating. There can be some leakage current and no base-emitter resistor causes a lot of variability.

  3. Also destructive: If the transistor avalanches somehow, there is not much to limit peak current through the LED and the transistor. This could damage either. Putting 470 ohms in series with the LED might help this.

In spite of what I have said, this might be interesting to play with. I have made avalanche circuits for test purposes; these similarly tend to overstress the components and is likely to result in component damage. Also fun is to make an LC oscillator with a single TTL inverter. All of these are toys or experimental but not recommended for serious design. The LC oscillator is not to be confused with LC the cow. https://en.wikipedia.org/wiki/Elsie_the_Cow

BTW there are some pcb fabricators which are cheap enough so that doing a board to play with may not be unreasonable. The main cost is shipping from China, but if the order is combined with another (a serious board design) then I think the added cost for a small 2 layer board can be negligible.

Is this now the new EEVBlog or allaboutcircuits? Just asking. I might have a couple of questions on how to connect my new bread oven.

1 Like

I am only barely familiar with either of those; probably because I lost interest after checking them out. If you are serious about a bread oven…I am dubious as to what could be done with it creatively. Perhaps some thyristor based enhancement of the thermostat?

Anyway a relaxation oscillator sounds like my way to relax.

Why didn’t you open a new topic then?

Just asking…

Don’t blame ML9104 for changing topics. I have been as guilty as anyone for taking discussions off topic. I think none of this discussion is very serious. “no harm no foul”?

These topics aren’t prohibited but they also aren’t encouraged. Hard lines generally aren’t useful and the community is pretty good a self policing.

Yeah, I understand that, and my post was sort of tongue-in-cheek.

But this forum is really about design software, not about dodgy cicuit design. That was my point.
The OP’s design would have been ripped apart on a real electronics site. Then it’s much warmer and fuzzier here.

Try emoticons? :wink: and maybe another for 20? :wink:

So was mine :slightly_smiling_face:
And what is the problem with the bread oven?

And don’t forget SCSs and PUTs… put…put…puting…
Oh, the memories!!!

Yeah, the original blinkys. I once made a darkroom timer using a neon bulb triggering a valve controlling a relay. Naturally the valve (octal base even) came from an old radio. We used what was on hand in those days.

At least the thread hasn’t been arbitrarily deleted (yet).

Was the neon bulb shielded from light? I am trying to remember something I had heard of involving a neon bulb. I think it was a printer. When the final product was buttoned up it quit working. The designers eventually figured out what was going on and put a fluorescent lamp inside the printer.

It was inside a sturdy steel case for some valve equipment I forget what.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.