If you’re making a circuit that is designed to plug into a breadboard, you have a problem. Those 0.1″ header pins are square, and the metal leaf contacts inside a solderless breadboard will eventually get bent out of shape. You only need to look at the breadboards in a university electronics lab for evidence of this.
The solution to this problem is to make pins that are as similar as possible to the leads on DIP chips. They should be flat, of course, and it would be nice if they didn’t have those plastic spacers and didn’t present a blob of solder on the top side of the chip.
Flip-Pins are the answer. Think of them as standard pin headers, but meant for breadboard applications, and having a great aesthetic for your projects. They’re designed to look as much like standard IC pins as possible, and have the same thickness (0.020″) as standard DIP leads.
The application of Flip-Pins is a lot like soldering standard 0.1″ pin headers. The pins ship in neat little plastic retainers and can be tacked onto a PCB with just a little bit of solder. There’s a datasheet, and models for Altium, KiCad, and Eagle.
Flip-Pins grew out of another project, the OSHChip, to create an all-in-wonder chip containing an ARM microcontroller, radio, and a crossbar so any pin can be mapped to any peripheral. The OSChip itself is very cool, but one question constantly asked of the creator of this neat chip was, ‘where did you get those pins?’ From a factory. Now you can buy these pins from Evil Mad Scientist and Tindie. They’re a bit pricey, but they do look great.
When looking across the discrete components in your electronic armory, it is easy to overlook the humble diode. After all, one can be forgiven for the conclusion that the everyday version of this component doesn’t do much. They have none of the special skills you’d find in tunnel, Gunn, varicap, Zener, and avalanche diodes, or even LEDs, instead they are simply a one-way valve for electrical current. Connect them one way round and current flows, the other and it doesn’t. They rectify AC to DC, power supplies are full of them. Perhaps you’ve also used them to generate a stable voltage drop because they have a pretty constant voltage across them when current is flowing, but that’s it. Diodes: the shortest Hackaday article ever.
Not so fast with dismissing the diode though. There is another trick they have hiding up their sleeves, they can also act as a switch. It shouldn’t come as too much of a shock, after all a quick look at many datasheets for general purpose diodes should reveal their description as switching diodes.
So how does a diode switch work? The key lies in that one-way valve we mentioned earlier. When the diode is forward biased and conducting electricity it will pass through any variations in the voltage being put into them, but when it is reverse biased and not conducting any electricity it will not. Thus a signal can be switched on by passing it through a diode in forward bias, and then turned off by putting the diode into reverse bias.
Everyone has a chip-of-shame: it’s the part that you know is suboptimal but you keep using it anyway because it just works well enough. Maybe it’s not what you would put into a design that you’re building more than a couple of, but for a quick and dirty lashup, it’s just the ticket. For Hackaday’s [Adam Fabio], that chip is the TIP120 transistor. Truth be told, we have more than one chip of shame, but for audio amplification purposes, it’s the LM386.
The LM386 is an old design, and requires a few supporting passive components to get its best performance, but it’s fundamentally solid. It’s not noise-free and doesn’t run on 3.3 V, but if you can fit a 9 V battery into your project and you need to push a moderate amount of sound out of a speaker, we’ll show you how to get the job done with an LM386.
If your introduction to digital electronics came more years ago than you’d care to mention, the chances are you did so with 5V TTL logic. Above 2V but usually pretty close to 5V is a logic 1, below 0.8V is a logic 0. If you were a keen reader of electronic text books you might have read about different voltage levels tolerated by 4000 series CMOS gates, but the chances are even with them you’d have still used the familiar 5 volts.
This happy state of never encountering anything but 5V logic as a hobbyist has not persisted. In recent decades the demands of higher speed and lower power have given us successive families of lower voltage devices, and we will now commonly also encounter 3.3V or even sometimes lower voltage devices. When these different families need to coexist as for example when interfacing to the current crop of microcontroller boards, care has to be taken to avoid damage to your silicon. Some means of managing the transition between voltages is required, so we’re going to take a look at the world of level shifters, the circuits we use when interfacing these different voltage logic families.
What’s your favorite value of resistor? 1K? 10K? They’re all fine, but when you need nearly no resistance at all, nothing beats the good old zero-ohm resistor.
Wait a minute! Resistors are supposed to resist current. What the heck does a zero-ohm resistor do? Well, the short story (tee-hee!) is that it’s like a jumper for single-sided surface-mount boards. In the bad old days, companies used to save money by running single-sided boards, and you could buy wire jumpers to help make the layout that much easier.
Fast forward to the modern era, where there’s not a through-hole component to be seen. What’s the resistance (ideally) of a wire? Zero ohms. And thus the zero-ohm resistor was born. We have a whole spool of them in our closet in 1206, the largest SMD size that we use, in order to be able to sneak two or three tracks underneath, even on a home-etched board. They’re great.
“Chapter 5; Horowitz and Hill”. University students of all subjects will each have their standard texts of which everyone will own a copy. It will be so familiar to them as to be referred to by its author as a shorthand, and depending on the subject and the tome in question it will be either universally loathed or held onto and treasured as a lifetime work of reference.
For electronic engineers the work that most exemplifies this is [Paul Horowitz] and [Winfield Hill]’s The Art Of Electronics. It definitely falls into the latter category of course books, being both a mine of information and presented in an extremely accessible style. It’s now available in its third edition, but the copy in front of me is a first edition printed some time in the mid 1980s.
Chapter 5 probably made most of an impression on the late-teenage me, because it explains voltage regulation and power supplies both linear and switching. Though there is nothing spectacularly challenging about a power supply from the perspective of experience, having them explained as a nineteen-year-old by a book that made sense because it told you all the stuff you needed to know rather than just what a school exam syllabus demanded you should know was a revelation.
On the first page of my Art of Electronics chapter 5, they dive straight in to the μA723 linear voltage regulator. This is pretty old; a design from the legendary [Bob Widlar], master of analogue integrated circuits, which first made it to market in 1967. [Horowitz] and [Hill] say “Although you might not choose it for a new design nowadays, it is worth looking at in some detail, since more recent regulators work on the same principles“. It was 13 years old when they wrote that sentence and now it is nearly 50 years old, yet judging by the fact that Texas Instruments still lists it as an active product without any of those ominous warnings about end-of-life it seems plenty of designers have not heeded those words.
So why is a 50-year-old regulator chip still an active product? There is a huge range of better regulators, probably cheaper and more efficient regulators that make its 14-pin DIP seem very dated indeed. The answer is that it’s an incredibly useful part because it does not present you with a regulator as such, instead it’s a kit of all the parts required to make a regulator of almost any description. Thus it is both an astonishingly versatile device for a designer and the ideal platform for anyone wanting to learn about or experiment with a regulator. Continue reading “Get To Know Voltage Regulators with a 723”→
The PC power supply has been a standard of the junk box for the last couple of decades, and will probably continue to be for the foreseeable future. A product that is often built to a very high standard and which will give years of faithful service, yet which has a life of only a few years as the PC of which it is a part becomes obsolete. Over the decades it has evolved from the original PC and AT into ATX, supplying an ever-expanding range of voltage rails at increasing power levels. There have been multiple different revisions of the ATX power supply standard over the years, but they all share the same basic form factor.
So a pile of ATX supplies will probably feature in the lives of quite a few readers. Most of them will probably be old and obsolete versions of little use with today’s motherboards, so there they sit. Not small enough to ignore, yet Too Good To Throw Away. We’re going to take a look at them, try to work out what useful parts they contain, and see a few projects using them. Maybe this will provide some inspiration if you’re one of those readers with a pile of them seeking a purpose.