Control Android with a projector and Kinect

posted Jan 25th 2012 10:01am by
filed under: android hacks, Kinect hacks

If you’re going to build a giant touch screen, why not use an OS that is designed for touch interfaces, like Android? [Colin] had the same idea, so he connected his phone to a projector and a Kinect.

Video is carried from [Colin]‘s Galaxy Nexus to the projector via an MHL connection. Getting the Kinect to work was a little more challenging, though. The Kinect is connected to a PC running Simple Kinect Touch. The PC converts the data from the Kinect into TUIO commands that are received using TUIO for Android.

In order for the TUIO commands to be recognized as user input, [Colin] had to compile his own version of Android. It was a lot of work, but using an OS designed for touch interface seems much better than all the other touch screen hacks that start from the ground up.

You can check out [Colin]‘s demo after the break. Sadly, there are no Angry Birds.

Read the rest of this entry »

Remote entry via Android and Launchpad

posted Jan 24th 2012 9:01am by
filed under: android hacks, home hacks

[MarkoeZ] had an issue with keys breaking off in his door lock, and while normal people might try to simply replace the lock all together, [MarkoeZ] decided to do it the “Hackaday” way by adding a bluetooth lock to his door. His door is already setup where someone can walk up to it, page an internal intercom and have someone buzz you in. From the inside the intercom was modded with a TI Launchpad with a “deal extreme” bluetooth module and relay.

Access is granted by the use of an android phone running “BT_Serial_Tester” which is a simple app that allows you to send characters over bluetooth. Just enter a pin, grab the door before the buzzer times out, and you’re in! A starting point for the MSP code and schematics are available on his blog. Join us after the break for a quick demonstration video.

Read the rest of this entry »




Controlling an LED matrix with an Android phone

posted Jan 23rd 2012 10:01am by
filed under: android hacks, Software Development

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 that displays the data coming from the phone’s camera.

For the build, [Michael] used two 32×32 LED panels from Adafruit along with an IOIO and an Arduino. To build the Android app, [Michael] used the Android OpenCV computer vision library 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.

Read the rest of this entry »

Controlling a cute Ikea night light with Android on the cheap

posted Jan 19th 2012 9:01am by
filed under: android hacks, led hacks

When [trandi]‘s wife saw a cute night light at Ikea, she had to have it. She actually bought several of these for when her husband would inevitably crack one open and start tinkering with the microcontroller inside. The inevitable hack is pretty cool, and also gives us some ideas for interfacing with Android on the cheap.

The build started as an Ikea Spoka night light, an adorable anthropomorphized night light with a squishy silicone skin. Inside the Spoka are a dozen tri-color LEDs that [trandi] can cycle through with the push of a button. After deciding to control the lights inside the Spoka with an Android phone he reached for an IOIO Android breakout board. Fate intervened and [trandi] ended up with a ridiculously cheap Bluetooth modules that provides a simple serial connection to other Bluetooth devices.

The build reuses the blue, red, orange LEDs in the night light but replaces the no-name 8-pin micro with an ATtiny2313. [Trandi] wrote a small Android app to control the color over a Bluetooth serial connection. Check out his demo after the break.

Read the rest of this entry »

Turn your camera phone into a Geiger counter

posted Jan 15th 2012 3:25pm by
filed under: android hacks, digital cameras hacks

Next time you’re waiting in the security line in an airport, why don’t you pull out your smartphone and count all the radiation being emitted by those body scanners and x-rays? There’s an app for that, courtesy of Mr. [Rolf-Dieter Klein].

The app works by blocking all the light coming into a phone’s camera sensor with a piece of tape or plastic. Because high energy radiation will cause artifacts on the CMOS camera sensor inside the phone, radiation will be captured as tiny specks of white light. The title picture for this post was taken from a camera phone at the Helmholtz Research Center in Munich being bathed in 10 Sieverts per hour of Gamma radiation from the decay of Cesium-137.

We have to note that blips of ‘bad data’ from a CMOS camera sensor aren’t unusual. These can come from electrical weirdness in the sensor itself or even the heat from the battery. [Rolf]‘s app takes a reading of the noise floor and subtracts it from the counter. Radioactive decay resulting in Beta particles such as the Potassium-40 in bananas or the Uranium in granite counter tops don’t really register, although [Rolf] did have some success with Potassium chloride and a long measurement time. Still though, it’s a really cool way to turn a phone into a tricorder.

Read the rest of this entry »




Phone-controlled light display is simple and fun

posted Dec 28th 2011 9:14am by
filed under: android hacks, led hacks

android-phone-light-toy

[Ytai Ben-Tsvi] wrote in to share a little holiday project that he and friend [Al Linke] put together, a dynamic light display that takes its cues from his Android-powered smartphone.

The display fits in a vase that sits in [Ytai’s] family room, and while it wasn’t exactly cheap to build, it sure looks nice. The vase is full of feathery decorative bits which help hide an addressable RGB LED strip. The lights are controlled by an IOIO board which the pair tucked away inside the vase as well.

The IOIO board was also fitted with a USB Bluetooth dongle, allowing it to communicate with just about any handset running a relatively recent flavor of the Android OS. When connected, the phone samples its surroundings with the onboard camera, commanding the vase to mix the colors seen by the phone into its twinkling display.

As you can see in the video below it works pretty well when used with solid, brightly colored objects. While just a fun toy in its current form, [Ytai] and [Al] have more than a few ideas on how to expand its usability.

Read the rest of this entry »

Rooting a Motorola Actv (Android wristwatch)

posted Dec 27th 2011 9:01am by
filed under: android hacks, linux hacks, security hacks

[Chris'] family made the mistake of giving him a hackable Christmas gift. We’d bet they didn’t see much of him for the rest of the day as he set about rooting this Android wristwatch.

This thing has some pretty powerful hardware under the hood. It’s sporting an OMAP3 processor running at 600 MHz along with 256 MB of RAM. [Chris] needed to get his hands on a firmware image in order to look for security holes. He found a way to spoof the update application in order to intercept an upgrade image from the Internet.

He dumped the firmware locations and got to work searching for a way to exploit the device. Details are a bit scarce about want exactly he did, but you can download his modified image, letting you root your own Motorola Actv using the Android Debug Bridge.

We’ve embedded a demo video after the break. The OS is pretty snappy on the tiny device. We’re not sure what will come of this functionality, but we assume [Chris] was really only interested in the challenge of rooting process itself.

Read the rest of this entry »

Reverse engineering Bluetooth using Android and SPOT as an example

posted Dec 5th 2011 12:13pm by
filed under: android hacks, wireless hacks

[Travis Goodspeed] wrote in to tell us about his work reverse engineering the Bluetooth communications on this SPOT module. He’s targeted the post as a general guide to sniffing Bluetooth transmissions, but was inspired to use the SPOT as an example after seeing this other SPOT hack. We know he’s a fan of getting things to work with his Nokia N900, and that’s exactly where he ended up with the project.

This module was manufactured to be controlled by an Android phone. But there’s no control app available for the Nokia handset. Since Android uses the open-source Bluez package for the Bluetooth protocol, it’s actually pretty easy to get your hands on the packets. After grabbing a few test sets he shows how he deciphered the packets, then wrote a quick Python script to test out his findings. After working his way through the various commands available (grabbing the SPOT serial number, getting position data from it, etc) [Travis] wrote up a frontend in QT mobility for use on the N900.




Hack a Day serves up fresh hacks each day, every day from around the web as well as hacking related news.

Send us your hacks










     




Hacks

Resources