i need to interface servo control using pic 18f452.i need servo motor rotates in sequence of(7.2,14.4,.....360) degree.suggest me what kind encoder and servo drive is used for my project.is this requires pwm pulse.how to start write code for pic18f452.and what is ccs manual.what is the relationship betweem pic controller and ccs manual
Most, but not all, RC servos have a rotation range of +/- 90°. You can control the position of a servo by varying the duty cycle of the PWM. The period of your PWM should typicaly be 20ms or 50 pulses per second, with the ON time of the PWM set at between 0.9ms to 2.1ms. Each servo is different so these are just typically values.