# Function Generator Gets DIY Frequency Standard

For those of us who like to wrangle electrons from time to time, there are some exceptional deals out there for low (or at least lower) cost imported test equipment. If you’re willing to part with a few hundred dollars US, you can get some serious hardware that a decade ago would have been effectively outside the reach of the hobbyist. Right now you can order a four channel oscilloscope for less than what a new Xbox costs; but which one you’ll rack up more hours staring at slack-jawed is up to you.

Of course, these “cheap” pieces of equipment aren’t always perfect. [Paul Lutus] was pretty happy with his relatively affordable Siglent SDG 1025 Arbitrary Function Generator, but found its accuracy to be a bit lacking. Fortunately, the function generator accepts an external clock which can be used to increase its accuracy, so he decided to build one.

[Paul] starts off by going over the different options he considered for this project, essentially boiling down to whether or not he wanted to jump through the extra hoops required for an oven-controlled crystal oscillator (OCXO). But the decision was effectively made for him when his first attempt at using a more simplistic temperature controlled oscillator failed due to an unfortunate misjudgment in terms of package size.

In the end, he decided to spring for the OCXO, and was able to use the USB port on the front panel of the SDG 1025 to provide the power necessary for the crystal to warm up and remain at operating temperature. After he got the oscillator powered, he just needed to put it in a suitable metal enclosure (to cut down external interference) and calibrate it. [Paul] cleverly used the NIST WWV broadcast and his ears to find when his frequency standard overlapped that of the source, therefore verifying it was at 10 MHz.

Hackers love accuracy, and accordingly, we’ve seen a number of frequency standard builds ranging from extremely cheap to luxuriously overkill.

# Handy Continuity Tester Packs Multiple Modes into a Tiny Package

From Leatherman multitools to oscilloscopes with built-in signal generators and protocol analyzers, there seems no end to tools with multiple personalities. Everybody loves multitaskers because they make it feel like you’re getting more bang for your buck, and in most cases that’s true. But a jack of all trades is seldom master of any, and there are times when even the humble multimeter isn’t the best tool for the job.

With that in mind, [sidsingh] has developed what we think is a very nice dedicated continuity tester. With a goal of using only parts on hand, he had to think small to fit everything into the case he had. So he started with a PIC10LF322 to support all the flavors of continuity testing he wanted to support. In addition to straight continuity, the tester can handle diode testing, detecting shorted or open diodes and even differentiating between regular and Schottky diodes. It also has an LED test mode and an interesting “discontinuity” testing mode — it only sounds its buzzer when continuity is broken. The video below shows that mode in action for finding intermittent cable faults, along with all the other modes.

For an ostensibly single-purpose tool, this tester still manages to pack a lot of tests into one very compact package. Simpler continuity testers are good, too — check out this cheap dollar store build, or this slightly more complicated unit based on an ATtiny85.

# Building an Arduino Smart IC Tester for $25 There’s no question that you can get a lot done with the classic multimeter; it’s arguably the single most capable tool on your bench. But the farther down the rabbit hole of hacking and reverse engineering you go, the more extravagant your testing and diagnostic gear tends to get. For some of us that’s just an annoying reality of the game. For others it’s an excuse to buy, and maybe even build, some highly specialized equipment. We’ll give you one guess as to which group we fall into here at Hackaday. [Akshay Baweja] is clearly a member of the second group. He’s recently published a guide on building a very slick intelligent Integrated Circuit tester with a total cost of under$25 USD. Whether you’re trying to identify an unknown chip or verifying your latest parts off the slow-boat from China actually work before installing them in your finished product, this $25 tool could end up saving you a lot of time and aggravation. [Akshay] walks readers through the components and assembly of his IC tester, which takes the form of a Shield for the Arduino Mega 2560. The custom PCB he designed and had manufactured holds the 20 Pin ZIF Socket as well as the 2.4 inch TFT touch screen. The screen features an integrated micro SD slot which is important as you need the SD card to hold the chip database. With an IC to test inserted into the ZIF socket, the user can have the tester attempt to automatically ID the chip or can manually enter in a part number to lookup. The source code for the Arduino as well as the chip ID database is up on GitHub for anyone looking to add some more hardware to the device’s testing repertoire. The importance of good test equipment simply cannot be overstated. Between highly specialized gear like this IC tester to classic instruments such as the oscilloscope, your bench is going to be full of weird and wonderful pieces of equipment before too long. # Why You Shouldn’t Quite Forget The Moving Coil Multimeter If you were to ask a random Hackaday reader what their most fundamental piece of electronic test equipment was, it’s likely that they would respond with “multimeter”. If you asked them to produce it, out would come a familiar item, a handheld brick with a 7-segment LCD at the top, a chunky rotary selector switch, and a pair of test probes. They can be had with varying quality and features for anything from a few dollars to a few hundred dollars, though they will nearly all share the same basic set of capabilities. Voltage in both AC and DC, DC current, resistance from ohms to mega ohms, and maybe a continuity tester. More expensive models have more features, may be autoranging, and will certainly have better electrical safety than the cheaper ones, but by and large they are a pretty standard item. If Hackaday had been around forty years ago and you’d asked the same question, you’d have had a completely different set of multimeters pulled out for your inspection. Probably still a handheld brick with the big selector switch, but instead of that LCD you’d have seen a large moving-coil meter with a selection of scales for the different ranges. It would have done substantially the same job as the digital equivalent from today, but in those intervening decades it’s a piece of equipment that’s largely gone. So today I’m going to investigate moving coil multimeters, why you see them a lot less these days than you used to, and why you should still consider having one in your armoury. Continue reading “Why You Shouldn’t Quite Forget The Moving Coil Multimeter” # Network Analysers: The Electrical Kind Instrumentation has progressed by leaps and bounds in the last few years, however, the fundamental analysis techniques that are the foundation of modern-day equipment remain the same. A network analyzer is an instrument that allows us to characterize RF networks such as filters, mixers, antennas and even new materials for microwave electronics such as ceramic capacitors and resonators in the gigahertz range. In this write-up, I discuss network analyzers in brief and how the DIY movement has helped bring down the cost of such devices. I will also share some existing projects that may help you build your own along with some use cases where a network analyzer may be employed. Let’s dive right in. # Network Analysis Fundamentals As a conceptual model, think of light hitting a lens and most of it going through but part of it getting reflected back. The same applies to an electrical/RF network where the RF energy that is launched into the device may be attenuated a bit, transmitted to an extent and some of it reflected back. This analysis gives us an attenuation coefficient and a reflection coefficient which explains the behavior of the device under test (DUT). Of course, this may not be enough and we may also require information about the phase relationship between the signals. Such instruments are termed Vector Network Analysers and are helpful in measuring the scattering parameters or S-Parameters of a DUT. The scattering matrix links the incident waves a1, a2 to the outgoing waves b1, b2 according to the following linear equation: $\begin{bmatrix} b_1 \\ b_2 \end{bmatrix} = \begin{bmatrix} S_{11} & S_{12} \\ S_{21} & S_{22} \end{bmatrix} * \begin{bmatrix} a_1 \\ a_2 \end{bmatrix}$. The equation shows that the S-parameters are expressed as the matrix S, where and denote the output and input port numbers of the DUT. This completely characterizes a network for attenuation, reflection as well as insertion loss. S-Parameters are explained more in details in Electromagnetic Field Theory and Transmission Line Theory but suffice to say that these measurements will be used to deduce the properties of the DUT and generate a mathematical model for the same. # General Architecture As mentioned previously, a simple network analyzer would be a signal generator connected and a spectrum analyzer combined to work together. The signal generator would be configured to output a signal of a known frequency and the spectrum analyzer would be used to detect the signal at the other end. Then the frequency would be changed to another and the process repeats such that the system sweeps a range of frequencies and the output can be tabulated or plotted on a graph. In order to get reflected power, a microwave component such as a magic-T or directional couplers, however, all of this is usually inbuilt into modern-day VNAs. Continue reading “Network Analysers: The Electrical Kind” # Hackaday Links: September 3, 2017 The TI-83, TI-84, and TI-86 have been the standard graphing calculators in classrooms for two decades. This is the subject of an xkcd. Now, hopefully, there’s a contender for the throne. Numworks is a graphing calculator that looks like it was designed in at least 2006 (so very modern), and apparently, there’s a huge community behind it. Juicero is shutting down. No one could have seen this one coming. The Juicero was a$700 press that turned proprietary, DRM’ed juice packs into juice and garbage. It was exquisitely engineered, but it turns out very few people want to spend thousands of dollars per year on DRM’ed juice. Oh, since the Juicero phones home, those $700 presses probably won’t work in the future. Are you in the Bay area? Do you need test equipment? There’s a gigantic auction happening somewhere around San Jose. [Dave] tipped everyone off to this one, and this auction is pretty freakin’ spectacular. Spectrum analyzers, signal gens, a ‘mega zoom’ oscilloscope, and 4-channel, 500 MHz scopes for$50. There are a thousand lots in this auction. It’s nuts.

Everybody loves PCB art, and [Uri] has a guide for designing custom, functional electronic circuit boards. The toolchain used in this guide is Inkscape and KiCad, with blinky hearts, blinky pandas, and other blinky PCBs.

This one is a little out there even for us. Here’s how you build your own AA batteries. It’s a dozen #10 copper washers, a dozen or so #10 zinc washers, some cardboard, vinegar, salt, and some heat shrink tubing. The assembly of this battery is exactly what you would expect, and yes, it does work. Here’s the thing, though: The very crude tests suggest these batteries have a capacity of about 800-1000 mAh, which is far more than we would expect. Who has a programmable load and wants to do a few experiments? Also, these batteries are ‘rechargeable’ by taking them apart, sanding the crud off each washer, and adding new electrolyte.

[Jan] has made a name for himself stuffing synthesizers into tiny little microcontrollers. The latest project is the Infinity37, a polyphonic synth with MIDI, envelopes, and a whole bunch of cool stuff. Check out the video.

[rctestflight] is building a solar powered aircraft. It’s has a beautiful wing studded with solar panels. The latest flight was four hours, long enough to make piloting a plane through some FatSharks extremely tedious. Future developments will probably include a MPPT charging solution, and probably an autopilot.

# Measuring Capacitors at the Birth of Rock and Roll

The late 1950s [Bill Haley], [Elvis Presley], and [Little Richard] were building a new kind of music. Meanwhile, electronic hobbyists were building their own gear from Heathkit. A lot of that gear shows you how far we’ve come in less than a century. [Jeff Tranter’s] YouTube channel is a great way to look at a lot of old Heathkit gear, including this really interesting “direct reading capacity meter.” You can see the video, below.

Measuring capacitance these days is easy. Many digital multimeters have that function. However, those didn’t exist in the 1950s–at least, not in the way we know them. The CM-1 weighed 5 pounds, had several tubes, and cost what would equate to \$250 in today’s prices. Unlike other instruments of the day, though, the capacitance was read directly off a large analog meter (hence, the name). You didn’t have to interpret readings using a nomograph or move a knob to balance a bridge and read the knob’s position.