You Speak, Your Scope Obeys

We’ve been scratching our heads about the various voice-recognition solutions out there. What would you really want to use one for? Turning off the lights in your bedroom without getting up? Sure, it has some 2001: A Space Odyssey flare flair, but frankly we’ve already got a remote control for that. The best justification for voice control, in our mind, is controlling something while your hands or eyes are already busy.

[Patrick Sébastien Coulombe] clearly has both of his hands on his oscilloscope probes. That’s why he developed Speech2SCPI, a quick mash-up of voice recognition and an oscilloscope control protocol. It combines the Julius open-source speech recognizer project with the Standard Commands for Programmable Instruments (SCPI) syntax to make his scope obey his every command. You’ve got to watch the video below the break to believe how well it works. It even handles his French accent.

Continue reading “You Speak, Your Scope Obeys”

Raindrops On An Oscilloscope

Something very beautiful appeared in our feed this evening, something that has to be shared. [Duncan Malashock] has created an animation of raindrops creating ripples. Very pretty, you might say, but where’s the hack? The answer is, he’s done it as a piece of vector display work on an oscilloscope.

He’s using [Trammell Hudson’s] V.st Teensy-powered vector graphics board. We’ve featured this board before, but then it was playing vector games rather than today’s piece of artwork. The ‘scope in question is slightly unusual, a Leader LBO-51, a device optimized for vector work rather than the general purpose ‘scopes we might be used to. The artwork is written using Processing, and all the code is available in a GitHub repository.

So sit back and enjoy the artwork unfolding in the video. We look forward to more work featuring this hardware.

Continue reading “Raindrops On An Oscilloscope”

Pimp My Scope: Touchscreen Edition

Do you have a touch-screen oscilloscope? Neither do we. But how cool would that be to pan left and right or expand either axis just like you do on your cellphone screen? [Igor] did just that, and the results (in the video below the break) look fantastic.

We’ve covered [Igor]’s previous round of hacking on his Siglent scope, where he bricked it by flashing the wrong firmware, and then fixed it by Frankensteining the screen into the box that the firmware wanted. But once he’d gotten the scope-hacking bug, he couldn’t quit.

A brief overview: an Arduino Nano reads the touchscreen and sends the commands to the scope to act accordingly. [Igor] initially wanted to simply use the COM port on the back to control, but his previous mis-flashing of the firmware had rendered that moot. Instead, he went after the data bus that interfaces with the keyboard unit, reverse engineered its protocol, and spoofed keypresses with custom code in the AVR.

As a side effect of all this, [Igor] could also write a script that controls the scope from his computer, and he ended up re-housing it all in the nice wooden front panel that you see now. It’s more than a step up from the previous covered-in-electrical-tape look, and the new functionality is very very cool. Kudos.

Continue reading “Pimp My Scope: Touchscreen Edition”

Two Portable Oscilloscopes: Shootout

Last time I introduced you to two relatively inexpensive and somewhat portable scopes: the EM125, which is a cross between a digital voltmeter and an oscilloscope, and the Wave Rambler, which is a scope probe with a USB connector attached. Both of the devices cost about $100, and both have their plusses and minuses.

This time, though, I wanted actually to look at some real-world signals. To make that easy, I grabbed yet another scope-like thing I had handy: an Embedded Artists Labtool. This is an interesting board in its own right. It is an LPC-Link programmer attached to an LPC ARM board that has several high-speed A/D channels. However, I’m not using any of that capability for now. The board also has a cheap ARM processor (an LPC812) on it that serves only to generate test signals. The idea is you can use the Labtool in a classroom with no additional equipment.

The Labtool’s demo CPU generates a lot of different signals, but with only one channel on the test scopes, it didn’t make sense to look at, for example, I2C data. So I stuck with two different test signals: a varying pulse width modulation signals and a serial UART transmitter.

Continue reading “Two Portable Oscilloscopes: Shootout”

A Tale of Two (Sub $100) Oscilloscopes

Hi, I’m Al, and I’m an oscilloscope-holic. Just looking around my office, I can count six oscilloscope or oscilloscope-like devices. There are more in my garage. If you count the number of scopes I’ve owned (starting with an old RCA scope with a round tube and a single vertical scale), it would be embarrassing.

On the other hand, if you are trying to corral electrons into doing useful things, a scope is a necessity. You can’t visualize what’s happening in a circuit any better than using an oscilloscope. Historically, the devices were expensive and bulky. I’ve had many Tektronix and HP scopes that stayed in one place, and you brought what you were working on to them (sometimes called a “boat anchor”). It wasn’t that long ago that one of my vintage Tek scopes had its own dedicated cart so I could wheel it to where it was needed.

These days, scopes are relatively cheap, depending on what you have in mind for performance. They are also highly portable, which is nice. In fact, it is an indication of how spoiled I’ve become that my main bench scope–a Rigol DS1104Z–weighs seven pounds, yet I still look for something smaller for quick jobs.

That’s how I came into possession of two cheap scopes I wanted to talk about. They are similar in ways but different in others. Neither are going to replace a real bench scope, but if you want something portable, or you are budget-limited, they might be worth a look.

Continue reading “A Tale of Two (Sub $100) Oscilloscopes”

32C3: Vector Video Games

There are a few classic video games that rely on vector graphics and special monitors. Asteroids is incomplete if you’re not playing it in its original arcade format. The same goes with Tempest, Lunar Lander, and the 1983 Star Wars arcade game. Emulation of these games is possible, even with MAME, but the display – like every display you can buy today – is still rasterized. The solution to this problem is to create a vector display output for MAME that works in conjunction with adapter boards and DACs connected to a monitor.

For this year’s Chaos Computer Congress, that’s exactly what [Trammell Hudson] and [Adelle Lin] did. They’ve created an open source vector gaming system that connects MAME to XY monitors and oscilloscopes.

The build uses a custom board equipped with a Teensy 3.1 microcontroller and a 12-bit DAC to convert XY coordinates sent by MAME to vectors that can be displayed on any XY monitor. This, of course, requires a patch to MAME, which the maintainers rejected as being an, “unacceptably hacky way to achieve the intended result.” It does achieve the intended result, though: allowing dozens of vector games playable on whatever monitor supports vector graphics.

So far, [Trammell] and [Adelle] have gotten their system working on Vectrex consoles, analog oscilloscopes set to XY mode, and vectorscopes that litter every broadcast station and surplus shop. Check out [Trammell] and [Adelle]’s talk, and if you want to build the V.st vector display driver, the board is available from OSHPark.

No Spectrum Analyser? No Problem!

In the Bad Old Days, a spectrum analyser was a big piece of expensive machinery that you’d have on your bench next to your oscilloscope. And while good ones still cost a ton of money, [rheslip] shows you how to turn your VISA-compatible scope into a decent spectrum analyser for the low, low price of nothing. Watch it in action in the video below the break.

pyvisa-shot0002_tnIf your scope is relatively recent, like this side of the late 1990s, it might support National Instrument’s VISA: virtual instrument software architecture. [rheslip]’s Rigol scope does, and he uses PyVisa, a Python wrapper for the NI-VISA libraries to download the raw samples from the ‘scope and then crunches the FFTs out on his laptop.

There are definitely drawbacks to this method. The sampling depth of the scope is eight bits, which limits his maximum signal-to-noise ratio, and the number-crunching and data transfer are slow, resulting in a 2 Hz refresh rate. But once the data has made it across to his laptop, [rheslip] can run the FFTs at whatever sample length he wants, resulting in very high frequency resolution.

Indeed, we’re thinking that there’s all sorts of custom filters and analysis that one could do with raw access to the oscilloscope’s data. Why haven’t we been doing this all along? Any of you out there have cool VISA tricks that you’d like to share?

Continue reading “No Spectrum Analyser? No Problem!”