Creating A PCB In Everything: KiCad, Part 2

This is the continuation of a series where I create a PCB in every software suite imaginable. Last week, I took a look at KiCad, made the schematic representation for a component, and made a schematic for the standard reference PCB I’ve been using for these tutorials. Now it’s time to take that schematic, assign footprints to parts, and design a circuit board.

All PCB design tools have different methods of associating the schematic view of a component with how it will be represented on the finished board. Eagle uses libraries that contain both a schematic view and PCB view …read more

Continue reading Creating A PCB In Everything: KiCad, Part 2

Hack Safely: Fire Safety in the Home Shop

Within the past two months we’ve covered two separate incidents of 3D printing-related fires. One was caused by an ill-advised attempt to smooth a print with acetone heated over an open flame, while the other was investigated by fire officials and found to have been caused by overuse of hairspray to stick prints to the printer bed. The former was potentially lethal but ended with no more than a good scare and a winning clip for “Hacking’s Funniest Home Videos”; the latter tragically claimed the life of a 17-year old lad with a lot of promise.

In light of these …read more

Continue reading Hack Safely: Fire Safety in the Home Shop

Controlling Your Instruments From A Computer: Doing Something Useful

Do you know how to harvest data from your bench tools, like plotting bandwidth from your oscilloscope with a computer? It’s actually pretty easy. Many bench tools make this easy using a standard protocol with USB to make the connection.

In the previous installment of this article we talked about the National Instruments VISA (Virtual Instrument Software Archetecture) standard for communicating with your instruments from a computer, and introduced its Python wrapper with a simple demonstration using a Raspberry Pi. We’ll now build on that modest start by describing a more useful application for a Raspberry Pi and a digital …read more

Continue reading Controlling Your Instruments From A Computer: Doing Something Useful

Iron Tips: Soldering Headphones and Enamel Wire

We’ve all had that treasured pair of headphones fail us. One moment we’re jamming out to our favorite song, then, betrayal. The right ear goes out. No wait. It’s back. No, damn, it’s gone. It works for a while and then no jiggling of the wire will bring it back. So we think to ourselves, we’ve soldered before. This is nothing. We’ll just splice the wire together.

So we open it up only to be faced with the worst imaginable configuration: little strands of copper enamel wire intertwined with nylon for some reason. How does a mortal solder this? First …read more

Continue reading Iron Tips: Soldering Headphones and Enamel Wire

Creating A PCB In Everything: KiCad, Part 1

This is the continuation of a series of articles demonstrating how to Create A PCB In Everything. In this series, we take a standard reference circuit and PCB layout — a simple ATtiny85 board — and build it with different PCB design tools. Already, we’ve taken a look at the pre-history of PCB design with Protel Autotrax, we learned Fritzing is a joke for PCB design, and we’ve done a deep dive into Eagle. Each of these tutorials serves two purposes. First, it is a very quick introduction to each PCB design tool. Second, this series provides an overall comparison …read more

Continue reading Creating A PCB In Everything: KiCad, Part 1

How to Control Your Instruments From A Computer: It’s Easier Than You Think

There was a time when instruments sporting a GPIB connector (General Purpose Interface Bus) for computer control on their back panels were expensive and exotic devices, unlikely to be found on the bench of a hardware hacker. Your employer or university would have had them, but you’d have been more likely to own an all-analogue bench that would have been familiar to your parents’ generation.

The affordable instruments in front of you today may not have a physical GPIB port, but the chances are they will have a USB port or even Ethernet over which you can exert the same …read more

Continue reading How to Control Your Instruments From A Computer: It’s Easier Than You Think

Creating A PCB In Everything: Protel Autotrax

Protel Autotrax is a PCB design tool first released for DOS in the mid-80s. Consider this a look at the history of PCB design software. I’m not recommending anyone actually use Protel Autotrax —  better tools with better support exist. But it’s important to know where we came from to understand the EDA tools available now. I’m rolling up my sleeves (about 30 years worth of rolling) and building our standardized test PCB with the tool. Beyond this, I suggest viewing EEVblog #747, where [Dave] digs into one of his old project, Borland Pascal, and Protel Autotrax.

This is the …read more

Continue reading Creating A PCB In Everything: Protel Autotrax

Perceptrons in C++

Last time, I talked about a simple kind of neural net called a perceptron that you can cause to learn simple functions. For the purposes of experimenting, I coded a simple example using Excel. That’s handy for changing things on the fly, but not so handy for putting the code in a microcontroller. This time, I’ll show you how the code looks in C++ and also tell you more about what you can do when faced with a more complex problem.

I built a generic base class that implements the core logic and can handle different vector sizes. Here’s the …read more

Continue reading Perceptrons in C++

ESP32 Modules Popping Up Everywhere, In Stock Almost Nowhere

We know what it’s like to wait for newly released electronic parts. Clicking refresh every day at your favorite online retailers, reading reviews published by the press who got preview units, and maybe even daring to order implausibly cheap devices from foreign lands. The ESP32 has many of us playing the waiting game, and we’ll level with you — they’re out of stock most places. But, if you look hard enough you can find one. At least, you could find them before we wrote this quick roundup of ESP32 hardware. If hearing about parts that are just out of reach …read more

Continue reading ESP32 Modules Popping Up Everywhere, In Stock Almost Nowhere

Not Quite 101 Uses For An ATX Power Supply

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 …read more

Continue reading Not Quite 101 Uses For An ATX Power Supply