NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
Home / News / Apple / Iworld / iPhone

iPhone


A Few Laps Around the Office with the iPhoneLego Robot

iPhone-powered robot using the ability of a light sensor to read contrasting colors

By Filip Truta, Apple News Editor

4th of June 2008, 10:42 GMT

Adjust text size:


The iPhone Lego NXT Robot
Enlarge picture
Is there anything they can't think of using the iPhone for? The
guys at BattleBricks have crafted out a simple Lego robot that can hold an iPhone and read the on-screen activity - remotely manipulated by you - to coordinate its moves. How cool is that?!

According to the makers, it's the ability of the Mindstorms NXT light sensor to read the contrasting colors on the iPhone display that made this possible. The iPhone to Lego NXT Robot communicates via Apple's Safari web browser and the Lego's Light Sensor. The best thing about it, though, is that you can make one yourself!

Building the lego robot
Enlarge picture
"To build this, you'll need a laptop, two iPhones, and a Lego NXT Robotics Kit. First, build your robot. Second write some Java LeJOS Robot code," BattleBricks explains. The third step is to write some Google Web Toolkit web application code. The LeJOS source is available right here.

Fourth, you will need to plug in your iPhone into the robot, and use either a browser or another iPhone to drive the Lego Robot, since it determines in which direction to move based on the color value from the light sensor.

The developer has made this very simple Google Web Toolkit client server app that helps you adjust the color of the iPhone display to trigger the Lego NXT light sensor. It has two modes - "The first is the mode the robot uses, which changes to different shades of grey depending on the other client, which has a simple control screen. The server simply receives messages from the control client and sends them to the iphone client," the developer explains.

Once you've got the LeJOS NXJ app uploaded to the NXT Robot, and have the Google Web Toolkit webapp running on your laptop, all you need to do is visit the website with the Robot's iPhone and select "Robot." The iPhone's Auto Lock setting is "Never" by default, while the Brightness has been set for the most contrast in color changes.

Go ahead and watch the iPhone Lego NXT Mindstorms Robot Demo, or… why not make your own?

TAGS:

iPhoneLego | robot | light sensor | Lego | NXT


Rating:
Good (3.4/5) 5 vote(s) so far    

Read by 466 user(s) | Add comment | Link to this article
Subscribe to news | Print article | Send to friend

© Copyright 2001-2008 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


Trism: Accelerometer-Based Puzzle Game for the iPhone

Quake 3 Ported to iPhone, iPod Touch

iPhone Devs Invited to Port J2ME Apps to iPhone

SEGA's Ethan Einhorn Talks More Super Monkey Ball, Casual Games for iPhone

iPhone SDK / Dev Program Now Available Worldwide

Apple Launches iPhone SDK Beta 5. Download Here.

Console Games to Work on iPhone with iControlPad

Polarbit to Launch Raging Thunder through the App Store

User opinions:

No user comments yet.
Be the first to express your opinion using the form below!

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 






SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM