Beyond Measure: Instrumentation Amplifiers

In the first article about measurement systems we looked at sensors as a way to bring data into a measurement system. I explained that a sensor measures physical quantities which are turned into a voltage with a variable conversion element such as a resistor bridge. There will always be noise in any system, and an operational amplifier (op-amp) can be used to remove some of that noise. The example we considered used an op-amp in a differential configuration that removes any disturbance signal that is common to both inputs of the op-amp.

But that single application of an op-amp is just skimming the surface of the process of bringing a real-world measurement of a physical quantity into a digital system. Often, you’ll need to do more work on the signal before it’s ready for sampling with a digital-to-analog converter. Signal conditioning with amplifiers is a deep and rich topic, so let me make it clear that that this article will not cover every aspect of designing and implementing a measurement system. Instead, I’m aiming to get you started without getting too technical and math-y. Let’s just relax and ponder amplifiers without getting lost in detail. Doesn’t that sound nice?

Continue reading “Beyond Measure: Instrumentation Amplifiers”

Designing A Crystal Ladder Bandpass Filter

Most hobbyists use crystals as an external clock signal for a microcontroller. A less common use would be to make a bandpass filter (BPF) for an RF signal. [Dan Watson] explains his crystal ladder design on his blog and links to several sources for understanding the theory and creating your own crystal ladder band pass filter. If you want a set of these purple PCBs you can order them straight from the purple fab.

[Dan]’s schematic
One of the sources that [Dan] cites is [Larry Benko]’s personal site which is primarily dedicated to amateur radio projects. Which you can find much more in-depth information regarding the design of a xtal BPF. [Larry] goes into detail about the software he uses and some of the applications of crystal ladder filters.

BPF designed by [Larry]
BPF designed by [Larry]
The process includes measuring individual xtals to determine which ones will work together for your target frequency. [Larry] also walks you through the software simulation process using LTSpice. If you aren’t familiar with Spice simulation you can get caught up by checking out the series of Spice articles by our very own [Al Williams].

Thanks to Dangerous Prototypes for the tip.

Beyond Measure: Instrumentation Essentials

The physical world is analog and if we want to interface with it using a digital device there are conversions that need to be made. To do this we use an Analog to Digital Converter (ADC) for translating real world analog quantities into digital values. But we can’t just dump any analog signal into the input of an ADC, we need this analog signal to be a measurable voltage that’s clean and conditioned. Meaning we’ve removed all the noise and converted the measured value into a usable voltage.

Things That Just Work.

This is not new information, least of all to Hackaday readers. The important bit is that we rely on these systems daily and they need to work as advertised. A simple example are the headlights in my car that I turned on the first night I got in it 5 years ago and haven’t turned off since. This is not a daytime running lights system, the controller turns the lights on when it’s dark and leaves them off during the day. This application falls into the category of things that go largely unnoticed because simply put: They. Work. Every. Time. It’s not a jaw dropping example but it’s a well implemented use of an analog to digital conversion that’s practical and reliable.

Figure 1

Continue reading “Beyond Measure: Instrumentation Essentials”

Shoot Hard Drive Platters Skywards On The Power Of Magnetism

Project Hathor is an electromagnetic ring launcher that launches aluminium hard drive platters 45 feet skywards at the touch of a button. The hard work is done by a bank of capacitors which are charged to 2kV from a microwave oven transformer, before being discharged into a coil of wire on which the hard drive platter is sitting. The resulting burst of magnetic field induces a huge current in the platter, and that current in turn creates an opposing field which launches the ring into the air.

The launcher is the work of [Krux], at the Syn Shop hackerspace in Las Vegas, and he’s made a beautiful job of it. The capacitor bank has ten 3900uF 400V electrolytic capacitors wired as a single 1560uF 2kV capacitor, there are two 225W 2Kohm wire wound discharge resistors, and a beautifully designed home-made high voltage contactor featuring tungsten electrodes. The whole project has been carefully built into an acrylic case for safety, for as [Krux] points out, microwave oven transformers will kill you.

As well as the project web site, there is a YouTube playlist, an image gallery, and a GitHub repository containing all the project’s details. You can see the launcher in action in the video below, launching platters into the Nevada night right on cue.

Continue reading “Shoot Hard Drive Platters Skywards On The Power Of Magnetism”

Afroman And The Case Of The Suspect Inverter

If you search the internet for 12 volt to mains AC inverter designs, the chances are you’ll encounter a simple circuit which has become rather ubiquitous. It features a 4047 CMOS astable multivibrator chip driving a pair of MOSFETs in a push-pull configuration which in turn drive a centre-tapped mains transformer in reverse. Not a new design, its variants and antecedents could be found even in those pre-Internet days when circuits came from books on the shelves of your local lending library.

afroman-inverter-featured[Afroman], no stranger to these pages, has published a video in which he investigates the 4047 inverter, and draws attention to some of its shortcomings. It is not the circuit’s lack of frequency stability with voltage that worries him, but the high-frequency ringing at the point of the square-wave switching when the device has an inadequate load. This can reach nearly 600 volts peak-to-peak with a 120 volt American transformer, or over a kilovolt if you live somewhere with 230 volt mains. The Internet’s suggested refinement, a capacitor on the output, only made the situation worse. As he remarks, it’s fine for powering a lightbulb, but you wouldn’t want it near your iPhone charger.

If this video achieves anything, it is a lesson to the uninitiated that while simple and popular designs can sometimes be absolute gems it must not be assumed that this is always the case.

Continue reading “Afroman And The Case Of The Suspect Inverter”

Dual UART/I2C Breakout Goes Both Ways

[Jesus Echavarria] sent us a link to this cute little tool that he’s built. It’s a dual USB-to-I2C-or-UART adapter, with a few more oddball features thrown in for good measure. If you were electronics Batman, you’d have this on your utility belt.

[Jesus] originally designed the board because he wanted to sniff a bi-directional UART conversation using his computer, and get it all done in inexpensive hardware with minimal fuss. So he looked to the Microchip MCP2221 chip, which is an inexpensive USB to serial and I2C chip, but with some extras. In particular, it’s got four GPIOs, a ten-bit ADC and a five-bit DAC with selectable reference voltage, and it’s all controllable over USB. And [Jesus]’s board has two of them.

Implementing USB on a microcontroller isn’t always that much fun, so we can see why he took the straight-ahead hardware approach. And as a side benefit, he gets all the other kooky functionalities that the chip brings. And we have been introduced to what looks like a neat chip to use in USB and microcontroller projects. We’re going to put one in our next random chip order.

Boldport tribute to Bob Pease

We have lost something in PCB design over the last few decades. If you open up a piece of electronics from the 1960s you’ll see why. A PCB from that era is a thing of beauty, an organic mass of curving traces, an expression of the engineer’s art hand-crafted in black crêpe paper tape on transparent acetate. Now by comparison a PCB is a functional drawing of precise angles and parallel lines created in a CAD package, and though those of us who made PCBs in both eras welcome the ease of software design wholeheartedly we have to admit; PCBs just ain’t pretty any more.

It doesn’t have to be that way though. Notable among the rebels are Boldport, whose latest board, a tribute to the late linear IC design legend [Bob Pease], slipped out this month. They use their own PCBmodE design software to create beautiful boards as works of art with the flowing lines you’d expect from a PCB created the old-fashioned way.

The board itself is an update to an earlier Boldport design, and features Pease’s LM331 voltage to frequency converter IC converting light intensity to frequency and flashing an LED. It’s one of the application circuits from the datasheet with a little extra to drive the LED. Best of all the kit is a piece of open-source hardware, so you can find all its resources on GitHub.

We are fans of Boldport’s work here at Hackaday, and it should come as no surprise that we have featured them before. From one of their other kits through several different pieces of PCB wall art, to their work making an appearance in Marie Claire magazine they have graced these pages several times, and we hope this latest board will be one of many more.