I need help programming a NXT 2.0 Lego Mindstorms. I want to make the robot turn, stop, go back, etc. when the color sensors see certain colors. For example when the robot sees red it stops then turns. Please help me I am new to Mindstorms and programming.

closed as too broad by jncraton, Zhaph - Ben Duguid Jul 29 '13 at 14:48

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    As such, this question isn't exactly a good fit for this Q&A site, as it's too generic in nature and doesn't give information on what you actually tried. The best way for you to learn is to start using the Mindstorms kit and following the instructions (LEGO did a good job with it so that children should be able to start by themselves without help). If at some point you encounter a specific issue which you can't solve by yourself, then you'll probably be able to ask a more specific question. The FAQ explains which questions should be asked here. – Joubarc Feb 28 '13 at 8:14

As was pointed out, this question is not specific in nature, so it's hard to give a definitive answer. If you haven't already done so, it would probably be helpful head over to Lego.com and grab get the NXT 2.0 User Guide and perhaps begin looking through the sample programs.

This book may also be helpful to you:

The LEGO MINDSTORMS NXT 2.0 Discovery Book: A Beginner's Guide to Building and Programming Robots

If you run into specific problems as you are getting started, feel free to create a new question, and we'll try to help you out.

  • Books are indeed a very good starting point, I'd also recommend The King's Treasure. Although I've only read the previous one (Mayan Adventure) from James Kelly, I found it very educational. – Joubarc Feb 28 '13 at 14:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.