
| The simple two wheel robot above is constructed by taping two servos
to the back and attaching hobby airplane wheels to the servo shaft. The
servo has been modified by removing the internal stopper notch and potentiometer.
The potentiometer is replaced with a fix voltage divider resistor or a
trim pot. This allows the servo to be used as a continuous spinning motor.
The speed and direction, instead of position, can then be controlled with
the SV203B or SV203C. The two bump sensors are just switch contacts connected
to two of the A/D ports.
The code below can be compiled and downloaded to the SV203B/C and run
autonomously.
Const Stop = 0
Main:
Sub HitLeft
Sub HitRight
|