hi
i'm using PIC16F877A for my line follower. there will be a robotic arm too... i'm decided to use picbasic as it is easier to control the servo.
for the line follower, i'm planning to use 20MHz osc. so, izzit possible for my robotic arm.
this is info that i know:
PIC16F877A microcontroller is used and the microcontroller is operated
with a 4 MHz crystal. The pulse required to operate a servomotor can very easily be obtained using the PULSOUT
statement of the PicBasic and PicBasic Pro compilers. When a 4 MHz crystal is used, the time
interval of PULSOUT is in units of 10s. For example, the following PicBasic statement generates
a pulse with a width of 1.3 ms from bit 0 of PortB (1.3 ms = 1300us and 1300/10 = 130):
PULSOUT 0, 130
With an 20Mhz OSC, the resolution of PULSOUT is??.
Bookmarks