Cool open source hardware demos from OHS 2011

The Open Hardware Summit closed with an evening reception, with hors d’oeuvres tables tucked in amidst dozens of demos strewn around a large room at NYSCI. From an Ethernet-connected Arduino to a visual musical instrument, here are a few that caught my eye.

First up was the Nanode from Wicked Device. This board is an Arduino clone with built-in Ethernet. It would make a great platform for any control tasks that needed to interact with other Internet-enabled devices.

Nanode PCB Nanode concept slide

Right around the corner, an RC car was racing around the floor under the control of a subtly gesturing Jeremy Blum and his SudoGlove.

Jeremy Blum's SudoGlove SudoGlove explanatory slide

This curious device is titled “EaTheremin”. The forks had circuitry concealed inside the conductive handles. When one ate with them, current flowed from tines to handle via the diner’s body, causing a variable pitch to be emitted by a nearby speaker. I have to admit that I don’t quite get it, but I can appreciate the creativity of the EaTheremin’s inventor.

EaTheremin

LittleBits had a table with their long-awaited magnetic circuit construction toy. The idea is to connect a series of small circuit boards to build interesting circuits. The boards hold themselves together with magnets, and keying in the plastic fittings at each end mean that incompatible components cannot connect to each other.  LittleBits founder Ayah Bdeir is one of the OHS organizers.

littleBits boards littleBits in use

The Learning Pet is a cute robot that augments educational games for children, developed by Erin Kennedy, better known as robotgrrl. The Pet can pivot, flap its wings, and change its expression in synchrony with events in a computer game.

Finally, Ryan Raffa’s RhythmSynthesis musical instrument was always surrounded by a crowd. By placing colored geometric shapes on the lightbox, one can compose repeating rhythm tracks. The color of each shape sets the pitch, the area selects the octave, and the outline, position, and possibly the rotation of the shape change other aspects of the sound. The sounds from each shape are played as if by an old-fashioned radar beam sweeping out a circle under the light table. Ryan developed RhythmSynthesis for his MFA in Design Technology, so plenty of details are in his thesis paper.

OHS attendees enjoying RhythmSynthesis Ryan Raffa demonstrating RhythmSynthesis

Here is a video of RhythmSynthesis in action, from the RhythmSynthesis web site:

These are but a few of the many tables at the reception, all with abundant creativity.

Open Hardware Summit 2011

Last week I took a trip to New York to attend the Open Hardware Summit. The talks were outstanding, and it was great to be in a crowd of extraordinarily creative people. While the open hardware world has its share of engineers, both amateur and professional, it also has artists, which makes for some interesting fusion.

Furthermore, the presentation skills of the speakers ranged from good to outstanding. It was a pleasant shock to watch one excellent talk after another. I must have been lulled into complacency by having seen too many boring talks at scientific conferences.

The Summit was held at the New York Hall of Science, which two days later hosted Maker Faire. As I walked down the street from the train station to the museum, I knew I was getting close when I saw these over the trees. That’s a Mercury and a Gemini capsule perched high on their boosters.

Rockets at the New York Hall of Science

Why the Hall of Science, one might ask? Eric Siegel, the Director and Chief Content Officer, welcomed us to the conference by explaining that NYSCI is about getting people interested in science, and he sees the open hardware movement as doing the same.

The keynote talk was from 4/5 of the Arduino team, who were entertaining and engaging speakers. A few memorable quips:

  • (When starting an open hardware business) “Hire a lawyer. You don’t know why but she does.”
  • “If you have a company with 5 people in 3 countries, you are a multinational corporation.”
  • (On the popularity of names ending in -duino) “We named the Arduino after our favorite bar. … The worst one was one morning when I found in my e-mail an announcement of a board called “Sanguino”. If you get the accents right, in Italian, that means ‘I am bleeding’.”

Bunnie Huang (of Chumby fame) gave a great talk on the end of Moore’s Law and what he sees as the future of open hardware. Moore’s law drives a very short market cycle for new designs, which means that by the time an individual hacker can build something interesting, it has been obsoleted by products from big corporations. In places like Shenzhen, though, the use of trailing-edge technology means small shops can innovate and still be competitive. Once Moore’s law runs into fundamental physical limits, Bunnie believes market cycles will slow and small innovators participating in the open hardware world will be able to compete more and more effectively with the big guys.

Bunnie was the first presenter to use his own hardware on stage.  He funneled his presentation through NeTV, an HDCP video overlay board. Bunnie had it set up so that people in the audience could text or tweet messages, in real time, to a scrolling banner at the top of his slides.

At lunch, OpenROV‘s Eric Stackpole and David Lang took up a strategic position next to the catering line with some of their underwater robots.

Open-source underwater robots

After lunch were more great talks. Surprising to me was the talk by Bruce Perens, the founder of the Open Source Initiative and one of the key players in the emergence of the widely-used open source software licenses used today. I thought he would have something to say about hardware licensing, but instead he talked about the ham radio satellites and what AMSAT and TAPR have done to develop and release open-source hardware designs.

James Bowman followed up with a great talk about the Gameduino, a board that can be used to play video games with an Arduino or other small microcontroller. His talk was about the development of Gameduino, which went from Kickstarter to a shipping product in three months. More than demonstrate his product, James used it as the sole device for presenting all of his slides. Here’s a Gameduino, as seen on a Gameduino:

The Gameduino uses James’s impressive J1 Forth CPU as part of its hardware. The J1 is on my list of things to try out.

Bryan Newbold gave an insightful talk about the economics of small-quantity price breaks. Being at Octopart, Bryan has access to a massive component price database, which he used to illustrate a number of points about small-run manufacturing, as is typical for an open source hardware startup. One of his most striking slides was this, which illustrates the effects of the hidden costs of various funding sources. In order to get the same cost per unit if selling 175 units with cash funding, a startup might have to sell 5000 units with Kickstarter funding. That’s a sizeable difference, and it’s caused by the interaction of quantity price breaks with the direct and indirect costs of various sources of funding.

Chart

Mitch Altman brought the plenary session to a close with a talk about his experiences turning the TV-B-Gone into a product. Mitch is an outstanding and entertaining speaker. One of his gems: “Hi, I’m Mitch Altman. I turn off TV’s for a living, and I LOVE MY JOB.”

The day finished with cocktails and demos from dozens of hackers and makers. I’ll have more on the creative things I saw there in my next post.

Want to share your thoughts about open source hardware? Were you at OHS? Comments are welcome!

Choosing a high-performance audio ADC

As I discussed two weeks ago, it is time to refocus my efforts on the DSP-based ham radio project that started this blog. Let’s take a look at the architecture I had in mind originally:

Block diagram of a near-zero IF receiver with I and Q paths

This is a popular topology for radios that put their intermediate frequency at or near 0 Hz. It is also very similar to the most popular ham software-defined radio topology. In fact, those ham SDRs simply substitute a PC sound card for the ADC and the PC’s CPU for the FPGA. Here, though, I don’t want to bring a PC into the picture yet. Radios that require a PC don’t feel like “real radios” to me. I want to end up with a self-contained box, though I won’t mind if it optionally integrates with a PC.

For simplicity, I want to implement the receiver’s automatic gain control (AGC) functional digitally, after the ADCs. This means that with a well-designed front end, the ADC dynamic range will become the radio’s dynamic range.

With that in mind, I went looking for the best dynamic range audio ADC I could find, or at least the best one I could afford. I have identified seven manufacturers of 24-bit audio ADCs. Here is the best that they have:

Part SNR, A-weighted THD+N Package Price
TI PCM4222 123 dB -108 dB TQFP-48 $29.99 D*
TI PCM4220 123 dB -108 dB TQFP-48 $19.10 M
AKM AK5388 123 dB (Note 1) -110 dB LQFP-44 $10.93 D
AKM AK5394A 123 dB -110 dB SOP-28 $22.00 D
Cirrus CS5381 120 dB -110 dB SOIC-24, TSSOP-24 $32.22 D/M
Wolfson WM8786 111 dB -102 dB SSOP-20 $3.48 M
ADI AD1974 105 dB -96 dB LQFP-48 $10.03 D
NXP UDA1361 100 dB -88 dB SSOP-16 $1.37 M
Notes: 

Figures are typical values as shown in the manufacturer’s data sheet. All are for two channels active and 24-bit PCM output. Prices are quantity 1 from the cheaper of Digi-Key or Mouser.

1. The AK5388 is a four-channel ADC with 120 dB SNR. The 123 dB SNR requires the use of “mono mode”, which connects each stereo pair in parallel with a single input, effectively creating a two-channel ADC with 3 dB better SNR.

* Non-stock item, but a limited number of units are currently in stock.

The AK5388 looks like the price/performance winner, at $10.93 for 123 dB SNR and the best THD+N. One catch is figuring out the mono mode, which didn’t have crystal-clear documentation in the data sheet. On the other hand, even in four-channel mode it has 120 dB SNR, which still puts it at an excellent price/performance point.

Lurking in the SNR specification is A-weighting, which is a specification used for audio that isn’t much seen in the measurement world. The idea behind A-weighting is to reflect the human ear’s varying perception of noise at different frequencies by doing a weighted sum of the noise in the SNR measurement. Thus, frequencies where noise is more audible count worse than frequencies where it isn’t. A-weighting is not quite the right measurement for a near-zero IF ADC, first because a communications receiver’s bandwidth is quite a bit smaller than the 20 kHz used for the A-weighted measurement, and second because the communications signal being digitized is not necessarily at its final audible frequency yet.

I used A-weighting for the comparison because all of the ADCs were specified that way. Some of them also had an SNR in 20 kHz bandwidth specification, which does not weight the noise spectrum. For those ADCs, the 20 kHz SNR was 3 dB lower than the A-weighted SNR. , I decided to compare the A-weighted SNR to put the ADCs on equal ground, even though the 20 kHz bandwidth SNR is closer to what I would like to know for a communications receiver.

It’s worth mentioning that I looked at precision ADCs as well. I couldn’t find any 24-bit precision ADCs from Analog Devices or Linear Technologies that had a high-enough sample rate to be usable. In contrast, TI offers the single-channel ADS1281 and ADS1282, which offer a stunning 130 dB SNR (unweighted) at 250 samples per second. These might be reasonable for a Morse code receiver with a 100 Hz passband. When used for sideband, these ADCs would have to be operated in their 4000 SPS mode, at which their SNR drops to 118 dB. When one considers that filtering the output of the audio ADCs down to 100 Hz would provide an extra 6+ dB of SNR (because less bandwidth means less noise power), the ADS1281/1282 no longer has such an advantage. Worse, a pair of ADS1281 (two are needed because they are single-channel) will set you back $108 at Digi-Key.

In the end, I’ve found a combination of excellent performance and a good price. The AK5388 it is. The next step is to build or buy a board for it so I can start experimenting.