Using servos with PIC16F microcontrollers

Posted on Monday, April 9th, 2012 in tutorials by DP

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.

This entry was posted on Monday, April 9th, 2012 at 7:00 pm and is filed under tutorials. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

3 Responses to “Using servos with PIC16F microcontrollers”

  1. Gianni says:

    Delays in the Interrupt service routine ?!?!? OMG

    • rsdio says:

      @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.

  2. kuhltwo says:

    Good timing for an article. I am just starting to put in servos in an model airplane.

Leave a Reply

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

Recent Comments

  • Peter: Another sunday, another chance...
  • Louis Beaudoin: This is great work guys! Placing an order for a sample pack and hope to use the service to make a custom cable soon.
  • Parkview: Another great idea! Be handy to be able to purchase the corresponding SMD and TH sockets as well.
  • Ryan White: Second that. I'd love the option to extend this already awesome tool to RF cables, hoping it's already in the works because I know the...
  • Tom Keddie: Hi Ian, Congrats on the launch. Suggest you name all the CHRO connectors you have as female. It's not done often but you can insert...