28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

248 <strong>Build</strong> <strong>Your</strong> <strong>Own</strong> <strong>Combat</strong> <strong>Robot</strong><br />

tube rotates past horizontal, the ball will roll off the contact, thus opening the circuit.<br />

The figure shows a bracket at some angle. The smaller the angle becomes, the<br />

more sensitive the robot becomes to angular tilting.<br />

Bump Sensors<br />

A bump sensor is nothing more than a mechanical lever action switch that is attached<br />

to the underside of your robot’s bumpers or armor. When another robot<br />

hits your robot, the bump switches will tell the robot that it was hit. One implementation<br />

of a bump switch is to place it on the sides and the back of your robot.<br />

When your robot is moving forward and the bump switches indicate that something<br />

is hitting the side of your robot, your robot can initiate an automatic spin<br />

move to face the attacker. To implement this type of sensor, the armor or bumpers<br />

must be semi-flexible so that when they get hit, they will move a little to trigger<br />

the switch.<br />

Implementing Sensors in <strong>Combat</strong> <strong>Robot</strong>s<br />

Although many sensors have a few problems when used in the combat environment,<br />

the following techniques can help you overcome these.<br />

Sensors obviously cannot be placed where they could be damaged by an opponent.<br />

In general, this means recessing them with the robot’s structure. If you do recess<br />

the sensor, be aware that some varieties of optical, IR, or ultrasonic sensors<br />

will “detect” the sides of the exit hole, especially if this hole is too small. To help<br />

eliminate this problem, for optical or IR sensors, paint the inside area that faces<br />

the sensor flat black.<br />

If you place the sensor too close to the floor, it is possible that the floor will return<br />

a distance measurement, which will be depend on the roughness of the floor.<br />

To help prevent this, try to mount the sensor so that it doesn’t angle downward.<br />

Sometimes people will want to protect the sensors by placing them behind a<br />

clear plastic (Lexan) shield. If using a plastic shield, the shield must be placed close<br />

to the sensor to prevent the plastic’s refection from affecting the sensor’s readings.<br />

Remember that IR sensors will not work behind glass and some plastics, so choose<br />

your shield accordingly.<br />

Optical sensors are not completely immune to ambient light. The sensor data<br />

sheets show what happens to the sensors under “normal” lighting conditions. In<br />

normal lighting conditions, the sensors have a range out to 31 inches (80 cm).<br />

What happens when the sensors are used in bright light conditions? Or what happens<br />

when an arena spotlight hits the sensor or the object that is being sensed?<br />

The range is reduced! In bright light conditions, this range can be reduced to<br />

about 16 inches (40 cm). Here, again, recessed mounting helps this problem, because<br />

it will limit the spotlights from directly hitting the sensor. However, recessed<br />

mounting does not help when the spotlight hits the object that is being sensed.<br />

The 16-inch (40-cm) range is still usable. You can set up the sensors to work<br />

within a short range and not depend on them for long range. Alternatively, you

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!