The Geometry Of Transistors

Building things in a lab is easy, at least when compared to scaling up for mass production. That’s why there are so many articles about fusion being right around the corner, or battery technology that’ll allow aviation to switch away from fossil fuels, or any number of other miraculous solutions that never come into being. They simply don’t scale or can’t be manufactured in a cost effective way. But even when they are miraculous and can be produced on a massive scale, as is the case for things like transistors, there are some oddities that come up as a result of the process of making so many. This video goes into some of the intricacies of a bipolar junction transistor (BJT) and why it looks the way it does.

The BJT in this video is a fairly standard NPN type, with three layers of silicon acting as emitter, base, and collector. Typically when learning about electronics devices the drawings of them are simplified two-dimensional block diagrams, but under a microscope this transistor at first appears nothing like the models shown in the textbook. Instead it resembles more of a bird’s foot with a few small wires attached. The bird’s foot shape is a result of attempting to lower the undesirable resistances of the device and improve its performance, and some of its other quirks are due to the manufacturing process. That process starts with a much larger layer of doped silicon that will eventually become the collector, and then the other two, much smaller, layers of the transistor deposited on top of the collector. This also explains while it looks like there are only two layers upon first glance, and also shows that the horizontal diagram used to model the device is actually positioned vertically in the real world.

For most of the processes in our daily lives, the transistor has largely been abstracted away. We don’t have to think about them in a computer that much anymore, and unless work is being done on high-wattage power electronics devices, radios, or audio amplifiers it’s not likely that an average person will run into a transistor. But this video goes a long way to explaining the basics of one of the fundamental building blocks of the modern world for those willing to take a dive into the physics. Take a look at this video as well for an intuitive explanation of the close cousin of the BJT, the field-effect transistor.

Continue reading “The Geometry Of Transistors”

CPU Built From Discrete Transistors

We all know, at least intellectually, that our computers are all built with lots of tiny transistors. But beyond that it’s a little hard to describe. They’re printed on a silicon wafer somehow, and since any sufficiently advanced technology is indistinguishable from magic, they miraculously create a large part of modern society. Even most computers from 40 or 50 years ago were built around various inscrutable integrated circuits. On the other hand, this computer goes all the way back to first principles and implements a complete processor out of individual transistors instead.

The transistor computer uses over 2000 individual transistors to implement everything comprising the 11-bit CPU. The creator, Reddit user [ Weekly_Salamander_78] also has an online interactive book that walks through each of the steps that is required to get to the point of having a working computer like this. Starting with a guide on building logic gates from transistors it will eventually cover the arithmetic logic unit, adders, memory, clocks, and everything else that is needed for the complete CPU to get up and running. The design does rely on an Arduino for memory to simplify some things, and in the end it’s able to run a Hello, World! program and play a simple dinosaur game as well.

Building a computer out of discrete components like this is an impressive accomplishment, although we might not envy the creator of it when it comes time for troubleshooting or maintenance of all of those individual components. Presumably it would be much easier to work on than something like a relay computer, but for now we’ll all take a moment to be thankful that almost no one needs to work on debugging vacuum tube computers anymore.

Exploring The Early Days Of QRP Radio

Morse code might seem obsolete but for situations with extremely limited bandwidth it’s often still the best communications option available. The code requires a fair amount of training to use effectively, though, and even proficient radio operators tend to send only around 20 words per minute. As a result of the reduced throughput, a type of language evolved around Morse code which, like any language, has evolved and changed over time. QRP initially meant something akin to “you are overloading my receiver, please reduce transmitter power” but now means “operating radios at extremely low power levels”. [MIKROWAVE1] explores some of the earlier options for QRP radios in this video.

There’s been some debate in the amateur radio community over the years over what power level constitutes a QRP operation, but it’s almost certainly somewhere below 100 watts, and while the radios in this video have varying power levels, they tend to be far below this upper threshold, with some operating on 1 watt or less. There are a few commercial offerings demonstrated here, produced from the 70s to the mid-80s, but a few are made from kits as well. Kits tended to be both accessible and easily repairable, with Heathkit being the more recognizable option among this category. To operate Morse code (or “continuous wave” as hams would call it) only requires a single transistor which is why kits were so popular, but there are a few other examples in this video with quite a few more transistors than that. In fact, there are all kinds of radios featured here with plenty of features we might even consider modern by today’s standards; at least when Morse code is concerned.

QRP radios in general are attractive because they tend to be smaller, simpler, and more affordable. Making QRP contacts over great distances also increases one’s ham radio street cred, especially when using Morse, although this benefit is more intangible. There’s a large trend going on in the radio world right now surrounding operating from parks and mountain peaks, which means QRP is often the only way to get that done especially when operating on battery power. Modern QRP radios often support digital and voice modes as well and can have surprisingly high prices, but taking some cues from this video about radios built in decades past could get you on the radio for a minimum or parts and cost, provided you can put in the time.

Continue reading “Exploring The Early Days Of QRP Radio”

FET: Fun Endeavors Together

Last time, we’ve looked over FET basics, details, nuances and caveats. Basics aren’t all there is to FETs, however – let’s go through real-world uses, in all their wonderful variety! I want to show you a bunch of cool circuits where a friendly FET, specifically a MOSFET, can help you – and, along the way, I’d also like to introduce you to a few FETs that I feel like you all could have a good long-term friendship with. If you don’t already know them, that is!

Driving Relays

Perhaps, that’s the single most popular use for an NPN transistor – driving coils, like relays or solenoids. We are quite used to driving relays with BJTs, typically an NPN – but it doesn’t have to be a BJT, FETs often will do the job just as fine! Here’s an N-FET, used in the exact same configuration as a typical BJT is, except instead of a base current limiting resistor, we have a gate-source resistor – you can’t quite solder the BJT out and solder the FET in after you have designed the board, but it’s a pretty seamless replacement otherwise. The freewheel (back EMF protection) diode is still needed for when you switch the relay and the coil produces wacky voltages in protest, but hey, can’t have every single aspect be superior.

The reason you can drive it the same way is quite simple: in the usual NPN circuit, the relay is driven by a 3.3 V or a 5 V logic level GPIO, and for small signal FETs, that is well within Vgs. However, if your MCU has 1.8 V GPIOs and your FET’s Vgs doesn’t quite cut it, an NPN transistor is a more advantageous solution, since that one will work as long as you can source the whatever little current and the measly 0.7 V needed.

Continue reading “FET: Fun Endeavors Together”

Transistors That Grow On Trees

Modern technology is riddled with innovations that were initially inspired by the natural world. Velcro, bullet trains, airplanes, solar panels, and many other technologies took inspiration from nature to become what they are today. While some of these examples might seem like obvious places to look, scientists are peering into more unconventional locations for this transistor design which is both inspired by and made out of wood.

The first obvious hurdle to overcome with any electronics made out of wood is that wood isn’t particularly conductive, but then again a block of silicon needs some work before it reliably conducts electricity too. First, the lignin is removed from the wood by dissolving it in acetate, leaving behind mostly the cellulose structure. Then a conductive polymer is added to create a lattice structure of sorts using the wood cellulose as the structure. Within this structure, transistors can be constructed that function mostly the same as a conventional transistor might.

It might seem counterintuitive to use wood to build electronics like transistors, but this method might offer a number of advantages including sustainability, lower cost, recyclability, and physical flexibility. Wood can be worked in a number of ways once the lignin is removed, most notably when making paper, but removing the lignin can also make the wood relatively transparent as well which has a number of other potential uses.

Thanks to [Adrian] for the tip!

FET: The Friendly Efficient Transistor

If you ever work with a circuit that controls a decent amount of current, you will often encounter a FET – a Field-Effect Transistor. Whether you want to control a couple of powerful LEDs, switch a USB device on and off, or drive a motor, somewhere in the picture, there’s usually a FET doing the heavy lifting. You might not be familiar with how a FET works, how to use one and what are the caveats – let’s go through the basics.

Here’s a simple FET circuit that lets you switch power to, say, a USB port, kind of like a valve that interrupts the current flow. This circuit uses a P-FET – to turn the power on, open the FET by bringing the GATE signal down to ground level, and to switch it off, close the FET by bringing the GATE back up, where the resistor holds it by default. If you want to control it from a 3.3 V MCU that can’t handle the high-side voltage on its pins, you can add a NPN transistor section as shown – this inverts the logic, making it into a more intuitive “high=on, low=off”, and, you no longer risk a GPIO!

This circuit is called a high-side switch – it enables you to toggle power to a device at will through a FET. It’s the most popular usecase for a FET, and if you’re wondering more about high-side switches, I highly recommend this brilliant article by our own [Bil Herd], where he shows you high-side switch basics in a simple and clear way. For this article, you can use this schematic as a reference of how FETs are typically used in a circuit.

Continue reading “FET: The Friendly Efficient Transistor”

MOSFET Heater Is Its Own Thermostat

While we might all be quick to grab a microcontroller and an appropriate sensor to solve some problem, gather data about a system, or control another piece of technology, there are some downsides with this method. Software has a lot of failure modes, and relying on it without any backups or redundancy can lead to problems. Often, a much more reliable way to solve a simple problem is with hardware. This heating circuit, for example, uses a MOSFET as a heating element and as its own temperature control.

The function of the circuit relies on a parasitic diode formed within the transistor itself, inherent in its construction. This diode is found in most power MOSFETs and conducts from the source to the drain. The key is that it conducts at a rate proportional to its temperature, so if the circuit is fed with AC, during the negative half of the voltage cycle this diode can be probed and used as a thermostat. In this build, it is controlled by a set of resistors attached to a voltage regulator, which turn the heater on if it hasn’t reached its threshold temperature yet.

In theory, these resistors could be replaced with potentiometers to allow for adjustable heat for certain applications, with plastic cutting and welding, temperature control for small biological systems, or heating other circuits as target applications for this type of analog circuitry. For more analog circuit design inspiration, though, you’ll want to take a look at some classic pieces of electronics literature.