The Right Equipment Makes A Difference For Digital Oscilloscope Music

We all love our cheap digital oscilloscopes, and with good reason. But if there’s one place where analog scopes still shine, it’s anywhere you need X-Y mode. Digitally sampling the inputs and mapping them on the screen as discrete points just isn’t the same as steering an electron beam around a CRT, making X-Y mode work on digital scopes — at least the affordable ones — somewhat lacking.

Thankfully, nobody told [Mark Hughes] that his digital scope would make a lousy X-Y display, so he just plunged ahead and figured out how to make it work anyway. The results are actually pretty good, but it took some doing. His setup begins with OsciStudio, an application built to take 3D shapes and animations and turn them into oscilloscope music. The output from that is piped to a USB sound card; [Mark] used a PreSonus Studio 26c, an adapter with DC-coupled inputs, which he found to be critical to getting good images. Also important was a USB isolator and good-quality cables, which greatly reduced jitter and made the image much more stable.

Displaying the image was as easy as connecting the left and right outputs from the sound card to the two scope inputs — [Mark] used a Keysight EDUX1052G — and setting it to X-Y mode. It took a fair amount of fiddling to get as far as he did, but we think the results speak for themselves. As for the sounds made by these images, he says it’s a bit like a hung sound card when a computer blue-screens. So, yeah — not exactly musical, but still an interesting way to have some fun with your digital scope.

Showing the scope screen and the BeagleBone setup side by side, with GPIO input and output traces shown on the scope screen.

How Realtime Is Your Kernel? Scope A GPIO To Find Out

When debugging something as involved as kernel scheduler timings, you would typically use one of the software-based debugging mechanisms available. However, in cases when software is close to bare metal, you don’t always need to do that. Instead, you can output a signal to a GPIO, and then use a logic analyzer or a scope to measure signal change timing – which is what [Albert David] did when evaluating Linux kernel’s PREEMPT_RT realtime operation patches.

When you reach for a realtime kernel, latency is what you care about – realtime means that for everything you do, you need to get a response within a certain (hopefully very short) interval. [Albert] wrote a program that reads a changing GPIO input and immediately writes the new state back, and scoped both of the signals to figure out the latency of of the real-time patched kernel as it processes the writes. Overlaying all the incoming and outgoing signals on the same scope screen, you can quickly determine just how suitable a scheduler is when it comes to getting an acceptable response times, and [Albert] also provides a ready-to-go BeagleBone image you can use for your own experiments, or say, in an educational environment.

What could you use this for? A lot of hobbyists use realtime kernels on Linux when building CNC machine controllers and robots, where things like motor control put tight constraints on how quickly a decision in your software is translated into real-world consequences, and if this sounds up your valley, check out this Linux real-time task tutorial from [Andreas]. If things get way too intense for a multi-tasking system like Linux, you might want to use a RTOS to begin with, and we have a guide on that for you, too.

Isolated Oscilloscope Design Process Shows How It’s Done

[Bart Schroder] was busy designing high voltage variable speed motor drives and was lamenting the inability of a standard scope to visualise the waveforms around the switch transistors. This is due to the three phase nature of such motors being driven with three current waveforms, out of phase with each other by 120 degrees, where current flows between each pair of winding taps, without being referenced to a common notion of ground. The average scope on your bench however, definitely is ground-referenced, so visualising such waveforms is a bit of a faff. Then there’s the fact that the motors run at many hundreds of volts, and the prospect of probing that with your precious bench instrument is a little nerve-wracking to say the least. The solution to the issue was obvious, build your own isolated high voltage oscilloscope, and here is the Cleverscope CS448 development journey for your viewing pleasure.

The scope itself is specification-wise nothing too flash, it’s the isolated channels that make it special. It does however have some niceties such as an extra eight 100 Mbps digital inputs and a handy 65 MHz signal generator. Also, don’t reach for your wallets just yet, as this is a specialised instrument with an even smaller potential user base than a normal scope, so these units are rather pricey. That all said, it’s not the existence of the scope that is the focus here, it’s the journey from problem to solution that interests us the most. There is much to learn from [Bart’s] journey, for example, where to place the frontend ADC? Isolated side or not? The noise floor of the signal chain dictated the former.

Continue reading “Isolated Oscilloscope Design Process Shows How It’s Done”

Wearable Scope Lets Your Fingers Do The Probing

For frantic hacking sessions where seconds count, this forearm mounted oscilloscope with fingertip probes built by [aniketdhole] might be just what you need. Well, maybe. It’s not immediately clear why you might want to wear an oscilloscope on your arm, and sticking your fingers inside of powered up electronic devices sounds specifically like something your mother probably told you not to do, but here it is anyway.

The scope consists of an nRF5340 evaluation board in a 3D printed mount, with an SPI-connected Adafruit 2.8″ TFT display on top. With a pair of wires run from the board’s ADC and ground pins, [aniketdhole] just needed a bit of code to glue it all together and show some basic signal visualizations on the display. It’s been tested against PWM signals generated by an Arduino and some potentiometer controlled voltages, but anything much wilder than that is probably a bit too much to ask for from this rig in its current configuration.

In the future, [aniketdhole] wants to add some step-down circuity so you can probe higher voltages than the nRF5340 can handle normally, as well as a shunt to allow current measurement. Once the hardware is in place, the next order of business will be an improved touch-capable user interface that lets the user adjust settings and switch between functions.

Even if you’re not sold on the idea of an arm-mounted oscilloscope, this is still an interesting platform for general wearable experimentation. Throw enough sensors into it, and we’re sure there’s more than a few hackers who wouldn’t mind strapping one of these on.

Gameduino + Mystorm = Oscilloscope!

There has to be more than one of us who over the years since the launch of systems like the original Game Boy have eyed up these handheld platforms and thought “You could make a really neat little oscilloscope with that!” But the commercial systems are closed-source, locked down, and proprietary, so in many cases there’s little easy prospect of such a device being created.

Fortunately though, there are now very accessible handheld gaming platforms, and [James Bowman], the creator of the Gameduino series of boards, writes in to tell us about an oscilloscope project for the Gameduino 3 created by [Lawrie Griffiths]. It uses a Mystorm FPGA board with an AN108 analogue board, and while the heavy lifting of acquisition is handled by the FPGA it is left to the Mystorm’s STM32 to talk to the Gameduino. There are a few teething troubles such as the Gameduino complaining when it is fed data too quickly, but the result is an effective 8 MHz bandwidth instrument with a touchscreen interface. He does however admit that the interface is a little fiddly at the moment. All the code is available via GitHub, so should you wish to pursue this particular avenue yourself, you can.

The Mystorm has made more than one appearance here over the years, and we’re sure we’ll see more. We saw it emulating a small OLED display to put Arduboy graphics on the big screen, for example, and implementing a complete Acorn BBC Micro home computer.

A DIY Nine Channel Digital Scope

Have you ever found yourself in the need of a nine channel scope, when all you had was an FPGA evaluation board? Do not despair, [Miguel Angel] has you covered. While trying to make sense of the inner workings of a RAM controller core, he realized that he needed to capture a lot of signals in parallel and whipped up this 9-channel digital oscilloscope.

The scope is remote-controlled via a JavaScript application, and over Ethernet. Graphical output is provided as a VGA signal at full HD, so it is easy to see what is going on. Downloading sampled data to the controlling computer for analysis is in the works. [Miguel] runs his implementation on an Arty A7 development board which is currently available for around a hundred dollars, but the design is transferable to other platforms. The code and some documentation is available on GitHub and there is a demo video after the break.

Continue reading “A DIY Nine Channel Digital Scope”

Wireless Oscilloscope Review

[Martin Rowe] over at EDN recently put a $200 wireless oscilloscope to the test. The Aeroscope 100A is a single channel scope in a probe body that communicates back to an Apple smartphone or tablet via Bluetooth LE. You can see the video from the post, below.

The original prototype of the device had a high bandwidth, but the production model only manages to have a 20 MHz bandwidth at 100 megasamples per second: nothing earth-shattering.

Continue reading “Wireless Oscilloscope Review”