Back of Rigol DS1104Z oscilloscope with the Ethernet and USB ports visible.

SCPI: On Teaching Your Devices The Lingua Franca Of Laboratories

One could be excused for thinking sometimes that the concept of connecting devices with other devices for automation purposes is a fairly recent invention. Yet for all the (relatively) recent hype of the Internet of Things and the ‘smart home’, laboratories have been wiring up their gear to run complicated measurement and test sequences for many decades now, along with factories doing much the same for automating production processes.

Much like the chaotic universe of IoT devices, lab equipment from different manufacturers feature a wide number of incompatible protocol and interface standards. Ultimately these would coalesce into IEEE-488.1 (GPIB) as the physical layer and by 1990 the first Standard Commands for Programmable Instruments (SCPI) standard was released that built on top of IEEE-488.

SCPI defines (as the name suggests) standard commands to interact with instruments. It has over the past decades gone on to provide remote interaction capabilities to everything from oscilloscopes and power supplies to exotic scientific equipment. Many off the shelf devices a hobbyist can buy today feature an SCPI interface via its Ethernet, USB or RS-232C port(s) that combined with software can be used to automate one’s home lab.

Even better is that it’s relatively straightforward to add SCPI functionality to one’s own devices as well, so long as it has at least an MCU and some way to communicate with the outside world.

Continue reading “SCPI: On Teaching Your Devices The Lingua Franca Of Laboratories”

Upgrading The RAM In A 25 Year Old Oscilloscope

From reading his extensive write-ups on the subject, there’s one thing we know for sure: [Tom Verbeure] loves his Tektronix TDS 420A oscilloscope. While it might be older than some of the people reading this, it’s still an impressive piece of hardware with more than enough bells and whistles to keep the average hacker occupied. Especially if you’re willing to perform some hardware modifications.

Note the battery to retain calibration data.

[Tom] already knew how to tickle the scope into unlocking software features, a process not unlike what we’ve seen done on more modern scopes. But there’s only so far you can get by toggling software flags.

Some of the more advanced features that are turned off in the firmware actually need additional hardware to function. Simply bumping the sample points to 120,000 in software wasn’t enough, the scope actually needs the memory to hold them in.

Now logically, if there’s a software option to increase the number of samples, there must be a hardware upgrade that goes along with it. Sure enough, [Tom] found there were 6 open spots next to the scope’s existing M5M51008 static RAM ICs.

As luck would have it the chips are still available, albeit from a different manufacturer and a bit faster than the original parts. Digikey wouldn’t sell fewer than 100 of them, but UTSource was happy to sell him 10. In this case, the parts were cheaper than the shipping cost. Installation was about as straightforward as it gets, though [Tom] does note that he had to keep the board powered up during the operation or else the scope would have lost its calibration data.

Squeezing more features out of modern scopes like the Rigol DS2072A just takes a USB cable and some software. Sometimes it’s only a matter of tapping in a code. But we certainly appreciate [Tom] putting in a little extra effort to get the most out of this classic piece of hardware.

How To Design A Low Cost Probe-Oscilloscope

[Mark Omo] sends in his write up on the design of what should hopefully be a sub-$100 oscilloscope in a probe. 

Many problems in engineering can be solved simply by throwing money at the them. It’s really when you start to apply constraints that the real innovation happens. The Probe-Scope Team’s vision is of a USB oscilloscope with 60MHz bandwidth and 25Msps. The cool twist is that by adding another probe to a free USB port on your computer you’re essentially adding a channel. By the time you get to four you’re at the same price as a normal oscilloscope but with an arguably more flexible set-up.

The project is also open source. When compared to popular oscilloscopes such as a Rigol it has pretty comparable performance considering how many components each channel on a discount scope usually share due to clever switching circuitry.

The probe is based around an Analog Devices ADC whose data is handled by a tag team of a Lattice FPGA and a 32bit PIC micro controller. You can see all the code and design files on their github. Their write-up contains a very thorough explanation of the circuitry. We hope they keep the project momentum going!

ESP8266 Unlocks Hidden Features In Sound Bar

It’s no secret that the hardware devices we buy are often more capable than their manufacturer leads on. Features hidden behind firmware locks are a common trick, as it allows companies to sell the same piece of gear as a different model by turning off certain capabilities. Luckily for us, these types of arbitrary limitations are often easy to circumvent.

As a perfect example, [Acuario] recently discovered that the LG SJ2 sound bar has quite a few features that aren’t advertised on the box. Whether it’s due to greed or just laziness, it turns out LG isn’t using many of the capabilities offered by the ESMT AD83586B IC inside the amplifier. The chip gets its configuration via I2C, so thanks to the addition of an ESP8266, the expanded capabilities can now be easily enabled through a web interface.

[Acuario] has already found out how to turn on things like simulated surround sound, or per-channel volume controls; all functions which aren’t even exposed through the normal controls on the sound bar. But it goes deeper than that. The LG SJ2 is a 2.1 channel system, with a wireless speaker providing the right and left channels. But the AD83586B inside the subwoofer is actually capable of driving two locally connected speakers, though you obviously need to do a little rewiring.

There are still even more capabilities to unlock, though [Acuario] is currently struggling with some incomplete documentation. The datasheet says there’s support for user-defined equalizer settings, but no examples are given for how to actually do it. If anyone’s got a particular affinity for these sort of amplifier chips, now could be your time to shine.

For hackers, there’s perhaps no better example of feature-locked products than Rigol’s line of oscilloscopes. From the 2000 series of scopes in 2013 up to their higher-end MSO5000 just last year, there’s a long history of unlocking hidden features on these popular tools.

Repairing And Upgrading A HP 16533A Scope Card

In the world of oscilloscopes, as in the rest of the test equipment world, there’s always some trickery afoot. Companies will often offer different models to the market at different price points, in an effort to gain the widest possible customer base while also making the most profit. Cheaper, less capable models are often largely identical to more expensive hardware, save for some software or a couple jumpers that disable functionality. [Alexandre] found just this when working to repair his HP 16533A scope card.

Work began when [Alexandre] received his HP 16533A in the mail after a long wait, only to find the trigger functionality was inoperable. This is crucial on a digital scope, so this simply wouldn’t do. After some research online, a post was found discussing which signals to probe to troubleshoot the issue. It noted that corrosion is a common problem on these units, and that occasionally, a certain resistor goes open circuit and causes problems. Initial measurement showed there was still resistance there, but reading closer, [Alexandre] noted this fateful line:

You might not be able to measure it accurately in circuit. 

Removing the 100K resistor from the board, the part was indeed open circuit. After replacement with a new component, the trigger circuit was again fully operational. With the scope still open, it was then a simple job to execute a further resistor swap which gives the 16533A the functionality and range of the higher-spec 16534A model.

It’s very common for oscilloscopes and other test hardware to be configured this way from the factory. Rigol scopes are particularly popular with hackers for this very reason.

[Thanks to jafinch78 for the tip!]

Talk To Your ‘Scope, And It Will Obey

An oscilloscope is a device that many of us use, and which we often have to use while our hands are occupied with test probes or other tools. [James Wilson] has solved the problem of how to control his ‘scope no-handed, by connecting it to a Raspberry Pi 3 running the snips.ai voice assistant. This is an interesting piece of software that runs natively upon the device in contrast to the cloud service provided by the likes of Alexa or Google Assistant.

The ‘scope in question is a Keysight 1000-X that can be seen in the video below the break, but looking at the Python code we could imagine the same technique being brought to other instruments such as the Rigol 1054z we looked at controlling via USB a year or two ago. The use of the snips.ai software provides a pointer to how voice-controlled projects in our community might evolve beyond the cloud services, interestingly though they do not make a big thing of it their software appears to be open-source.

Oscilloscopes do not have to be remotely controlled by voice alone. It seems to be a common desire to take measurements no-handed — one project we’ve featured in the past did the job with a foot switch.

Continue reading “Talk To Your ‘Scope, And It Will Obey”

Sharpest Color CRT Display Is Monochrome Plus A Trick

I recently came across the most peculiar way to make a color CRT monitor. More than a few oscilloscopes have found their way on to my bench over the years, but I was particularly struck with a find from eBay. A quick look at the display reveals something a little alien. The sharpness is fantastic: each pixel is a perfect, uniform-colored little dot, a feat unequaled even by today’s best LCDs. The designers seem to have chosen a somewhat odd set of pastels for the UI though, and if you move your head just right, you can catch flashes of pure red, green, and blue. It turns out, this Tektronix TDS-754D sports a very peculiar display technology called NuColor — an evolutionary dead-end that was once touted as a superior alternative to traditional color CRTs.

Join me for a look inside to figure out what’s different from those old, heavy TVs that have gone the way of the dodo.

Continue reading “Sharpest Color CRT Display Is Monochrome Plus A Trick”