Programming for Contest 1

 

Basic Stamp 2: 

     A code listing which directs the robot to make the maneuvers required for contest 1.  A schematic is also available  showing how to wire the Ebot motors  and processor to be compatible with this software.  The schematic also has provisions for wiring up two bumpers or feelers which may be used in future software.

 

68HC912:

    A code listing showing the software for the Motorola microcontroller to do contest 1.

 

Calibration:

    Both of the software examples above show fixed pulse widths being send to the motors to drive them.   Often, if both motors are driven equally, the robot will turn either to the left or the right because one motor is stronger than the other.   By performing a calibration of your Ebot's motors, you can tailor the pulses to each motor to get the performance you want.