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

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.

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…

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…

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!

Panorama theme by Themocracy