Controlling A Rigol With Linux

The Rigol DS1052E is the de facto oscilloscope for any tinkerer’s bench. It’s cheap, it’s good enough, and it’s been around for a long time; with the new 1054 zed model out now, you might even be able to pick up a 1052E on the cheap.

[wd5gnr1] came up with a really interesting piece of software that allows a Linux system to control most of the functions on this popular scope. With just a USB cable, you can read and log all the measurement of the scope, save waveforms in CSV format, and send data to gnuplot and qtiplot.

Since the 1052E has been around for such a long time, there’s a bunch of software out there that takes advantage of the nifty USB port on the front of this scope. If you need a cheap spectrum analyzer, here ‘ya go, and tools for the .WFM files native to this scope even exist for Windows. [wd5gnr1] even says his tool can probably be ported to Windows, but ‘just use Linux.’

Hackaday Links: September 15, 2013

hackaday-links-chain

First a quick announcement. We changed our “Kickstarter” category to “Crowd Funding“. We get a huge number of tips about crowd funding projects. We’re always interested in details. If you’re trying to get your crowd funding campaign on our front page make sure you’ve shared as many gritty project details (development process, problems/successes along the way, etc.) as possible . We usually prefer if this is done in a separate blog post from the campaign page itself.

Here’s a peephole hack that purportedly cost four grand. It uses a full on DSLR for the peephole hardware. Add a motion sensor and maybe you’ll be able to learn the faces of the neighbors who live on your floor. [via Gizmodo]

[Matthias] tells us that support for Rigol DS1052E oscilloscopes has been included in the 3.11 version of the Linux Kernel. Prior to this, getting the hardware to work on Linux was a hack, and a buggy one at that. For what it’s worth, here’s confirmation that support was added.

A post about reverse engineering the FitBit Aria Wi-Fi scale was sent in by [Christopher]. This makes us wonder if you could patch into a digital scale, using your own electronics to spoof the FitBit version?

We always keep our paperboard six-pack carriers so that we have a way to transport our homebrew beer. But rolling into a party with this laser-cut beer caddy which [Daniel] designed looks a lot cooler.

Texas Instruments has an MSP430 Selection Guide (PDF) which we found interesting. The first nine pages or so are pretty much just marketing, but several pages of parametric tables found after that make for a great collection of data on the hardware families. [via Dangerous Prototypes]

[Antoine] spared no expense building a coffee table that showcases his old motherboards. The illuminated glass and wood art piece rang in at around $400 in materials. We’re a little more minimalist with our home decor. We still want something along the lines of this LED matrix version.

Speaking of LED matrices, [Mario] dropped off a link to his LED Space Invaders game in the comments of last week’s Game of Light post. What we can’t figure out is why so many people hesitate to send in a tip about their awesome projects?

Rigol WFM Viewer Ported For Non-Windows Users

rigol-wfm-parser-for-linux

[Matthias Blaicher] may think this isn’t a big deal when it comes to the amount of work he put into the hack. But for us, anything that extends the functionality of the versatile yet affordable Rigol DS1052E is a win. In this case he’s taken a previous hack and made it work for more people by extending the functionality of the WFM file format viewer.

[Dexter2048] pulled off the original hack which allows this oscilloscope to be used as a spectrum analyzer. [Matthias] didn’t want the tool to be limited to running only on Windows systems so he got to work. This isn’t quite as easy as sounds because the only part of the original code that was released is the parser itself. [Matthias] had to build everything up from that starting point. His software uses standard Python to parse the WFM file and reformat the data. The features included in the current version allow you to export data as a CSV file and even plot the waveform and FFT as seen above.

Giving The Rigol DS1052E ‘scope A Spectrum Analyzer

Like a lot of hardware tinkerers, [dexter2048] has a Rigol DS1052E oscilloscope sitting on his bench. One day when trying to coax some information out of the FFT setting, [dexter] threw his hands up in frustration and decided to write a file viewer with FFT spectrum analysis. The resulting viewer gives this very capable and inexpensive oscilloscope a spectrum analyzer.

[dexter2048]’s app is able to capture signals from 0 Hz to 500 MHz and demonstrated this fact by sticking a piece of wire into one of the Rigol’s inputs. The resulting waveform is then sent to a computer where [dexter] got a nice picture of the radio spectrum between 82MHz and 114MHz. In his graph, you can clearly see the FM radio stations that can be picked up in [dexter]’s lab.

This small modification to the Rigol DS1052E oscilloscope it the latest in a long line of hacks that give this wonderful, inexpensive scope double the bandwidth, data collection via Python, and even a homebrew version of Pong. Anything that provides new functionality for old gear is great news to us, and we look forward to many, many more 1052E hacks in the future.

Tip ‘o the hat to [Murlidhar] for sending this in.

Grabbing Data From A Rigol ‘scope With Python

While a fancy Rigol 1052E oscilloscope is a great tool and a wonderful portable oscilloscope we heartily recommend, sometimes you just need to use the more ‘advanced’ functions of an oscilloscope. Luckily, [cibomahto] figured out how to use a Rigol scope with Python, allowing for easy remote viewing and control of a Rigol 1052E ‘scope on any desktop computer.

[cibomahto]’s Python script grabs the screen and can send commands to the oscilloscope, effectively obviating the need for the slightly-terrible Rigol Ultrascope software. Not only that, controlling the 1052E is possible under OS X and Linux because of the portable Python nature of [cibomahto]’s work.

The Rigol DS1052E has become the de facto standard oscilloscope to grace the workbenches of makers and hackers around the globe. With a small price tag, the ability to double the bandwidth, and an active homebrew development scene, we doubt [cibomahto]’s work of grabbing data over USB will be the last hack we’ll see for this fine machine.

Thanks to [Markus] for sending this one in.