A Simple Project To Get You Started With The Android ADK

simple-adk-exercise

If you just got your hands on a shiny new Android phone and are looking for a fun project to try out, you might want to check out this simple Arduino exercise that [Mike Mitchel] put together. Everyone needs a starting off point for hacking, and [Mike] thought that combining and Arduino and Android handset together for the purpose of temperature sensing and light metering would be a great place to begin.

The prerequisites for this project are a bit beyond a simple breadboard and a few ICs, requiring an $80 Android ADK board to go along with your phone and Arduino. If your focus is going to be on interfacing your phone with microcontrollers however, it’s purchase you’ll make sooner than later anyhow.

The setup is pretty simple as you might expect. A photocell and TMP36 temperature sensor are connected to the Arduino, then with a bit of code and USB host magic, the Android app shows the temp and amount ambient light present in the room.

[Mike] has made all of his easy to read and well commented code available online, so be sure to check it out if you have been thinking about (but putting off) playing around with the Android ADK.

Android On Your Netbook

Looks like there’s a pretty easy way to install Ice Cream Sandwich, the newest version of Android, on your Netbook. Actually this is limited to a few types of hardware including netbooks like the eeePC. That’s because the ISO files used during installation have been tailored to the hardware used on those devices. As with other Linux distros, the ISO file can be loaded on a thumb drive using Unetbootin. From there you can give it a whirl as a Live CD (or USB as it were) or choose to install it on your hard drive. We haven’t given it a spin as the eeePC version doesn’t want to boot on our Dell Mini 9, but we don’t see a reason why this couldn’t be set up as a dual boot option.

Now why would you want to run Android on your netbook? We’ve already seen that there’s a way to run Android apps in Ubuntu. We bet some people just love Android, and others just hate the Unity desktop that Ubuntu now uses… especially when the Netbook Remix had a lot of good things going for it.

Adding Speech Control To An Old Robotic Arm

[Joris Laurenssen] has been hanging onto this robotic arm for about twenty years. His most recent project uses some familiar tools to add voice control for each of the arm’s joints.

The arm has its own controller which connects via a DB-25 port. [Joris’] first task was to figure out what type of commands are being sent through the connection. He did some testing to establish the levels of the signals, then hooked up his Arduino and had it read out the values coming through the standard parallel connection. This let him quickly establish the simple ASCII character syntax used to command movement from the device. There’s only eight command sets, and it didn’t take much work to whip up a sketch that can now drive the device.

The second portion of the project is to use voice commands to push these parallel signals to the arm. Instead of reinventing the wheel he decided to use the speech recognition feature of his Android phone. He used Scripting Layer for Android (SL4A) and a Python script to interpret commands, push them to his computer via Telnet, and finally drive the arm. We’ve embedded the video demo after the break. He gives the commands in Dutch but he overlaid comments in English so you can tell what’s going on.

Continue reading “Adding Speech Control To An Old Robotic Arm”

Android Rolled Into Linux Kernel 3.3

The latest version of the Linux kernel was just released on Sunday, and there’s a little bonus which we think is worth considering. It seems that many changes from Android made their way into version 3.3 of the Linux kernel.

This may not sound like much, but it’s a great example of the power of open source. Since device specific changes based on the Linux kernel must be released under the same license, hardware manufactures are compelled to release their sources. But normally this would only help you if you have the expertise to slog through their code and find the parts that you need for whatever purpose you have in mind. But with these changes being rolled into the main kernel you should be able to run your own distributions on Android devices relatively easy; hardware support is already in there. Of course there’s still a lot of expertise that goes into cross-compiling an OS.

This may have the potential to open up old Android hardware as a development platform. Think of how Chumby hardware has been used in robotics projects. Now what if your old Bluetooth and WiFi enable cellphone had a stock kernel that was as easy and open to use in your own projects?

[Thanks Adam]

Using The Nook As A Keyboard

[Andrew] has been pining for an Optimus Maximus – a keyboard with a small LCD screen in each key – for years. Like a lot of people, he love the idea of a completely configurable keyboard, but balked at the two thousand dollar price tag. Although it doesn’t have full color OLED screens behind each key, [Andrew]’s nook simple touch can be used as a keyboard just the same.

After rooting his new nook, [Andrew] had a very nice tablet computer, and the only Android device with an e-ink screen. Although[Andrew] never wrote an Android app before, he wanted to do a proof of concept build to see if a nook keyboard would actually work. The “keyboard app” is actually just a webpage hosted on his home server. When he presses a virtual key, JavaScript sends an ASCII value back to the server where it is decoded and sent to xte.

[Andrew] says his build works, but not very well. Opera mini doesn’t like the homebrew server he set up, and Cyrillic characters are a no go. Still, it works, and looks like an awesome application for an e-ink tablet with a proper Android app. Demo after the break.

Continue reading “Using The Nook As A Keyboard”

Control An Arduino From Android Over Bluetooth

Whether you’d like to do some real-time logging of data, or just want to control a project with your Android phone, [Thomas]’s Arduino-Android Bluetooth connection instructable is sure to be useful

[Thomas]’ build uses the very inexpensive JY-MCU Bluetooth module that’s available on eBay or dealextreme. This Bluetooth module ties directly into the Tx and Rx lines of the Arduino so a wireless serial connection between an Android device can be established. On the Android side of the build, Python for Android and the Scripting Layer for Android allow for reading wireless sensor data over Bluetooth.

While connecting an Android device to an Arduino is also possible with an IOIO  or an Android Open Accessory dev kit, we haven’t seen much (barring this) about controlling or reading simple electronics with Android over Bluetooth. Sometimes you just don’t need an awesome dev board to bodge up a simple project, so we hope [Thomas]’s very nice instructable will help get a few more builds off the ground.

Testing An Open Source PID Controller With Steak

Sous vide cookers aren’t anything new, but [Phil] wanted to build the first sous vide using the osPID, an open source PID controller just released in the last month.

The build uses the osPID Open Source PID controller we saw last week that comes with inputs for a thermocouple and pair of relays capable of switching a hot plate or immersion heater. The osPID is based on the Arduino and was created by [Brett Beauregard], author of the Arduino PID library.

Getting to the meat and potatoes of the build, [Phil] connected a 300 Watt immersion heater to the osPID and put the heater in a bowl of water. A delicious looking cut of beef tenderloin was shoved into a ziplock bag and suspended in the bowl of warm water for a few hours. With the heater and thermocouple attached to the osPID, the temperature was set at 130° F and the entire device was left alone for a few hours. Looking at [Phil]’s recipe for tenderloin with lemon parsley butter whets our taste buds, so we’ll hope [Phil]’s dinner came out just fine.