Home > NXT, NXTcam, RobotC > Shooter


This is our first project using the NXTcam v3 from mindsensors.com.

The aim of this bot is to find and shoot down three red targets. It’s programmed with RobotC.

The design is the Multi-Bot by Dave Parker from nxtprograms.com (except for the NXTcam module and the LEGO Color Sensor). It can be built using a single NXT 2.0 set plus the NXTcam v3.

Here are some pictures and a video of the robot:

The robot searches and detects red targets made out of LEGOs, it then moves into position as follows:

– It aims at the center of the target

– It moves forward or backward until the height of the target is right.

If the robot hits anything with the two bumpers, it will move out of the way. The robot will turn on a different LED on the Color Sensor depending on the situation:

-Green while searching.

-Blue while aiming.

-Red while firing (blinking at first).

You can download the source files here.

All comments are welcome and if you wish to contact me, you can send me an e-mail at duvit47@gmail.com.

  1. August 21, 2010 at 9:44 am

    A great project, you should submit it to the Cool ROBOTC Projects thread on the ROBOTC forums. Do you think you could host the source code somewhere? I am sure others can learn a lot from your code.

    I’ll be sure to add your RSS feed to my reader.


  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: