Fixing An HP 54542C With An FPGA And VGA Display

Although the HP 54542C oscilloscope and its siblings are getting on in years, they’re still very useful today. Unfortunately, as some of the first oscilloscopes to switch from a CRT display to an LCD they are starting to suffer from degradation. This has led to otherwise perfectly functional examples being discarded or sold for cheap, when all they need is just an LCD swap. This is what happened to [Alexander Huemer] with an eBay-bought 54542C.

Although this was supposed to be a fully working unit, upon receiving it, the display just showed a bright white instead of the more oscilloscope-like picture. A short while later [Alexander] was left with a refund, an apology from the seller and an HP 54542C scope with a very dead LCD. This was when he stumbled over a similar repair by [Adil Malik], right here on Hackaday. The fix? Replace the LCD with an FPGA and VGA-input capable LCD.

While this may seem counter intuitive, the problem with LCD replacements is the lack of standardization. Finding an 8″, 640×480, 60 Hz color LCD with a compatible interface as the one found in this HP scope usually gets you salvaged LCDs from HP scopes, which as [Alexander] discovered can run up to $350 and beyond for second-hand ones. But it turns out that similar 8″ LCDs are found everywhere for use as portable displays, all they need is a VGA input.

Taking [Adil]’s project as the inspiration, [Alexander] used an UPduino v3.1 with ICE40UP5K FPGA as the core LCD-to-VGA translation component, creating a custom PCB for the voltage level translations and connectors. One cool aspect of the whole system is that it is fully reversible, with all of the original wiring on the scope and new LCD side left intact. One niggle was that the scope’s image was upside-down, but this was fixed by putting the new LCD upside-down as well.

After swapping the original cooling fan with a better one, this old HP 545452C is now [Alexander]’s daily scope.

Restarting The Grid When The Grid Is Off The Grid

If you watch YouTube long enough, it seems like going “off the grid” is all the rage these days. But what if the thing that goes off the grid isĀ the grid itself? In the video below the break, [Grady] with Practical Engineering explores the question: How do you restart an entire power grid after it’s gone offline? It’s a brilliantly simple deep dive into what it takes to restore power to large amounts of customers without causing major damage to not just the grid, but the power generators themselves.

What’s A Power Grid Operators Favorite Band?

The hackers among us who’ve dealt with automotive alternators know it must be excited in order to generate electricity. What does that even mean, and how does it affect the grid? Simply put, it takes power to make power. For example, old heavy equipment had what they called pony motors — a small easy to start engine that’s sole purpose was to start a much larger engine. Aircraft have auxiliary power units (APUs) for the same purpose. What do power grids have? You’ll have to watch the video to find out.

Once at least two power generators are online, grid operators can just flip the switch and start feeding power to customers, right? Not quite. [Grady] once again uses a clever test jig and an oscilloscope to show the damage that can occur if things aren’t done just right. It’s a fascinating video well worth watching.

Learn how grid operators use a Power Grid Emulator called LEGOS to help them with keeping the electrons flowing in the right direction.

Continue reading “Restarting The Grid When The Grid Is Off The Grid”

Cheap Scope Troubleshoots Commodore

[Adrian] had a Commodore computer to fix and decided to see how his latest tiny portable scope would work. He paid $57 for the tiny little test instrument although the current price seems higher. It claims to have 120MHz bandwidth along with 500 megasamples per second. There are several versions with different claimed specs, but we did find a similar device for under $60. You can see the unboxing and how it worked in the video below.

Of course, these kinds of instruments often overstate their specs, and [Adrian] was also suspicious. One odd feature of the device is it can echo its output to an NTSC video output so you can send the screen to an external monitor.

Continue reading “Cheap Scope Troubleshoots Commodore”

A Pi Pico Oscilloscope

At the budget end of the oscilloscope range lie the so-called pocket ‘scopes. About the size of a deck of cards, they combine a microcontroller and an LCD screen to make an instrument with a bandwidth in the tens of kilohertz and a not-too-sparkling performance. They’re something of a toy, but then again, if all that’s needed is a simple ‘scope for audio frequencies, they make a passable choice in a small package. Now [jgpeiro] has made one which is light years ahead of the toy kits, using a Raspberry Pi Pico, a 100 MHz ADC, and an effort to design a better input circuit.

At its simplest this could be a straightforward op-amp and ADC circuit feeding the Pico, but instead it has multiple stages carefully designed to offer the full bandwidth, and with gain, offset, and trigger settings being set by a series of DAC chips under software control. This and the decent bandwidth make this a much more viable oscilloscope, and one we’d like to see further developed.

By comparison, we took a look at the best of the competition a few years ago.

A small green circuit board with a tiny OLED display

An Oscilloscope Trigger For Vintage Video Processors

Working on retro computers is rarely straightforward, as [ukmaker] recently found out while designing a new display interface. Their oscilloscope was having trouble triggering on the video signal produced by older video circuitry, so they created the Video Trigger for Retrocomputers.

The Texas Instruments TMS9918 video display controller was used across a range of 1980s game consoles and home computers, from the well-known ColecoVision to Texas Instruments’ own TI-99/4. Substantial retro computing heritage notwithstanding, the video output from this chip was (for reasons unknown) not quite compatible with the Hantek DSO1502P oscilloscope. And without a better understanding of the video signal, it was difficult to use the chip with newer TFT displays, being designed for CRT televisions with more forgiving NTSC tolerances.

Maybe a different scope would have solved the problem, but [ukmaker] had a feeling that the ‘scope needed an external trigger signal. The Video Trigger project uses a LM1881 sync separator to tease out the horizontal and vertical sync signals from the vintage video chip, with the output piped into an ATmega 328P. Along with a smattering of discrete components, the ATmega aids the user in selecting which line to frame a trigger on, and the slope of the horizontal sync signal to align to. A tiny OLED display makes configuration easy.

If this has piqued your interest, [ukmaker] also has a great write-up over on GitHub with all the gory details. Maybe it will help you in your next vintage computing caper. Having the right tool can make all the difference, like this homebrew logic meter for hobby electronics troubleshooting. Or if you want to know more about the mystical properties of analog NTSC video, we’ve covered that, too.

2022 Cyberdeck Contest: The Oscilloscope Deck

When [Jak_o_Shadows] Siglent Oscilloscope died, he didn’t just mourn the loss, he saw an opportunity. See, he had a Raspberry Pi 400 already set aside for a cyberdeck build, and he just scored a novel case. Most of the insides of the old scope came out, but the screen and control knobs live on in the new build. An HDMI-to-LVDS adapter brought the screen back to life, and the control knobs are a work-in-progress. Added to the case are some fun goodies, like a LimeSDR, connected to the old scope inputs. A PL2303 is wired to the serial port, making that functional, too. It’s a very nice touch that the build retains the original scope’s functions this way.

There’s plenty of 3d-printed goodness, like some internal brackets to hold things in place. The real star of the show is a 3d-printed hinge, holding the scope and Pi 400 together and making the whole package portable. There’s a neat tip, too, in that the Pi 400 has a huge integrated heat sync under the keyboard. It’s just a sheet of metal, so you can drill and tap it as mounting points. Cool!

This is a nifty build, and certainly a worthy deck for jacking-in to whatever you’re working on. And re-purposing an oscilloscope is a nice aesthetic. If [Jak_o_Shadows] can just get the front array of buttons and knobs working with his STM32, this will be a killer deck, the envy of console cowboys everywhere.

Better Scope Measurements

There was a time when few hobbyists had an oscilloscope and the ones you did see were old military or industrial surplus that were past their prime. Today you can buy a fancy scope for about what those used scopes cost that would have once been the envy of every giant research lab. However, this new breed of instrument is typically digital and while they look like an old analog scope, the way they work leads to some odd gotchas that [Arthur Pini] covers in a recent post.

Some of his tips are common sense, but easy to forget about. For example, if you stack your four input channels so each uses up a quarter of the screen, it makes sense, right? But [Arthur] points out that you are dropping two bits of dynamic range, which can really jack up a sensitive measurement.

Continue reading “Better Scope Measurements”