Signal generators are a useful piece of kit to have on your electronics bench. The downside is that they tend to be rather expensive. If you have $100 to drop on a new toy, the MHS-5200A is a low cost, two channel, 25 MHz generator that can be found on eBay.
The downside is the software. It’s an ugly Windows interface that’s a pain to use. The good news is that [wd5gnr] reverse engineered the protocol so you don’t have to. This means other software can be developed to control the device.
When connected to a computer, this function generator shows up as a virtual USB serial port. The documentation that [wd5gnr] assembled lists all the serial commands you can send, and what they do. If you aren’t into manually setting waveforms from a serial terminal (who is?) there’s a tool for doing that automatically on Github. This takes in a CSV file describing a waveform, and programs the generator to make it for you.
The software is also compatible with Waveform Manager Plus, a free GUI tool for defining waveforms. Putting this all together, you can have a pretty capable waveform generator for less than $100.
Michigan Tech was throwing out a bunch of old electronic equipment, and [Evan] snagged quite a gem: a UHF signal generator built by Hewlett Packard circa 1955. He stripped all of the remaining electronics out of the case, but kept the slide-out trays and the front instrument panel to create this antique-looking file server.
The bottom tray was where the bulk of the electronics were housed, and since widespread adaptation of transistors for electronics wasn’t common at the time (the first silicon transistor wasn’t made until 1954), the original equipment was all vacuum tubes. This meant that there was just enough space for a motherboard, heat sink, and a couple of power supplies.
The hard drives are held in custom housings in the top portion of the case. The real magic, however, is with the front display panel. [Evan] was able to use the original meters, including a display for “megacycles” which is still technically accurate. The meters are driven by a USB-to-serial cable and a python script that runs on the server.
The antique case is a great touch for this robust file server. Make sure to put it in a prominent place, like next to your antique tube radio.
Are you interested in building a 20kHz 2-channel oscilloscope and a 2-channel signal generator for only $20 with minimal effort? Be sure to check out [Jan_Henrik’s] Instructable that goes over how to build this awesome tool from a cheap USB audio card.
We have featured tons and tons of DIY oscilloscopes in the past, but this effort resulted in something very well put together while remaining very simple to understand and easy to build. You don’t even need to modify the USB audio card at all. One of the coolest parts of this build is that you can unplug your probe assembly from your USB audio card, and bring it wherever your hacking takes you. After the build, all you need is [Christian Zeitnitz’s] Soundcard Oscilloscope program and you are good to go. One of the major downsides that is often overlooked when using an audio based oscilloscope, is that it is “AC coupled”. This means you cannot measure low-frequencies (including DC signals) using a sound card. Be sure to heed [Jan_Henrik’s] advice and do not use your built in audio card as an oscilloscope. With no protection circuitry, it is a sure fire way to fry your computer.
What analog projects have you built around an audio interface? We have seen such an interface used for many different applications, including a few fun medical related hacks (be sure to keep safety your first priority). Write in and let us know!
We must be walking past the wrong dumpsters because we certainly haven’t encountered equipment like this just waiting to be salvaged. [Shahriar] found an HP 8648C Synthesized Signal Generator while he was ‘dumpster diving’ and set out to fix the malfunctioning lab equipment. He posted a 1-hour video on the project, which you can find embedded after the break. The actual fix happens in the first half, the rest of the video is spent testing the resurrected device.
The back corner of the case has been dented, which may be the reason this has been thrown out. When it is first powered it emits an unpleasant screeching noise and the user interface doesn’t do anything. [Shahriar] says he recognizes the sound as a malfunctioning switch-mode power supply. Sure enough, when disconnected from the main board it still makes the noise. It turns out there’s a huge electrolytic capacitor the size of a stack of poker chips which has come loose from the PSU board. When it’s resoldered the device fires up as expected.
Now how are we going to find a digital capture oscilloscope that just needs to have its PSU reassembled?
Continue reading “Repairing a junked signal generator”
A signal generator is a handy bit of kit and with the right components, it’s pretty easy to build one. Fabricating a proper signal generator probe is another matter entirely. [Frank]’s DIY signal generator probe does exactly what it claims to, and is very cheap to boot.
After [Frank] made a simple signal generator with a few parts he had lying around, he needed a probe. Not wanting to deal with poking loose wires around his circuits, he decided to modify a scope probe. Six dollars and two weeks later, [Frank] had a suitable scope probe on his doorstop shipped from halfway around the world.
The strain relief on the probe was removed, and the resistors and trim cap on the PCB was desoldered. All that was left to do was solder a piece of wire from the BNC jack to the probe lead. The strain relief was put back on and clearly labeled for use as a signal generator probe. Not bad for 10 minutes of work.
One thing we learned by watching [Alton Brown] on all of those Good Eats episodes is that a multitasker is way better than a unitasker. [Joost] is thinking along the same lines by taking a fantastic tool and adding a useful function to it. His software project turns a USB Saleae Logic Analyzer into a signal generator.
There are already a multitude of reasons to own one of these fantastic tools. But the ability to use it to generate up to 8 channels of PWM signals is a welcome addition. It is capable of producing frequencies from 1Hz up to 1MHz at a sample rate of 4 MHz. It uses the original SDK and doesn’t require any changes to the hardware (we would’ve thought new firmware was necessary, but happily that’s not the case). The one caveat is that right now this only works with Windows machines running the .NET version 3.5 or higher. It looks like an MSI installer package is all that’s available for download so the thoughts of easily porting this to other operating systems have been dashed unless [Joost] decides to share his source code.
[Debraj] needed a simple signal generator for a project he was working on, but didn’t have one handy. He found that the easiest and cheapest way to get clean, reliable signaling was by using something that was already sitting on his desk – his PC.
He found that the tone generator built into Audacity was quite useful, at least for generating waveforms at less than 20 KHz or so. Upon plugging his scope into his sound card’s audio jack, he observed that the PC had good frequency fidelity, though it required an additional DC offset as most cards are built to remove that offset from the waveform.
Using a LM358 as a non-inverting summing amplifier, he was able to apply a steady DC offset and generate usable signals for his micro controller projects. A schematic for his offset circuit is available on his site, should you wish to build one of your own.
[Debraj] also notes that though Audacity is a
cheap free way to generate simple signals, any number of complex signals can be generated using MATLAB if you happen to own a copy.