Langsung ke konten utama

Android Phone Grows Up, Becomes Brain for Real Robot

_mg_9045

Playing with apps on an Android phone is fun. Building your own apps, even more so. But what about using the phone to operate a moving, talking bot? Tim Heath and Ryan Hickman have done exactly that.

The bot they recently finished building — Truckbot — is still relatively simple. It’s got an HTC G1 phone for a brain, riding on top of a chassis with some wheels and treads. All it can do is roll around on a tabletop, turn and head off in a specified direction. When I visit the workshop where they’re building it, Heath and Hickman show how it can use the phone’s compass to make itself point to the south. But the duo have much more ambitious plans in mind.

“I knew I could build this thing. I just needed a phone,” explains Heath, a Python web engineer. He posted on various e-mail lists looking for one, including that of Hacker Dojo, a Mountain View, California, hackerspace. Hickman, who works for Google’s Doubleclick division, but has no connections to the Android people, saw Heath’s pleas.

img_9060

They got together and started building. The first bot they built was made out of plastic. They just finished constructing their second bot, called Truckbot, which is lighter and cardboard-based.

They could have purchased the pricey $175 Oomlout kit, which includes wheels, motors and an Arduino-based brain. Hickman and Heath opted for making their own chassis. Here’s a full list of parts they used:

  • $16 Bare bones Arduino
  • $3 Micro servo
  • $0.25 Hex inverter (handled 3.3v to 5v conversion)
  • $4 HTC USB breakout board
  • $3 Mini breadboard
  • $4 miscellaneous cardboard, strap ties, wires, rear wheel

Total: $30 (plus shipping). To be fair, Heath and Hickman had access to a local workshop, the Tech Shop in Menlo Park, California, which helped tremendously in terms of having the tools to build some parts, like laser-cutting the cardboard chassis.

img_9123

Their bot is more impressive for its potential than what it currently does. “Unlike most people out there,” says Hickman, as he types commands on the screen of his laptop, “we don’t want to use the phone as a remote control. Rather, it becomes the brain of the operation.”

This means they could utilize every hardware and software component of an Android phone, programming the bot to avoid obstacles, recognize faces and voices, pinpoint its location and go places. An Arduino board, which basically serves as a software-hardware link, is not smart enough to handle that, but an Android phone can.

For example, Arduino can detect when the bot bumps into something, but has to rely on the phone to decide on what to do next. As we’re wrapping up, the bot turns towards me and says, “Hello, Miran. Wired is awesome.”

Thanks, Truckbot! I like you too.

img_9111

Wanna try building your own Android bot? Here is their five-step process:

  • Laser-cut pieces in cardboard or acrylic using PDF file
  • Attach breadboard, rear caster, 9V battery, servos, and Arduino using strap ties and glue
  • Glue servo arms to wheels and attach with the small servo screw
  • Connect wiring for servos, Arduino, breadboard, HTC USB board and battery
  • Mount phone with large strap tie and insert USB plug to bottom

To get it to work, you also need to do the following with the OS:

  • Load Cyanogen on Android phone*
  • Download the Android Scripting Environment application from code.google.com
  • Copy cellbot.py file to phone’s SD card /sdcard/ase/scripts/
  • Load Cellbot code on Arduino board
  • Run the Python script and telnet into the robot from a remote machine to control it.

* For the commercial version of Android, an additional BlueTooth module is required.

If you get stuck, go to Heath and Hickman’s bot development blog for more tips. Enjoy experimenting, and let us know how it goes.

Komentar

Postingan populer dari blog ini

Motorola Devour specs: 3.1-inch screen, Android 1.6, MotorBLUR

Posted on Tuesday, Feb 2, 2010 by Phil Nickinson We brought you the promotional packaging for the Motorola Devour . But how would you like some specs? Here we go with the phone formerly known as the Calgary, which we're expecting on Verizon anytime now. (Yes, that's a Droid in the picture above. We're told that's just a placeholder.) The biggies: Android 1.6 ( Donut ) with MotoBLUR . A 3.1-inch touchscreen (320x480). 3MP camera. Verizon is requiring a data plan, and the $350 early termination fee is in effect. It comes with an 8GB microSD card. Still no word on price or when it will go on sale, but we're told it could be anytime now. There's a better breakdown and more screenies after the break. 3.1-inch touchscreen at 320x480. Dimensions: 4.55x2.4x0.61 inches. Weight: 6.35 ounces Talk time: Up to 340 minutes Standby time: Up to 440 hours Horizontal slider keyboard. 3-megapixel camera. EVDO Rev. A. WiFi b/g aGPS Audio formats: AAC, AAC+, ...

Samsung Galaxy S Pro With Keyboard Rumored

There are touchscreen only fans and hardware keyboard fans and some folks are adamant about having it one way or another. That’s why when an amazing mobile phone like the Motorola Droid – or in this case the Samsung Galaxy S – are announced, one knee-jerk reaction is to wonder what the phone would be like if they offered an alternate version. We’re all familiar with the practice of adding a slideout QWERTY and slapping a “Pro” on to the end of the name, and that is exactly what HDBlog.it are suggesting will happen with the Samsung Galaxy S. The above picture is only a mock-up and is NOT real. But, rumor has it a phone that looks very similar to the Galaxy S will add the keyboard and start selling in late summer, after the original S has been on the market a couple months. Is there any truth to the rumor? No way of knowing. Would you be happy if the rumor came true? Different question completely… and one that I’d love for YOU to answer. by Rob Jackson on March 30th, 2010 Sumber : Ph...

Lifehacker Pack for Android: Our List of the Best Android Apps

Whether you're an faithful Android user or you've just unboxed your first Android phone, there's a wealth of free and cheap apps in the Android Market that can turn your device into a mobile powerhouse. Our second annual Lifehacker Pack for Android is stuffed full of apps to keep you connected to home, office and friends, or just help you stay entertained on the go. The Lifehacker Pack is a yearly snapshot of our favorite, must-have applications for each of our favorite platforms. If you're curious to see how things have changed this year, here's last year's Lifehacker Pack for Android . Want to skip to a specific category? Use these links: Productivity Internet/Communication Location-Aware Utilities Media Food and Entertainment Art and Photography The Extended Pack Productivity Evernote Evernote for Android has been regularly updated and has come a long way since it made it into our pack last year. The app scored a huge update...