Upgrading Rigol’s More Expensive Oscilloscopes

[mosaicmerc] over on hackaday.io has upgraded his Rigol DS2072A oscilloscope to a DS2302A, turning an $800 oscilloscope into one that sells for $2500, with all the bandwidth, storage depth, and options of the more expensive model.

Rigol o-scopes have a long and storied history of unlocking, hacking, and upgrading. The original hack that put Rigol on the map was the DS1052E upgrade that turned a 50MHz scope into a 100MHz scope. The latest low-end Rigol scope, the 1054Z can be unlocked in software to become an 1104Z with 100MHz of bandwidth, SPI, I2C, and RS232 decoders, twice the storage depth, and more triggers. It appears Rigol’s engineers are designing their products to capitalize on the hacker’s proclivity to buy their tools to get the ‘free’ upgrade. This, of course, sounds just slightly insane, but no one seems to mind.

The process of upgrading the Rigol DS2072A scope is documented over on the EEVBlog, and requires only a USB cable and a computer with the Labview Runtime Engine installed. It’s literally as simple as pressing a few buttons; a far cry from the previous keygen method that was also engineered over on the EEVBlog.

An Improvement To Floating Point Numbers

On February 25, 1991, during the eve of the of an Iraqi invasion of Saudi Arabia, a Scud missile fired from Iraqi positions hit a US Army barracks in Dhahran, Saudi Arabia. A defense was available – Patriot missiles had intercepted Iraqi Scuds earlier in the year, but not on this day.

The computer controlling the Patriot missile in Dhahran had been operating for over 100 hours when it was launched. The internal clock of this computer was multiplied by 1/10th, and then shoved into a 24-bit register. The binary representation of 1/10th is non-terminating, and after chopping this down to 24 bits, a small error was introduced. This error increased slightly every second, and after 100 hours, the system clock of the Patriot missile system was 0.34 seconds off.

A Scud missile travels at about 1,600 meters per second. In one third of a second, it travels half a kilometer, and well outside the “range gate” that the Patriot tracked. On February 25, 1991, a Patriot missile would fail to intercept a Scud launched at a US Army barracks, killing 28 and wounding 100 others. It was the first time a floating point error had killed a person, and it certainly won’t be the last.

Continue reading “An Improvement To Floating Point Numbers”

Arduino.cc Expands European Manufacturing

Maker Faire Rome is over, and that means it’s time for the Arduino media blitz. Arduino has already had a big announcement this week with the introduction of the Arduino / Genuino 101 board powered by the Intel Curie module. Team .cc hasn’t forgotten all their Atmel-powered boards though. The latest news is that Arduinos will be manufactured in Germany by Watterott Electronics (.de, Google Translate).

Right now, Arduino.cc boards are manufactured in China by Seeed, and in the US by Adafruit and Sparkfun. Watterott Electronics is one of the premier hobby electronics distributors in Germany.

Boards made by Watterott will carry the Genuino mark; Arduino.cc seems to anticipate a loss in the Arduino vs. Arduino trademark dispute outside the US. All boards produced under license from Arduino.cc sold outside the US will carry the Genuino trademark, whereas boards produced for the US market will carry the Arduino trademark. Interestingly, this Arduino vs. Arduino split began with a former manufacturer, with a maelstrom of pettiness stemming from that trademark dispute. In any case, the licensing for boards manufactured by Watterott is most assuredly worked out by now. The new manufacturing partner guarantees a greater supply of Arduinos for all.

Upgrade Your Computer The 1985 Way

Today when you want to upgrade your computer you slap in a card, back in the early 80’s things were not always as simple.  When [Carsten] was digging around the house he found his old, and heavily modified Rockwell AIM 65 single board computer, flipped the switch and the primitive 6502 machine popped to life.

Added to the computer was a pile of wires and PCB’s in order to expand the RAM, the I/O to form a “crate bus” and of course tons of LED blinkenlights! On that bus a few cards were installed, including a decoder board to handle all the slots, a monitor controller, a massive GPIO card, and even a universal EEPROM programmer.

If that was not enough there was even a OS upgrade from the standard issue BASIC, to a dual-boot BASIC and FORTH. Though again unlike today where upgrading your OS requires a button click and a reboot, making all these upgrades are planned out on paper, which were scanned for any retro computer buff to pour through.

[Carsten] posted a video of this computer loading the CRT initilization program from a cassette. You can watch, but shouldn’t listen to that video here.

Bluetooth Thermometer Minds Your Meats

The summer may have come to a close here in the USA, but any time of the year is a good time for grilling. In the colder weather, it’s a drag to have to stay near the hot grill to keep an eye on your burgers and franks. [Eric Ely] thought it would be smarter to have a meat thermometer that sent his phone the current reading via Bluetooth.

Instead of starting from scratch, [Eric] took an off the shelf electronic thermometer and removed its temperature probe (which was a thermistor). The hardware used an off the shelf Bluetooth board with a companion battery board and prototype board. If you can’t bear to cut up a good thermometer, you can get replacement probes that ought to work just as well.

In addition to the boards and the scavenged thermistor, [Eric] used a couple of resistors. One resistor is in parallel with the thermistor to improve the linearity of the device’s response curve. The second resistor forms a voltage divider that the Bluetooth board reads.

The software (using Node.js and C) is available on Github. The C program reads the temperature and pushes it out using JSON. Node.js provides a server that [Eric] can hit with his phone’s Web browser.

Sure, you can buy wireless thermometers, but what self-respecting hacker wants to carry around a store-bought box just to display meat temperature? Viewing it on your phone has much more street cred.  Of course, a real hacker isn’t going to cook on a conventional grill, either.

Continue reading “Bluetooth Thermometer Minds Your Meats”

Laser Rangefinder Brought To Life With Arduino

Range finders are amazing tools for doing pretty much anything involving distance calculations. Want to blink some lights when people are nearby? There’s a rangefinder for that. Need to tell how far away the next peak of a mountain range is? There’s a rangefinder for that. But if you’re new to range finders and want one that’s hackable and configurable, look no further than the SF02/F rangefinder with the Arduino shield, and [Laser Developer]’s dive into what this pair can do.

Once the rangefinder and shield have been paired is when the magic really starts to happen. Using USB, the Arduino can instantly report a huge amount of raw data coming from the rangefinder. From there, [Laser Developer] shows us how to put the device into a “settings” mode which expands the capabilities of the rangefinder even more. The data can be dumped into a graph, for example, which can show trends between distance, laser strength, and many other data sets. [Laser Developer] goes one step further and demonstrates how to use this to calculate the speed of light, but from there pretty much anything else is possible as well.

And while you can just buy a rangefinder off the shelf, they are fairly limiting in their features and can cost exponentially more. This is a great start into using a tool like this, especially if you need specific data or have a unique application. But, if laser range finding isn’t for you or if this project is too expensive, maybe this $5 ultrasonic rangefinder will work better for your application.

Teach An ATTiny 85 To Swear

Let’s be honest here: one of the first things we all did when we came across speech synthesizers like the Speak-n-spell was to try swear words. [Alec Smecher] has taken this to heart, building a simple buzzer mechanism driven by an ATTiny 85 that swears repeatedly when you connect it. It is a rather simple project (or, as [Alec] himself says, it is “a satisfyingly minimalist build”), but it is quite nicely done.

The 8kHz speech sample (taken from Google Translate) is stored in the code, and written out to one of the PWM outputs of the ATTiny85 from a timing loop to directly drive the small speaker. So, all that is needed is the buzzer case, a small speaker, the ATTiny85, a power source and a few bits of wire. It’s a great example of a minimalist design: the ATTiny85 can just about drive the speaker directly, and can be run directly from batteries without requiring a power controller. Sometimes it pays to keep things simple, especially when it comes to swearing. 

Continue reading “Teach An ATTiny 85 To Swear”