Back To Basics Episode 9: The 5¢ Component That Runs The World

Welcome back to Back To Basics, our journey to master electronics one little bit at a time.

Today we are talking about this tiny piece of plastic and metal that costs about five cents. And yet, without it, the modern world would completely grind to a halt. No smartphones, no internet, no computers.

This is the transistor, and we are going back to basics to uncover how it works, how it changed history, and how you can use it on your workbench.

If you ever felt intimidated by terms like semiconductors, NPN, or MOSFETs, don’t worry. We are going to break down the physical principles simply, look at the two main branches of the transistor family tree, and then see them manipulate electricity in real time.

The Magic Valve


At its absolute core, a transistor is nothing more than an electronic valve. In a plumbing pipe water flows from one end to the other. If you want to stop it or change the flow, you just turn a handle.

Now imagine replacing the mechanical handle with a tiny control wire. By feeding a very small amount of current into that wire, you can control a massive flow of current through the main pipe.

That is the transistor. It can act as a lightning fast switch, or a smooth proportional amplifier.

History


Before 1947, if you wanted to amplify a radio signal or build a computer, you had to use vacuum tubes. They were bulky, fragile, consumed massive amounts of power, and burned out constantly.


Then, John Bardeen, Walter Brattain, and William Shockley at Bell Labs created this: the first point-contact transistor.

It used a small sliver of germanium. By pushing two gold foil contacts incredibly close together on the surface, they discovered they could leverage the physics of semiconductors.


If you remember our episode on diodes, you know that doping silicon with impurities creates P-type regions—containing holes—and N-type regions, which have extra electrons.


By sandwiching these together into three layers instead of two, they create a device where a tiny charge in the middle layer completely changes whether the outer layers conduct electricity or block it entirely. It is rugged, microscopic, and requires zero warm-up time.

Transistor Family Tree


As the technology evolved, two main styles of transistors rose to dominance. On the left, we have the BJT, or Bipolar Junction Transistor. On the right, the FET, or Field-Effect Transistor.


The fundamental difference comes down to how you control them.
BJTs are current-controlled. A small current flowing into the control pin unlocks a larger current through the device.
FETs are voltage-controlled. You just apply an electrical pressure, an electrostatic field, to the control pin to open the gate, requiring almost no continuous current at all.

The following video will show you how they actually work through a couple of practical experiments.

The Essential Starter Kit


Now that you’ve seen how these components function on the test bench, you might be wondering: What should I actually buy to start playing with this myself?


If you go looking at a components distributor, you will find tens of thousands of different part numbers, which is incredibly overwhelming. But the truth is, you only need about four or five transistors types in your stock to build 95% of beginner and intermediate DIY projects. Let’s look at the absolute essentials for your lab drawer.


First up are your low-power BJT signal switches. Your absolute standard defaults are the 2N3904 (NPN) and its complementary partner, the 2N3906 (PNP).

As an alternative, you can get the BC547 and the BC557 fulfilling the exact same role.


These are dirt cheap—literally pennies a piece—and they are fantastic for handling small signals, running classic analog circuits like LED blinkers, driving small 5V relays, or handling basic audio pre-amplification. Pick up a bag of 50 or 100; you will use them all.


Next, you need a small-signal FET. One option is the 2N7000. This is an N-channel MOSFET inside that same tiny plastic housing. Because it is voltage-controlled, it has an incredibly high input impedance. This makes it the absolute perfect choice for interfacing directly with the sensitive I/O pins of an Arduino or a Raspberry Pi to step up signals without drawing power from your microcontroller.


Another option is to get a J201, which is a general purpose amplifier FET, very good for small amplifiers that need an high input impedance.


You can get them both, if you like. My suggestion is to get some for your first project, 10 for example, and if you need something different later on, you can buy a few of the other one, so you slowly increase your stock pile without spending a lot of money at once.


Finally, when you need to step away from small currents and drive something with real power—like heavy LED strips, solenoid valves, or hefty DC motors—you need a power MOSFET in a TO-220 package. Look for the 30N06, capable of driving up to 8A of current, or the STP60NF06, which can go up to 30A.


That metal tab on the back isn’t just for show; it allows you to bolt on a heat-sink to dissipate heat when you are pushing several amps of current through the device.


Having just a handful of these three types of transistors, BJT for small signals, FET or MOSFET for low signals and power MOSFET for the heavy lifting, gives you the freedom to build almost anything.

Conclusion


Whether you are designing a precise analog audio amplifier using the linear region of a BJT, or switching high-current motors at thousands of times a second with a power MOSFET, understanding these three-terminal devices changes how you look at hardware.


If you enjoyed this dive into the basics, hit that like button, subscribe so you don’t miss the next workbench experiment, and let me know in the comments: what’s your favorite go-to transistor for quick prototypes?


Happy experiments!!!

Back To Basics Episode 2 – The ABC Of Electricity: Voltage, Current & Resistance

Welcome to the second episode of the series “Back to Basics”.

Did you ever wonder what’s actually happening inside a wire when you flip a light switch? What is electricity really?

People knew about electricity since a very long time, but although they observed the related natural phenomena, they didn’t know how to explain them.

They could see a thunderstorm and a lot of lightning, but they didn’t know what lightning was and so they attributed it to angry divinities that used the thunder bolts to punish bad people.

They could stroke a bar made of amber and they would see it attract light pieces of other materials. But they didn’t know why that was happening so they attributed that phenomena to magic.

It was only in the 19th century that humanity finally got a better understanding of electricity. They understood the physical principles behind it and learned how to use it, first for their own pleasure, then for actually do some work to help themselves.

And finally we learned how to use electricity to do the most incredible things: light up our houses, create radios, TVs, computers, robots, and everything you can think of today.

If you would like to understand more about electricity and, maybe one day, be able to bend it to your will, just follow me in this series and its companion videos on YouTube. Through that, you will learn concepts like voltage, current, resistance, capacitance and inductance; and you will learn how the devices around us are made of, and about the electronic components.

And, moving forward, you will learn how to build new things out of those components and, who knows? Maybe one day you will be the great inventor that will revolutionize again our society.

Let’s start today with some basic concepts: voltage and current, and how they are related to each other.

What Are Voltage And Current?

What is voltage? Think of it as of some form of energy that moves things around. The typical example is a river that flows down a hill.

The height of the hill from which the water flows represents the voltage, which is measured from the bottom to the top of the hill. The higher the hill, the higher is the potential energy of the water, and the higher is the voltage. If you’d like to go a little deeper on the concept of voltage, you may want to watch this video:

The current, instead, is made of all the droplets of water that flow down through the river. Such droplets, in terms of electricity, are called electric charges.

The height of the hill is the same as the voltage of a battery, the wire connected to the battery is the bed of the river, and the water that flows in the river is the electric current in the wire.

The higher the hill, the more water will flow down the river. The higher the voltage of the battery, the more electric current will flow in the wire.

For more details on the concept of current, you may want to watch this video:

We measure the voltage in Volt and the current in Ampere. We usually represent these measurement units with the letters V and A. And we can measure these entities with instruments that are called volt-meters and ampere-meters, or am-meters for short, just like we measure the height in meters and the amount of water that flows down the river in liters/second.

Well, yes, in US people is more accustomed with yards and gallons than meters and liters, but you got the point.

In more precise terms, volt is the ratio between the potential energy provided by a battery and the amount of charge needed to generate it.

Current, on the other end, is the amount of charges flowing through a section of the wire in one second.

Back at the beginning of the 19th century, an Italian scientist named Alessandro Volta was conducting experiments on frogs.

He discovered, inadvertently, that touching a dissected leg with two metal sticks made of two different materials, the leg contracted, as if it was still alive. Curious about what happened, he started experimenting with different metals and different watery solutions mimicking the fluids in the frog’s leg. Soon, he discovered a way to generate electricity. He just invented the battery, which he called pile, since it was made of a pile of metal and paper disks, moistened with an acidic solution.

Today, we call that device a voltaic pile, made of several voltaic cells, to honor the inventor of the device that revolutionized our civilization.

After that, other people started experimenting with this newly found source of electricity, and names like Georg Simon Ohm and Andre’-Marie Ampere became famous in that same century. Yes, just about 200 years ago.

What Is Resistance?

In particular, Andre’-Marie Ampere found a way to measure the current flowing in a piece of metal when a voltage was applied to it.

Georg Ohm, instead, used the voltaic pile to run experiments on different kind of materials, to figure out how they behaved when in the presence of a voltage.

He prepared a set of metal bars of different materials and same section, connected each bar to the pile, and measured the amount of current that was flowing through. Then he changed the voltage applied to the bar, by increasing or decreasing the number of cells in the pile.

And with that he discovered that for the same bar, the ratio between voltage and current, whatever the voltage was, never changed. He called this ratio the resistance of the material. And he further discovered that different materials have different resistances.

Ohm’s Law

Today, we have named Ohm the measurement unit of the property he discovered, and we represent it with the Greek letter Omega, which sounds like the initial of the name Ohm.

We write that the Voltage V and the current I are directly proportional as per this formula

where R, the resistance, is the constant of proportionality.

In terms of their measurement units, we also write

This is what we call “Ohm’s Law, which is the foundation for the calculations of voltage and current in any electric and electronic circuit.

As you can see, the three concepts of voltage, current and resistance are not independent; they are all linked together by the fundamental principle called Ohm’s law. On the same resistance, more voltage causes more current to flow. With the same voltage, a higher resistance allows a smaller current to flow. And with the same current, a higher resistance causes a higher voltage.

Conclusion


I hope this helps demystifying the very basic concepts of electricity. In the next episodes we will go deeper into these concepts, we will learn how to measure these entities, we will learn about electronic components, how to use them in circuits, learn how to read schematics, and so forth. Please let me know in the comments what concepts you are more interested in, so I can better aim this series of tutorials to your likes.

Finally, if you like, you can also watch the video version of this post: