Author
Topic: Android SDK and robotics (Read 17900 times)

I've recently been looking into the new Android SDK that will have significant support on a number of phones. I'm trying to figure out how to grab the USB or bluetooth connection from the phones on Android and use the cell phone as a low cost, super capable robot controller in sync with a micro controller.

The idea is the cell phone has built in GPS, cellular, wifi, and bluetooth capabilitiy, and a decent processor to run java aps. Throw in the use of the phone's camera and you have an etremely compact, good battery life robot controller.

Unfortunately I am yet to find how to control USB ports or bluetooth connections in the Android SDK, and since it is so new documentation is limited. Has anyone had experience with this SDK yet?

Yeah I thought about that use of Android too, and I think it really is gonna be a good robotics platform. The GPS (or cellular) stuff as well as all the other cool open libraries look very promising.

Actually, I think the guy behind Android, Andy Rubin, has a certain passion about robotics, and that's a good sign. The name's pretty fancy too!

I haven't had that much of a look at the SDK yet, but I'm pretty sure they'll enable the use of bluetooth connection at least (USB I'm not sure), and since it's open source, we'll hopefully get what we need

But I've seen they've just redesigned part of the SDK, and delayed the famous contest deadline to April I think.

Anyway, I'll be happy to have a look at the SDK. Maybe one day we could even make an Android web-controlled SoR robot?

BTW, has the iPhone's bluetooth been hacked or not yet? (I know they've made wired serial communication work though) Cuz with the hacker community, it's getting very hackable. And I'm pretty sure Apple's 'official' SDK won't be that open... I don't have an iPhone, but I'd love to get one... it's not going to be Android capable, but I think that hardware-software integration is more important on a cell phone, and that thing has got cool technology! From multitouch to the integrated accelerometer, it could be another awesome platform for robotics, if only communication was easier to hack...

Actually the Android documentation doesn't look that limited! They explain everything pretty well, with good examples, and sample apps. There's even a Hello, Android! I mean there's a lot worse than that! For the iPhone 'unofficial' SDK, I couldn't even find a little demo... (maybe it's just me or google that doesn't help me )

do they actually have Android running on any production phones yet?the last i herd of the project you still needed either a special test platform to run it on or a virtual platform on your PC.the FAQ seems to suggest this is still the case: http://code.google.com/android/kb/general.html#runonphone

it's a pretty cool project though. once you can actually buy a phone that it runs on i'll definitely be getting one.

As of right now it's the beta testing phone you mentioned or the virtual phone on the PC. The idea here is to start looking at it now so that when Android comes out we can take full advantage of it right away.

So everything we'd be talking about or trying would be emulated and merely doing in theory, but could act as a great learning project for a lot of us and maybe even have a cool outcome :-D.

As for claims that Rubin is a huge robotics fanatic - that is what inspired me. He has a wall of robot toys and figures and the idea of Android and robotics collided in my mind.

So again - PM me if you're making it, PM me if you want to but can't make the time. Of course the time will change if NO ONE can make it too :-D.

The meeting ended up being just me and bietz. No worries though if you still want to join in.

We discussed what we've discovered about the SDK itself. For one, in the time we waited for the meeting to from announcement to meeting time a new version of the SDK was released - they weren't kiddnig when they said they would be constantly adding new features. This means anything we've discovered could be completely wrong in a month.

We found that the USB support on Android will be mostly limited to using the Android phone as a USB mass storage device rather than a regular USB port, which we could use as a kind of serial port to communicate with micro controllers with a breakout board.

After talking to a developer of Android and talking this over with Bietz it looks like we would have to go the route of bluetooth. This is of course much more expensive and harder to do. The cheapest board for integrating bluetooth that I could find was