Morning, Goodnight

This is an early test of part of a project I’m working on for the Library of Lost Books, called PleaseReadMe.

This part of the project demonstrates collecting sensor data from an Arduino, passing it to an iPhone, and using an iPhone app to read and respond to that data.

Here, a light sensor attached to Arduino detects whether it’s light or dark, and transmits that information (via an XBee wireless network) to an iPhone. The iPhone takes the data from the Arduino and triggers one of two audio files – ‘Morning’ or ‘Goodnight’ – depending on whether it’s light or dark.

In this video, the light sensor is the small circular component in the bottom left hand side of the screen.

* Huge thanks to the brilliant people at @agantltd for iPhone app dev and @aallan for his awesome book: iOS Sensor Apps with Arduino: Wiring the iPhone and iPad into the Internet of Things.