Jun 4, 2008

iPhone and NXT



The guys from battlebricks managed to control a NXT robot using an iPhone. How is that possible I hear you ask? First, build a robot that performs different movements based on the light sensor looking at different shades of grey. Then build a web application that displays those different shades on a website. Load one iPhone on the robot, and use another to remotely update the shade of grey on the other. Now why didn't I think of that?



--
Damien Kee

6 comments:

Brian Davis said...

That's a very nice application (without the complicated iPhone hacking that might otherwise be needed). With the Hitechnic color sensor you could get even more information out of the iPhone for control. Now, if there was someway to transmit *back*... Oh, and GPS (yes, I know "3G" etc.)

David Levy said...

you lost me on "and use another to remotely update the shade of grey on the other. "

Is the 2nd iphone pinging the first or is it just accessing the web page to change the color. If that is the case then you wouldn't need a 2nd iphone, just a computer with internet access.
Also the page on the NXT's iphone would have to be periodically refreshed.

Anonymous said...

That is really neat! My dad has an iPhone, and with the WWDC drawing ever closer, I am expecting the release of the 3G iPhone, and the App Store! That means somebody could write a native app for the iPhone using the SDK to control the NXT via bluetooth. That would be like the mobile application Lego created for all of those other phones. I actually saw somebody on youtube that said he did write an application that could do this: http://youtube.com/watch?v=okutqL4uoho Of course it could be fake...

David Levy said...

Please ignore my last comment. When I first read the post I did not see the video due to reading it from the safari browser on my iPhone. How ironic.

Christian said...

Hi! This is pretty impressive. But, would it be possible to use the Bluetooth protocol to communicate between the iPhone and the NXT to get the same result?
Thanks,
Christian

Mehra said...

can someone tell me how to get the google app working? i have never used google web toolkit before, so i am stuck here, i got the iphonerobot.java compiled and uploaded to the nxtvia the lejos program thorugh command promot. Now the only thing is I cnanot understand how to get the google app to work and how to get it to work on the iphone? anyone can explain me here what to do? would be appreciated..

thanks in advance

Related Posts Plugin for WordPress, Blogger...