Here’s an Android accessory project that adds a secondary LCD display. It utilizes the Android Open Accessory Development Kit standard to connect the 16×2 character LCD as a USB device. It pairs an app on the phone which runs transparently with firmware for the ATmega2560-based Arduino compatible board you see to the left. The app launches as soon as the auxiliary hardware is connected and is responsible for determining which lines of text are pushed out to the LCD. The example code displays the current time on the top line, and scrolls incoming text messages as they are received.
This is a good way to get your feet wet with the ADK hardware. We’ve already seen it used for larger displays like this LED marquee, but this smaller test project doesn’t require much hardware setup. Chances are you either already have an Arduino and character LCD on hand, or can easily borrow which makes this an easy weekend project.
One note on that Arduino compatible board; it’s called a Freakduino ADK but we couldn’t figure out if it’s a Freak Labs product or not. If you have some insight about that, please leave a comment.
We have seen a few neat Google ADK projects pop up since its announcement a few weeks back, and this one is already on the list of our favorites.
YouTube user [chrisjrelliot] has put together a great hack demonstrating the ADK’s power and how easy it can be to control devices in real time with an Android-powered device.
He hacked apart an Android figure (naturally) and fitted it with some LED eyes as well as four servos. The servos are used to rotate the head, body, and arms of his Disco Droid, all of which can be controlled via his Android-powered tablet. As you can see in the video below, he is able to control the Droid’s actions in real time with a few simple swipes of his finger. One thing we did notice is that his tablet is not connected to anything via wires, so we are assuming that there’s a Bluetooth module hidden away somewhere in the mix.
While the video is a bit short on details, [Chris] promises that source code and build plans will be published in short order.
[Pcdevltd] pulled an all-nighter to get his first Android Developer Kit project up and running. Basing the project off of the example that Google used when unveiling the new accessory development hardware, he set to work controlling a marble labyrinth game using his smart phone. What began at 7pm was wrapped up by 5am to produce the results seen in the video after the break.
These ball mazes use two knobs to pivot the playing surface, changing gravity’s pull on the ball to get it to go where you want. [Pcdevltd] pulled off the bottom on his labyrinth and installed two small servo motors. These connect to the Android Open Accessory Development Kit via a small cable. Connect that to the phone and you can then use the internal accelerometer to play the game. If you have an Android phone and an Arduino this should be pretty easy to replicate since we know you can already use the ADK with Arduino. Get to work on your own projects and don’t forget to send us a link to your project log.
Continue reading “Android controlled labyrinth”
When we heard that Google’s open accessory development standard was forthcoming, we were pretty excited. However once we heard that the reference hardware kit was going to cost nearly $400, our thoughts changed to, “Surely you can’t be serious.”
Well, Google is dead serious (and we hear they don’t take kindly to being called Shirley either.)
With such a ridiculous asking price, it was only a matter of time before someone tried getting the ADK software running on vanilla Arduino hardware. [Inopia] wrote in letting us know that he did just that.
Using an Arduino Uno and a Sparkfun USB shield, he was able to get the ADK working without a lot of fuss. He tweaked the ADK firmware image in order to bypass a couple of hardcoded pin assignments Google made, and he was good to go. The image boots just fine, though he can’t necessarily guarantee that his setup works with an Android handset, as he doesn’t currently own one that supports accessory mode.
Now that just about anyone can get their hands on the ADK at a reasonable price, we look forward to seeing what you can put together!