Robot plays Rock Band on an iPhone
Here’s one to brighten up a Monday morning – it is described as an Arduino-based robot that plays Rock Band on an iPhone, its little arms hitting the drums on the display in time to the music (Blondie’s Hanging On Telephone, in this case).
I think ‘robot’ may be stretching it, but the machine is quite neat, involving synthetic fingers (to work with the iPhone’s capacitive touch screen, which is apparently expecting “a finger sized touch, from living flesh”), ambient light sensors and a Pelican case…
You can read more about it on the inventor’s blog, where the code is also available for download. Joe Bowers writes:
Light sensors are used to read the falling notes, I’m using ambient light sensors from Sparkfun. They are small and easy to setup. (The iphone brightness has to be set to Max)
The light sensor sends data to an Arduino, which is waiting for a spike in the data. This means something bright has passed in front of the sensor. I’m using an Arduino Mega, which is overkill for this project, but it does look really cool with those WingShields on it.
You know, though, I thought it was slightly out of time, and Joe explains:
The performance of this robot increases with the correct positioning of the servos, and the distance you set them to move in the code. You may notice in my video that the right most servo had a hard time hitting its notes, it’s been glued too far south of the note position, something I may correct later. I think it would be cool to package all of this together as a portable unit, with an Mini Arduino running the show.
Thanks to BoingBoing for flagging this one.