Fun Projects for your LEGO MINDSTORMS NXT!

Home     Projects     Help     Contacts

Bumper Car
Building: Advanced
Program: Easy

Building Instructions


Start by building the Castor Bot.  Click the picture for building instructions.

Building Instructions



Connect the touch sensor wire to port 1 on the NXT.


Important: Make sure that the wires stay out of the way of the bumper.

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.


  • 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

2007-2011 by Dave Parker.  All rights reserved. 
All project designs, images, and programs are protected by copyright.  Please see the usage policy.