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”

A Tale Of Two (Sub $100) Oscilloscopes

Hi, I’m Al, and I’m an oscilloscope-holic. Just looking around my office, I can count six oscilloscope or oscilloscope-like devices. There are more in my garage. If you count the number of scopes I’ve owned (starting with an old RCA scope with a round tube and a single vertical scale), it would be embarrassing.

On the other hand, if you are trying to corral electrons into doing useful things, a scope is a necessity. You can’t visualize what’s happening in a circuit any better than using an oscilloscope. Historically, the devices were expensive and bulky. I’ve had many Tektronix and HP scopes that stayed in one place, and you brought what you were working on to them (sometimes called a “boat anchor”). It wasn’t that long ago that one of my vintage Tek scopes had its own dedicated cart so I could wheel it to where it was needed.

These days, scopes are relatively cheap, depending on what you have in mind for performance. They are also highly portable, which is nice. In fact, it is an indication of how spoiled I’ve become that my main bench scope–a Rigol DS1104Z–weighs seven pounds, yet I still look for something smaller for quick jobs.

That’s how I came into possession of two cheap scopes I wanted to talk about. They are similar in ways but different in others. Neither are going to replace a real bench scope, but if you want something portable, or you are budget-limited, they might be worth a look.

Continue reading “A Tale Of Two (Sub $100) Oscilloscopes”

Repair And Calibration Of Valhalla Programmable Precision Standard

Precision standards are the pinnacle of test and measuring instrumentation. Well engineered, sure, but also beautifully built and a feast to look at, no matter how old they are. [Shahriar] at “The Signal Path” often gives us the skinny on such equipment. In the latest episode, we get a look inside a Valhalla 2701C Programmable Precision DC Voltage Standard.

Even by 1990 standards, it is a fairly basic instrument, capable of producing just DC Voltages from 100nV up to 1200V. But it is a reference standard, so the output is highly stable, accurate and precise.  He snagged it from eBay on the cheap but transport seemed to have caused some damage. It would switch on and relays would click when he pressed buttons, but the 7-segment LED display was blank. Luckily, opening the top cover fixes that problem – just a loose connection between the front display and the main board. Examination also shows that adding a 120mA DC current range would require adding additional components on the main board so his hope of doing a quick firmware upgrade is short lived.

[Shahriar] takes the opportunity to walk us through the various sections of the well built unit. It’s apparently seen some repairs during it’s life. A few capacitors look changed, and a relay housing has seen damage from a soldering iron. The digital section is mainly the 6800 micro controller, an EPROM and a NVRAM, and it generates the PWM signals needed for producing the output voltages. A highly precise reference signal is essential for such equipment, and this one uses the LM299 with a “custom” suffix meaning it was specially screened and binned. He does a quick calibration run, but it’s obviously rushed and doesn’t produce stable results. But that could also be due to the low quality cables he used, or a number of other factors. Calibrating such equipment is a job demanding both time and patience.

While this may not knock your socks off. For that, check out this post where [Shahriar] does a tear down of the one million dollar Labmaster 10-100zi Oscilloscope, or this other one where he plays around with a half a million dollar oscilloscope you’ll probably never use, much less own.

Continue reading “Repair And Calibration Of Valhalla Programmable Precision Standard”