HTC Hero Android phone controlling LEGO Mindstorms robot
Saturday, June 19th, 2010 at
7:44 pm
ENEA at LARM (Linköpings Arbetsmarknadsdagar) showing an example of embedded programming. An Android phone is controlling a LEGO Mindstorms robot using radio network and the tilt sensor in the phone.
Related Posts
Android SRV1 – robot control via Google Android phone, Robot falls in love with Android phone – HTC Desire, Robot takes Android phone for romantic dinner – HTC LegendTagged with: Android • controlling • Hero • LEGO • Mindstorms • phone • robot
Filed under: Mobile
Like this post? Subscribe to my RSS feed and get loads more!
Apparently I only get 500 characters to answer… well I cheat.
So … guests at the fair/exhibition was able to scan the barcode, download the Android software, hook up to our wireless LAN (which is much simpler than pairing a Bluetooth device) and on their own phone control our cars. This was very much appreciated and very simple to accomplish.
We still wait for HTC to upgrade the Hero to Android v2.1 (as promised). Personally I don’t think it will ever come.
But, if you give me a Desire…
Out of several reasons.
First – the HTC Hero doesn’t support the Bluetooth Serial Profile. The only supported profile (with shipped Android version 1.5) is the Bluetooth Headset Profile.
Second – We wanted to be able to connect to two different NXT bricks with several different Heroes and preferably without touching the LEGO cars.
Third – This was used as an example of what you can do with very little effort. We had the Android program stored on a web server and a barcode printed.
Great video but why didn’t you just use Bluetooth directly to communicate between the Android phone and the LEGO NXT?
embedded128@JoinEnea
Thank you for your explain.
@embedded128 The PC hosts a simple tunnel, taking data from IP port and putting the same raw data directly to a Bluetooth Serial Port opened to the NXT Brick. No program, only a standard pipe.
If Hero has a client app to comm with PC’s server process which transfer the data to lego robot ?
im using this robot for class and i have a hero so i want to do this what is the name of the program
cool
Call of Duty 4: Modern Warfare 2 Keygen
– Check My Videos –
Awesome now lets put a bomb on it!!
f83yut8: Yes we will. Latest ETA for 2.1 (from htc) is said to be early april. I believe that when I see it.
be sure to update when it’s available
The app was created specifically for this expo and is not ready for general usage, which means there is no binary available. Sorry for that.
However, if anyone is interested in (unsupported) source code it is available under the project ‘bishopsarm’ at Google Code.
It does contain a lot of hardcoded stuff like IP adresses etc, but might still be useful for someone. Note that you will need a PC with a TCP/Bluetooth RFCOMM redirector to run it.
Regards
Johan
Yea, this is exactly something I’ve been looking for…
where i can get this app?