Fun Projects for your LEGO® MINDSTORMS® NXT! |
Radar |
|
A rotating “radar” using the ultrasonic sensor scans back and forth and draws a map of objects detected on the NXT display. The radar will also sound a tone as objects are detected. The closer the object is, the louder the tone will be. |
Detected objects are drawn with groups
of little circles on the map, with the distance to the object
represented by the distance of the circles to the progress bar at the
bottom of the display. The progress bar at the
bottom of the display shows which direction the radar is currently
scanning. |
||
One object detected |
Two objects detected |
Copyright
©
2007-2011 by Dave Parker. All rights reserved. |