Watch a shop tour through the screen of an oscilloscope

[Alan] posted a video tour of his electronics shop, but you’ll be viewing it through the green screen of an oscilloscope. The image above is a video camera filming a scope screen which displays the image of…. an oscilloscope (insert your own Yo Dawg meme here). But first he shares the technique he uses to display composite video on an oscilloscope screen.

The first three minutes of the video after the break are devoted to the video display hack. He starts with a glimpse of the breadboard circuit which takes the composite video signal and provides the necessary X, Y, and Z input signals to the scope to perform like this. He then walks through each portion of the schematic, which is based on an LM1881 video sync separator chip. The horizontal and vertical sync signals are separated by this chip, then filtered to produce ramp voltages for each to drive X and Y. The Z-axis is fed through a simple inverter circuit; Bob’s your uncle and your oscilloscope is now a TV monitor.

Of course this is not the first time this has been done. But we loved [Alan’s] presentation, and thought the shop tour was a fun way to finish off the video.

[Read more…]

Rabiscoscopio – Oscilloscope drawing made easy

Rabiscoscopio

If you own an oscilloscope, sooner or later the urge to see something other than signals on the screen will strike. Some people ignore the urge and go about their normal business while others give in, spending hours carefully crafting images, games, and more. The process is time consuming and tricky as our own [Kevin Dady] discovered, but rewards come in the form of geek cred and are hard to pass up.

[Alex] wanted to draw on his oscilloscope, but decided that he would try something other than the microcontroller-based solutions we have seen in the past. He figured the easiest and most accessible way to draw on the scope was with sound, so he whipped up a small application he calls Rabiscoscopio to do most of the work for him.

He starts off by drawing an image using a single line, saving it as an SVG file. This image is converted into an audio file by Rabiscoscopio, which can then be fed directly into his oscilloscope from his PC. That’s all there is to it – it really doesn’t get much easier.

While you could claim that [Alex] is cheating his way through the oscilloscope drawing process, we think his application rocks – after all, hacking is about making your technology work for you rather than the other way around.

Give Rabiscoscopio a try and post the results here or in our Flickr stream – we’d love to see what you guys come up with.

In the meantime, check out the video below to see [Alex’s] attempt at replicating the Garoa Hackerspace logo on his scope.

[Read more…]

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.

Hackday Links: March 10, 2012

We’re throwing money at our monitor and nothing’s happening!

Sometimes we get hacks sent into our tip line that are outrageously awesome, but apart from a YouTube video we’ve got nothing else to write about. So begins the story of the flying Back to the Future DeLorean quadrocopter. Sadly, the story ends with the video as well. (If you’ve got any info, send it in!)

Fine, we’ll throw in another cool car

Mercedes covered a car with LEDs and made the James Bond’s invisible car from Die Another DayThe Mercedes video cost tens of thousands of dollars to produce, so of course there’s camera trickery; we’re just wondering how much credit Adobe After Effects gets for this build.

Microsoft touchscreen demo might be impossible

Yes, Microsoft does care about user experience. Just take a look at this video from their applied sciences group. They did user testing with touchscreens that updated every 1 millisecond, compared to the ~100ms our phones and tablets usually update. Of course the result was a better UX, but now we’re wondering how they built a touch screen that updates every millisecond? That’s a refresh rate of 1 kHz, and we’ve got no clue how they bodged that one together. We’re probably dealing with a Microsoft Surface projector/IR camera thing here, but that doesn’t answer any questions.

Edit: [Philip Rowney] sent in a tip that it could be this TI touch screen controller that can sample above 1 kHz. The only problem is this chip uses a resistive touch screen, instead of a multitouch-enabled capacitive screen. At least that solves one problem.

And now for something that can measure 1 kHz

[Paleotechnologist] posted an excellent guide to the care and feeding of an oscilloscope. Most of our readers probably already know the ins and outs of their awesome Techtronix and HP units, but that doesn’t mean the younglings won’t have to learn sooner or later.

Good idea, except the part about saving it for spring

In a moment of serendipity, [Valentin] figured out how to use touchscreens with wool gloves. The answer: rub thermal grease into the tip of the index finger. It works, and doesn’t look to be too much of a mess. We’ll remember this for next winter.

The last one didn’t have a picture, so here’s this

[Darrell] used a little bit of LaTeX and Ruby to make colored labels for his resistor collection. We’re struck with the idea of using test tubes to organize resistors. It’s cool and makes everything look all sciencey and stuff.

3D Graphics on an oscilloscope

Armed with four wingtip-mounted Sienar Fleet Systems L-s9.3 laser cannons and a SFS P-s5.6 twin ion engine, the TIE Interceptor has become the scourge of the Rebel fleet, nearly capable of out-running and out-maneuvering the beloved A-wings of Nomad Squadron. Because of [Matt]’s tireless work, we can now visualize TIE Interceptors on approach with our targeting computers oscilloscopes.

[Matt]’s oscilloscope visualization of a TIE fighter is a huge improvement on previous scope displays we’ve seen, considering [Matt] used very minimal hardware to display 3D graphics. The build uses an ATMega88 along with a 10-bit DAC to draw lines on the screen. The capacious Mega88 with 8kB of flash and 1kB of SRAM was nearly filled to capacity with [Matt]’s project; to improve the rendering speed of the display, sine & cosine values are pre-computed and stored in flash along with division tables for common values.

The rotation of the TIE fighter is controlled by a serial connection to [Batt]’s desktop. It’s a very impressive piece of work that looks like it would fit into the cinematic aesthetic of The Empire Strikes Back. Check out [Matt]’s video of the TIE rotating in space after the break.

[Read more…]

Reverse engineering an oscilloscope circumvents vendor crippleware

oscope-reverse-engineering

The crew over at the Hungarian Autonomous Center for Knowledge (H.A.C.K.) say they aren’t the most well-funded organization out there, so they were stoked when they found they could afford to bring a slightly used UNI-T UT2025B digital oscilloscope into the shop. As they started to tinker with it, the scope revealed one major shortcoming – screenshots were only accessible via a USB connection to a Windows computer.

Since they didn’t have any Windows boxes in house, [András Veres-Szentkirályi] decided he would try reverse-engineering the protocol so they could get access to this useful feature.

He set up a Windows VM, and using Wireshark on the host Linux box, [András] sniffed the data passing over the scope’s USB interface. He was able to identify what looked like image packets being sent to the VM, which he was able to decode using a small Python script. The resultant images were monochrome and they didn’t look quite right, but it was a start. As he dug further [András] found that he was overlooking some of the color data packed into the images, and after a bit of fiddling he got the sharp, colorful image you see above.

It turns out that while the scope has a monochrome LCD, it sends 16-bit color images over the USB interface – images that the Windows’ client degrades before displaying them on the screen. So in the end, he was not only able to get the scope working on any OS with the ability to run Python, he was able to grab far better images than the manufacturer ever intended – A very nice hack if we do say so.

Be sure to swing by the H.A.C.K. wiki as well as the project’s github repository if you have one of these scopes and are looking to wring some better images out of the hardware.