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+, ...

Tablet Android Pesaing iPad Hanya Rp2 Juta

Archos 7 Home Tablet ( IST ) INILAH.COM, Jakarta – Apple akan mendapat saingan baru di pasar tablet PC selain Dell dan Samsung. Tablet versi Android dipasarkan dengan harga sangat murah Rp 2 juta. Archos mengeluarkan produk yang disebut tablet layar lebar pertama berbasis Android, Archos 7 Home Tablet. Produsen lain memang juga memiliki produk tablet Android. Dell dilaporkan merilis tahun ini dan Samsung juga dirumorkan tengah mengerjakan tablet Android miliknya. Semua produk tersebut menarik hati, tetapi konsumen harus menunggu beberapa bulan ke depan untuk versi Dell dan Samsung hadir di pasaran. Sementara Archos 7 Home Tablet akan ada di toko pada bulan Juni. Amazon dilaporkan telah melakukan pre-order dan berjanji akan memasarkan produk tersebut pada bulan Mei. Archos telah mengeluarkan perangkat Android berukuran 5 inci musim gugur lalu, tetapi konsumen masih mengharapkan datangnya gelombang serangan versi 7 inc...

Andy Rubin Shows Off Android 3.0 On Prototype Motorola Tablet

Devin Coldewey 8 hours ago Andy Rubin is, as I type this, in the middle of a demo of Android 3.0 (AKA Honeycomb) at Dive Into Mobile. The rest of his talk I’ve got written up elsewhere, but this was too cool to pass up. The software is running on a prototype MOTOPAD that looks really slick, though it was only out for a moment and there are but few pictures at the moment. I’ll be updating this post as more information breaks. First thing he showed off was a new lock screen and then what appeared to be a brand new “desktop” with widgets and buttons in the corners. Different UI aesthetic than earlier versions of Android. He then launched the new, 3D-and-vector-based version of Google Maps that should be coming to your phone in just a couple days. Honeycomb will be out “next year,” which is a pretty vague deadline, but if I remember correctly, we’ve heard Q2 for the Moto tablet. Another improvement he notes is the ability to spli...