Lookout! Another Dangerous Robot on the Loose.
Here is our second Lego Mindstorm robot to keep clear of. This robot has the ability to swing around and unleash two bullets on whatever it finds.
The interesting part of this robot is the ultrasonic ranger coupled with the motor rotation. As the motor rotates, the ultrasonic range is compared. When a new minimum is found both the motor position and new minimum value are saved into a pair of variables. At the end of the sweep, the head is turned back to where the minimum value was detected. At that point, the guns are fired!
Below is a video and some build pictures. Clicking on the small pictures below opens them up into a larger view.
Hope this helps other have fun with the Mindstorm. Have fun!