NXT Bumper Car

NXT Bumper Car
21.09.09 10:12
NXT Bumper Car
21.09.09 10:12
Fun Projects for your LEGO ® MINDSTORMS ® NXT!
Home
Projects
Help
Contacts
Bumper Car
Building:
Program:
Building Instructions
1-11
Start by building the Castor Bot. Click the picture for building instructions.
13
12
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 1 из 7
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 2 из 7
NXT Bumper Car
21.09.09 10:12
NXT Bumper Car
21.09.09 10:12
Connect the touch sensor wire to port 1 on the NXT.
14
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 3 из 7
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 4 из 7
NXT Bumper Car
21.09.09 10:12
NXT Bumper Car
21.09.09 10:12
Important: Make sure that the wires stay out of the way of the bumper.
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 5 из 7
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 6 из 7
NXT Bumper Car
21.09.09 10:12
Bumper Car Programming
Use the program BumperCar for your bumper car. This simple program tells the robot to go straight until
the bumper hits something, then back up a little, turn right, then go back to going straight again
(repeating forever). This program would be easy to modify with your own ideas of what to do when the
robot hits something.
Challenges
The bumper is designed to trigger the touch sensor when any part of the robot would hit something
going forward, but there are certain kinds of obstacles that it might not work on, or perhaps the
bumper will get hung up and maybe stuck when the robot tries to back up and turn. Can you
improve the design of the bumper to solve any problems you encounter?
Try modifying the BumperCar program to add your own ideas of what to do when the robot hits
something (turn more or less, turn different ways, make sounds, etc).
Home
Projects
Help
Contacts
Copyright © 2007-2009 by Dave Parker. All rights reserved.
All project designs, images, and programs are protected by copyright. Please see the usage policy.
http://www.nxtprograms.com/NXT2/bumper_car/steps.html
Страница 7 из 7