PIC16F818 Controlled Beam Robot
|
|
 Overview The purpose of the project is to control a beam robot with the use of a PIC16F818 microcontroller which provides a lot of features. Explanation Most of the beam robots available on the net are utilizing hardware analog electronics which makes a PIC work very well for this kind of project. Both forward and backward walking sequences together with a few other tricks can be done with very little extra required circuitry. From the schematic and source listing, the PIC generates directly the position pulses for the 2 servos. The internal ADC measures the servo power drawn through the mechanical loading indication, battery condition, and the room light level. By reading the voltage across the LED, the battery condition can be determined even without the aid of a software. Getting the reading is actually like measuring the Vcc to the PIC16F818 microcontroller since the voltage is somewhat at constant value. This is where it gets its reference voltage. The battery voltage is lower due to the higher reading on the LED. The device measures and powers up the room light level in its present state then goes into low power mode at 32KHz internal clock. Rest of the project
|