Build Yourself An Awesome Modular Power Supply

You may think you’ve built a power supply for your bench. Heck, we all do. But until you check out [Denis]’s bench power supply build, you may not even know what you’re missing.

[Denis]’s design is nearly entirely modular and targeted to the intermediate builder. It’s built on easily available parts and through-hole components. It’s got an Arduino running as the brains, so you’re going to be able to hack on the code when you feel like tweaking it. But easy doesn’t mean light on features. Let’s walk through the build together.

6203871454520455862_thumbnail

It starts off with a pre-regulator: a switching MOSFET that gets the voltage down to just a couple volts above the target value. Then it’s off to the post-regulator that includes all of the fine adjustments, the DAC and ADC interfacing to the microcontroller, and some fancy features like a “down-programmer” that turns the output off extra quickly.

On the user end of things, [Denis] made a very sleek board that incorporates a TFT touchscreen for the controls, Arduino connections, and the obligatory banana plug outputs. There’s opto-isolation on the SPI bus, a real-time clock, and a bunch more goodies on board. He’s in his third revision of this module, and that level of refinement shows. It’s even SCPI compliant, meaning you can control remotely using an industry-standard protocol.

So what would you do with a ridiculously fancy power supply under microcontroller control? Test out battery charging algorithms? Program test routines to see how your devices will work as their batteries drain out? We have no idea, but we know we want one!

Pimp My Scope: Touchscreen Edition

Do you have a touch-screen oscilloscope? Neither do we. But how cool would that be to pan left and right or expand either axis just like you do on your cellphone screen? [Igor] did just that, and the results (in the video below the break) look fantastic.

We’ve covered [Igor]’s previous round of hacking on his Siglent scope, where he bricked it by flashing the wrong firmware, and then fixed it by Frankensteining the screen into the box that the firmware wanted. But once he’d gotten the scope-hacking bug, he couldn’t quit.

A brief overview: an Arduino Nano reads the touchscreen and sends the commands to the scope to act accordingly. [Igor] initially wanted to simply use the COM port on the back to control, but his previous mis-flashing of the firmware had rendered that moot. Instead, he went after the data bus that interfaces with the keyboard unit, reverse engineered its protocol, and spoofed keypresses with custom code in the AVR.

As a side effect of all this, [Igor] could also write a script that controls the scope from his computer, and he ended up re-housing it all in the nice wooden front panel that you see now. It’s more than a step up from the previous covered-in-electrical-tape look, and the new functionality is very very cool. Kudos.

Continue reading “Pimp My Scope: Touchscreen Edition”

A Better Way To Plug A CPLD Into A Breadboard

If you read my first post about a simple CPLD do-it-yourself project you may remember that I seriously wiffed when I made the footprint 1” wide, which was a bit too wide for common solderless breadboards. Since then I started over, having fixed the width problem, and ended up with a module that looks decidedly… cuter.

To back up a little bit, a Complex Programmable Logic Device (CPLD) is a cool piece of hardware to have in your repertoire and it can be used to learn logic or a high level design language or replace obsolete functions or chips. But a CPLD needs a little bit of support infrastructure to become usable, and that’s what I’ll be walking you through here. So if you’re interested in learning CPLDs, or just designing boards for them, read on!

Continue reading “A Better Way To Plug A CPLD Into A Breadboard”

Solder Paste Dispenser Has No 3D Printed Parts!

If you’ve never used a solder paste dispenser, you’re missing out. Think about always using a crappy soldering iron, and then for the first time using a high-end one. Suddenly you’re actually not bad at soldering things! It’s kind of like that.

Most solder paste dispensers make use of compressed air, which requires an extra setup to use that you might not have. The goal of this project was to make a solder paste dispenser that doesn’t use compressed air, and doesn’t have any 3D printed parts (in case you don’t have a 3D printer) — and it looks like the inventor, [MikeM], succeeded!

Continue reading “Solder Paste Dispenser Has No 3D Printed Parts!”

Need A Nano-Ammeter? You Already Have One!

[Dannyelectronics] sometimes needs to measure tiny currents. Really tiny, like leakage currents through a capacitor. He’s built a few setups to make the measurements, but he also knew he’d sometimes want to take readings when he didn’t have his custom gear available. So he decided to see what he could do with an ordinary digital meter.

dmm-nano-ammeterAs you might expect, a common digital meter’s current scales aren’t usually up to measuring nano- or pico-amps. [Danny’s] approach was not to use the ammeter scale. Instead, he measures the voltage developed across the input impedance of the meter (which is usually very high, like one megaohm). If you know the input characteristics of the meter (or can calibrate against a known source), you can convert the voltage to a current.

For example, on a Fluke 115 meter, [Danny] found that he could read up to 60nA with a resolution of 0.01nA. A Viktor 81D could resolve down to 2.5pA–a minuscule current indeed.

We’ve looked at the difficulties involved in reading small currents before. If tiny currents aren’t your thing, maybe you’d like to try charging an iPhone with 3 KA, instead.

LED Tester Royale

What do you get for the geek who has everything and likes LEDs? A tricked-out LED tester, naturally. [Dave Cook]’s deluxe model sports an LCD screen and two adjustable values: desired current and supply voltage. Dial these in, plug in your LED, and the tiny electronic brain inside figures out the resistor value that you need. How easy is that?

An LED tester can be as easy as a constant-current power supply, and in fact that’s what [Dave]’s first LED tester was, in essence. Set an LM317 circuit up to output 10mA, say, and you can safely test out about any LED. Read off the operating voltage, subtract that from the supply voltage, and then divide by your desired current to figure out the required resistor. It only takes a few seconds, but that’s a few seconds too many!

The new device does the math for you by adding an AVR ATtiny84 into the mix. The microcontroller reads the voltage that the constant current supply requires, does the above-mentioned subtraction and division, and displays the needed resistor. So simple. And as he demonstrates in the video below, it does double-duty as a diode tester.

This is a great beginner’s project, and it introduces a bunch of fundamental ideas: reading the ADC, writing to an LED screen, building a constant current circuit, etc. And at the end, you have a useful tool. This would make a great kit!

Continue reading “LED Tester Royale”

Two Portable Oscilloscopes: Shootout

Last time I introduced you to two relatively inexpensive and somewhat portable scopes: the EM125, which is a cross between a digital voltmeter and an oscilloscope, and the Wave Rambler, which is a scope probe with a USB connector attached. Both of the devices cost about $100, and both have their plusses and minuses.

This time, though, I wanted actually to look at some real-world signals. To make that easy, I grabbed yet another scope-like thing I had handy: an Embedded Artists Labtool. This is an interesting board in its own right. It is an LPC-Link programmer attached to an LPC ARM board that has several high-speed A/D channels. However, I’m not using any of that capability for now. The board also has a cheap ARM processor (an LPC812) on it that serves only to generate test signals. The idea is you can use the Labtool in a classroom with no additional equipment.

The Labtool’s demo CPU generates a lot of different signals, but with only one channel on the test scopes, it didn’t make sense to look at, for example, I2C data. So I stuck with two different test signals: a varying pulse width modulation signals and a serial UART transmitter.

Continue reading “Two Portable Oscilloscopes: Shootout”