Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Fast Line Tracer Robot (2nd attempt) - Lego Mindstorms NXT 2.0

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
23,336
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 2, 2010

This was my 2nd attempt in developing a line following robot using the Lego Mindstorms NXT 2.0 kit. It was much faster and accurate than my initial attempt and the power level of the motors were set to 100% in the straight line areas. The robot was made from a modified NXT 1.0 basic kit model with a color sensor attached to the front. The track was simply made from taping printouts of black lines together. The NXC programming language was used for programming the robot.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 4 dislikes

Link to this comment:

Share to:

Uploader Comments (pandalori)

  • I still don't get, how did you programmed it to know when to turn lef or right? how can the robot distinguish the situation, to know wich side it will turn??

  • @antoniono95 Take a look at the tutorial on techbricks.nl on how to build a line tracer robot using a PID controller. This method uses a feedback loop and calculates the error value relative to a setpoint. The program then adjusts the robot to minimize the error. So effectively, when the error gets larger and larger, the program will know to turn the other way to keep on course.

  • Erm.... Can this same line tracing be done using a normal NXT light sensor ?

    Im very interested to learn how you program such a fast line tracing NXT robot.

    May i request that you share the logic of the line tracing program ?

    I would really appreciate it if you do.

  • @dolah1995 Yes, it can be done using a normal NXT light sensor, but the implementation is more of a hack. I can send you the link to a similar implementation on a website I used.

see all

All Comments (30)

Sign In or Sign Up now to post a comment!
  • nice

  • pretty good

  • How did you make it go so fast?

  • Nice and smooth with one sensor. Good parametrs. We use tighter line for student competitions and bigger wheels, so they have to use more sensors.

  • If you programme it correctly it will drift itself,because at the corner when it goes straight the sensor will see the white place,but as I said if you programme it correctly,it will only go on anything black.Its so simple...it took our 15 minutes at school to do.

  • @pandalori could you email me the link to get my bot to line trace too?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more