Bluetooth Steering Wheel

For my next project I want to take the Android controlled robot one step further. In my previous post, I used the ability of the Blueterm program to send characters over Bluetooth. So, I didn’t had to do any Android programming. The Blueterm program had all the functionality I needed. But since I’d like to learn how to build an Android app, here is my next challenge. The want to hold the phone in front of me as if I’m holding a steering wheel. If I tilt the phone forward I want the robot drive forward. If I tilt the phone backward the robot needs to drive backward. If I turn left the robot turns left and so on … Therefore, I want to build an Android app that sends the data of its acceleration sensor over Bluetooth to the Dwengo bot. From this data the orientation of the phone with respect to earth can be determined, and from this orientation it must be possible to make the robot behave as I just described. Read the rest of this entry »

Android controlled robot

Android controlled robot?!? What the hell is he talking about? That’s impossible!… It’s not! Or at least I hope it’s not. The goal is to control a Dwengo robot with my HTC Desire, which runs the Google Android OS. The Android phone will connect to a Bluetooth module  using an SPP connection and the Bluetooth module then connects to the robot controller (a Dwengo board). This makes it possible to send ASCII characters from the phone to the Dwengo board which then reacts  by turning on the motors in the proper way , depending on the character and it’s done. You see, electronics doesn’t have to be difficult. But maybe you want some more details.

Read the rest of this entry »