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

Mindstorms NXT dual-ultrasonic object follower

Loading...

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

Uploaded by on Mar 1, 2008

This Mindstorms robot uses two ultrasonic sensors to track an object from side to side. The program isn't perfect, but it works pretty well.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 6 dislikes

Link to this comment:

Share to:

Uploader Comments (NXTFreak)

  • idk if u know how but i've been messing w/ my programming.....how do u get ur robot to back up if its too close or a wall or object like it??

  • Well, it sounds like you want a switch block in your program. You can set the switch block to use the ultrasonic sensor, and then set the parameters to how close/far away the object will be. Put whatever blocks you want to execute if the parameters are true in the upper sequence beam of the switch block, and whatever blocks you want to execute if the parameters are false in the lower sequence beam. Hope that helps. NXTFreak

  • So it rotates just fine.... can it follow an object forward and backward?

  • No, it can't. It can only go left and right.

Top Comments

  • Hello NXTFreak,

    How do you compare the values of the two sensors?? So how you can programme it that

    the NXT knows where the object is??

    We're doing a schoolproject with this NXT,

    so if you want to help us we're very gratefull

    Kim and Diana

  • Hello NXTFreak,

    How do you compare the values of the two sensors?? So how you can programme it that

    the NXT knows where the object is??

    We're doing a schoolproject with this NXT,

    so if you want to help us we're very gratefull

    Kim and Diana

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • How do you program it to run straight in till (as in actually interuping the curent task (of driving straight,)) it gets to a wall and then turn? Also, can you use it like a motion sensor?

  • @TheNeXTStorm @NXTFreak maybe put it up under video?

  • can you send me the program

  • can you do it with one ultrasonic sensor too?

  • then put a camera on it and- presto, it's a security cam!

  • Thats cool but easy to programm... you can make tham to follow to object))) :D

  • good job :)

  • shit like my one ^^

  • yup

  • I agreee

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