Imaginary Life

When digital goes analogue

Something very appealing about novel analogue uses of smart phones.

For example, It takes about 20 minutes to build a microscope stand for your iPhone.

Or you can even use your iPhone in your own analogue photo enlarger to create a hybrid digital darkroom.

Then there are all the add-ons for analogue lovers, such as the Lumu, a tiny, portable light meter that plugs into the iPhone’s headphone jack to help get the shutter speed, aperture and ISO setting on an analog or digital camera.

And here is also something we’ve been meaning to post for a while, like  who did a nice write up on how to build an Arduino-powered interface to get data from any real-world, analog sensor into an iOS device using the mic pin on the 1/8-inch headphone jack. Truly mind-boggling when you think about the possibilities of grass roots driven big data, which is something really worth thinking about.

If you don’t know anything about Arduino, look it up now. If you want to use Arduino to make a heart rate monitor, here is the code. Easier to download an existing app, but we think the code reads like Haiku poetry. *sigh*

#include <SoftModem.h>
#include <ctype.h>
SoftModem modem;
int ledPin = 13;
int heartPin = 4;
int heartState = LOW;
void setup () {
modem.begin();
}
void loop () {
heartState = digitalRead(heartPin);
if (heartState == LOW) {
// Do nothing...
} else {
// We have a heart beat:
char h = '1';
modem.write(h);
digitalWrite(ledPin, HIGH);
delay(100);
digitalWrite(ledPin, LOW);
}
}

 

 

 

Posted on . This entry was posted in Uncategorized