oscope-reverse-engineering

Reverse Engineering An Oscilloscope Circumvents Vendor Crippleware

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.

SpeechJammer Puts An End To Annoying Speakers

If you’ve ever had to deal with people disturbing your peace and quiet by yammering on with their cell phones, you might be interested in the SpeechJammer.

The idea behind the SpeechJammer is fairly simple: It’s very hard to speak if your words are recorded and played back to you a fraction of a second later. This is a real psychological phenomenon known as delayed audio feedback that also has a beneficial effect on stuttering.

According to the researcher’s writeup (PDF warning), the SpeechJammer works by measuring the distance to the ‘target’ with an ultrasonic distance sensor and records the speaker’s voice with a shotgun mic. The recording of the spearker’s voice is delayed for about a fifth of a second and then played on a speaker on the front of the gun.

The researchers tested two conditions: ‘reading news aloud’ and a ”spontaneous monologue.’ Subjects who were reading news aloud had their speech jammed more often than those with the monologue, but the results look fairly promising. There’s only one video of the SpeechJammer in action (available after the break), so we’d like to see a few Hackaday readers build their own ‘shut up gun’ and send in a demo with an annoying talker to validate the results.

Continue reading “SpeechJammer Puts An End To Annoying Speakers”

DyIO Is A Huge Robotics Development Board

[Kevin] wrote in to tell us about the robotics development platform he’s been working on for the last few years. He calls his device the DyIO, and looks like an extremely easy way to get a robot up and running quickly.

Because the DyIO stands for Dynamic Input & Output, [Kevin] thought it was important to put 24 separate IO pins in his build. These pins can serve as 24 digital inputs or outputs, a few analog inputs and PWM outs, or even DC motor controls.

What’s really interesting is the SDK that [Kevin] and his team chose to build. With this SDK, you can program the DyIO in Java or just about any other language you would want. Already, [Kevin] and his team have built a few interesting projects around the DyIO, like a hexapod robot and animatronic pokemon. While we’re sure something awesome beyond imagination is waiting to be built with the DyIO platform, you can check out these already-completed builds after the break.

Continue reading “DyIO Is A Huge Robotics Development Board”

Using The Parallel Port As A Logic Sniffer

[Fernando] wrote in to share his take on building a logic analyzer. He’s using the parallel port to capture data and feed it to the display software of your choice.

The method depends on a custom kernel which alters the way the parallel port works. The kernel he compiled includes a method of intercepting the signals coming in from the hardware, passing that data to the /dev/parport* as it should, but also sending a copy to /dev/parportsnif*. It also creates a log file which is in the OpenBench Logic Sniffer format for easy use with various display software.

Of course this is easiest to use with a Linux system, but can also be run as a virtual machine under Windows. We’d plan on using a virtual machine within Linux as well since this is a custom kernel and will probably only see occasional use.

Another Take On Using ‘dead’ Batteries

Here’s another circuit that can be used to squeeze the remaining potential from supposedly dead batteries. Just like the AASaver, we see this as a useful prototyping tool, providing juice for a breadboard even though it’s not reliable enough for long-term use (the batteries are just about through after all).

First off, the image above shows rechargeables instead of alkalines. We don’t recommend this as the circuit has no cutoff feature and the 0.7V input for the boost converter surely is below the recommended low-voltage limit for those cells. But that aside, we like the diminutive board which solders onto the end of a battery pack. It uses an SC120SKTRT which is a variable boost regulator capable of outputting 1.8-5V depending on resistor choices. You can leave the resistors off and it will default to 3.3V, set the output explicitly, or roll in some potentiometers and use your multimeter to tune the output.

This regulator costs more than the MCP1640 used in the AASaver, but it appears to use less passive components making for a smaller footprint. At a total of $3.50 plus the PCB (which will be a snap to etch at home) this is another great option to top off your next parts order.

[Thanks Uwe]

Squeezing The Juice Out Of Some AA Batteries

[Ray’s] breadboard power supply lets you drain the last traces of power from ‘dead’ AA batteries. Electronics that are powered off of disposable alkaline batteries have a cutoff voltage that usually leaves a fair amount of potential within. Since many municipal recycling programs don’t take the disposables (you’re just supposed to throw them in the trash!) we love the idea of squeezing them for prototyping use.

His design uses just one IC, the MCP1640, along with a handful of passive components. The chip is a boost converter with a startup voltage of just 0.65V, which means the batteries themselves – normally starting life above 1.5V – can be used until they drop to about 0.3V each.

Above you can see the kit he is selling. But it’s an open source project and the circuit is so simple we’re sure you can build your own. Add that boost converter chip to your next parts order for around $0.40.

[Ray] made a nice demo video for the device which you can see embedded after the break.

Continue reading “Squeezing The Juice Out Of Some AA Batteries”

Cheap And Easy Logic Signal Generator

While function generators or analog signal generators are ubiquitous in their utility, we haven’t seen much of logic function generators on Hack a Day. Luckily, [Dilshan] sent in a really neat 8-channel signal injector that is amazingly simple to build and comes with a great front end for editing patterns from your computer.

The hardware portion of the build is kept to a minimum with a PIC18F chip, USB socket, and header pins as the only major components. This board serves as the hardware output for the Kidogo software. This software provides a very nice interface to generate 5 volt logic signals on eight separate channels that will immensely help exploring your digital world.

With a great interface and very easy to build hardware, we can easily see the Kidogo hardware finding its way onto workbenches around the world. We’re tempted to build our own version using an AVR, but we would hate to ruin such a simple but useful tool.