Using servos with PIC16F microcontrollers

Raj wrote a tutorial on how-to implement servo control on PIC16F microcontrollers. The article starts off with some servo theory, and is followed with an open source practical example.

A servo motor is a special geared DC motor equipped with an electronic circuit for controlling the direction of rotation, as well as the position, of the motor shaft. Because servo motors allows precise angular positioning of their output shaft, they are used extensively in robotics and radio-controlled cars, airplanes, and boats to control the motion of their various parts. In this lab session, we will first explore what a servo motor consists of and how it works and then illustrate how to interface it with a PIC microcontroller.

Join the Conversation

3 Comments

    1. @Gianni, you’re right: delay in ISR sounds like a bad design idea. Maybe different timer hardware (i.e. a different PIC) is needed if this sort of software is the only way with that particular PIC16F.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.