Incect Robot circuit (PIC16F818)


Posted on Jun 24, 2012

Very little extra circuitry is needed to do both forword and backword walking sequences along with a few other tricks. The PIC16F818 has a lot of features that work well in this situation. As you can see from the Schematic and Source Listing, position pulses for the 2 servos are generated dirctly from the PIC. Also, the room light level, battery condition, and servo power draw (indicating mechanical loading) can be measured with the internal A/D. The battery condition (although not yet in the software) can be determined by reading voltage accross the LED. Since this voltage is (somewhat) constant, reading it actually measures the VCC to the PIC, which is where it gets its reference voltage. A higher reading on the LED means the battery voltage is lower.


Incect Robot circuit (PIC16F818)
Click here to download the full size of the above Circuit.

In its present state, this device powers up and measures the room light level then goes into low power mode (no power to servos, LED, or photo sensor) at 32 khz internal clock. About once a second, it 'wakes up' and checks the light level. If it finds a significant change, it cycles five steps forward, five steps back, and then shuts back down.




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Ideal Car Battery Charger
RF Recieving Amplifier for 40MHZ
Voltage controlled amplifier
Constant-current-stimulator
Sawtooth Generator For Sweep Generators
pic based wwvb clock
Micro Flasher
Super Sequencer?® With Margining Control And Auxiliary ADC Inputs
Smiths Tachometer
why have my power dooe locks lost the power to operate correctly
Super Capacitor Reference Design
Wireless Sensor Motor Control Circuit
Based LT3756 buck - boost mode drive circuit diagram
AC welder saving controller circuit diagram



Top