Feb 24

iPhone stereo line-in to mic Adapter

iphone stereo-to-mic schematic

Recently, as part of an iPhone development project I’ve been working on with the Institute of Zoology and Birkbeck, I had a need for an audio line in adapter so that we’d be able to record stereo audio from an audio sensor. The application tags audio data with GPS information as part of a citizen-scientist data collection project.

Strangely (or perhaps I didn’t dig around the interweb long enough) I didn’t find many resources for a home-brew line-in adapter and the ones I found were pretty vague and hard to follow. So Peter and I put our heads together and rolled our own. It’s a fairly straightforward circuit, but has a little twist, because the iPhone OS is smart enough to detect what’s plugged into the stereo jack. (The diagram above is a lot more clear than anything I found.) This particular project only required a left channel audio input to the monaural iPhone mic, but if you wanted to route both left and right channels to the mic, that’s represented by the dashed line.

The resistor+capacitor network provides a pull-up that the iPhone is looking for to detect whether you’ve got a standard stereo headset plugged in or whether you’ve got a microphone (i.e., iPhone) headset and can take a phone call with it. This particular circuit is tuned for the audio sensor we’ve been using, but is about the right spec for most audio recording purposes and works fine with the audio recording app that ships with the iPhone. The parts cost about £3 and I whipped one up in about 10 minutes!

iPhone Stereo to Mic Adaptor

Feb 01

SmartSockets

picture-11

I’m still marvelling at what you can do with SmartSockets, a 14 segment display driver for multi-segment display tubes like ZM1350s and in particular, B7971 grand-daddies. Enthusiasts such as John Taylor have created some really nice transition animations to demonstrate what you can do to add visual interest to clocks and other alphanumeric displays, like the four-letter word display. There’s also a SmartSockets group on Yahoo, which is an offshoot of the more popular NeoNixie group of which I’ve been a member  (lurker) for years. Traffic on SmartSockets is relatively low…for now.

Jan 02

Happy New Year!

Well, it’s 2010 and what a harsh decade it has been! To ring in the New Year on a positive note, I harvested an old edge-lit display mechanism from my stores and lit it up with a few LEDs and an Arduino. I used a simple pulse-width modulation (PWM) routine to do the fading. It’s not terribly exciting, but you can watch the video…

Nov 25

Spacehoppers are go!

Spacehopper Demo

Spacehopper Demo

I’ve been working with my colleagues on a project for SonyEricsson around the release of their latest mobile phones series (Satio and Aino). The project involves using twitter to inflate a warehouse full of spacehoppers on a live webcam. The hoppers will be “released in the wild” as part of the product launch, and tweeters can suggest what their fate should be. The whole system uses an Arduino-controlled solenoid array which takes its input from a Ruby script which is listening to the twitter streaming API. Tweets sent via the API are used to randomly inflate one of the 49 hoppers on the array. The hoppers, username and the tweet message are displayed via a live feed. Sony Ericsson have posted the “making-of” video on YouTube, and I found myself simplifying the technical details, yet again…

Nov 25

The Backchannel Beast

Just read Danah Boyd’s excellent blog post on the twitter “backchannel” phenomenon and the difficulty it presents for speakers who are placed in a very awkward position. Her extremely negative experience at Web2.0 Expo illustrates how difficult it is for public speakers to cope with live (and often unmoderated) twitterstreams onstage behind them. The shift in the structure of this social discourse does not offer anything of significant benefit for either the speaker or the audience. Danah’s experience captures it better than I can and for the full scoop, head on over to her blog and read about it.  I, for one, certainly hope this is not the future of public speaking. And I’m no luddite!

Sep 13

BCS-HCI Highlights

The British Computer Society’s Annual conference on Human-Computer Interaction was held in Cambridge last week and I popped round to present a paper on using sketching as a design technique to improve collaborative design activity, enhance creativity, and generally help the design process. This is an approach we foster at Tinker.it! and we try to actively engage with our clients in this kind of collaborative idea generation.

Highlights of the conference were the Keynote addresses and a few interesting papers on tangible interaction (though these were old news by now). In the opening Keynote, Prof Anthony Dunne, Head of Design Interaction at the Royal College of Art presented several interactive student projects and generally perplexed the audience, many of whom are not used to thinking about interaction design from a designer’s perspective – a couple of the audience questions could be summed up as “What’s the point?” The Formal Methods (see wikipedia) guys had a field day.

UI demigod Bill Buxton presented a stimulating closing keynote which showed examples of user interfaces from days gone by, like a touchscreen interactive mobile phone from 1991(!) – no web access though, since that was BEFORE THE INTERNET. Remember that?? He suggested that we can get a lot of great interaction design ideas and bootstrap design by looking at what’s gone before. And he made a good case for studying your interaction design history books – yeah, they don’t exist. In fact, at Tinker.it! we’re currently working on a really cool retro-80’s project with some pretty novel and old user interfaces. The results will be at the BFI this weekend, so stay tuned.

Aug 21

More, like, Simile

The clever coders over at the Simile Project (MIT) have released a new tool called “Exhibit” for visualizing and enabling dynamic interaction with data. And it’s easier to use! Like their Timeline widget, which I used to time plot the references in my dissertation, you only need basic HTML skills and some data to look at and it is relatively easy to code something up. Simple examples and the required files to roll-your-own data visualziations are provided on their Simile Widgets website. Nice.

Aug 19

LD271, meet Index Finger

Sometimes, the ideal little package comes along and you don’t have to do all the hard work fabricating a physical user interace. While working on the Spot-On project at LKL, I found a very nify little “finger torch” that solves the problem of powering up an LED in a small form factor. This little guy’s is perfect for retrofitting with an LD271 infrared emitter, for Wiimote hacking, IR Motion tracking, and generally mucking about moving around infrared sources, for you Johnny Lee fans. This package combines 3 button cells, a switch and an LED into a tight little case with a hook-and-loop strap. Not sure if it’s emitting continuously or in pulses (PWM) but there’s a microcontroller under that resin blob (pic 2), so it seems likely. A little de/re-soldering and, you’ve got yourself a perfect finger-mounted IR pointer!

Older posts «

» Newer posts