PDA

View Full Version : Controlling an LED matrix with an Android phone



wraggster
January 23rd, 2012, 22:46
http://hackadaycom.files.wordpress.com/2012/01/panel.jpg
Even though everyone with a smart phone has a small, powerful computer in their pocket, we haven’t seen many applications of this portable processing power that use the built-in camera. [Michael] decided to change this and built an LED matrix (http://nootropicdesign.com/projectlab/2012/01/22/displaying-android-video-on-led-matrix/) that displays the data coming from the phone’s camera.
For the build, [Michael] used two 32×32 LED panels (http://www.adafruit.com/products/607) from Adafruit along with an IOIO (http://ytai-mer.blogspot.com/2011/04/meet-ioio-io-for-android.html)and an Arduino. To build the Android app, [Michael] used the Android OpenCV computer vision library (http://opencv.willowgarage.com/wiki/Android) that grabs an image from the Android camera and downsamples it to 64×32 pixels. This data is transferred over a serial connection from the phone to the IOIO and again from the IOIO to the Arduino. Even though each frame is 1024 bytes, [Michael] still gets around four frames per second on his LED matrix display.
After the break you can check out the results of [Michael]‘s build. The video is a little choppy because of the frame rate issue, but it’s still an interesting build in the Android software development category.

http://hackaday.com/2012/01/23/controlling-an-led-matrix-with-an-android-phone/