Simple servo tester with Arduino

Servo tester is a useful little device that is needed specially when you do not have one. I’ve been placed in a situation like that few days ago what I was trying to connect ailerons with servos on my Depron plane and setup correct control throw. Luckily, I own a few Arduinos,  so 15 minutes later I owned a divice like that:

Servo tester with Arduino

It is an extremely simple servo tester based on Arduino Pro Micoro that can send 3 different PWM pulse lengths: 1000us, 1500us and 2000us. That gives min, neutral and max stick position on RC radios. Perfect to setup control throws and neutral positions.

Required parts:

  • Arduino. Any Arduino will do. I used Arduino Pro Micro, but any can be used. Even barebone ATmega328 running internal oscillator on 8MHz,
  • Breadboard,
  • Tact switch,
  • Some golpins to make servo connector,
  • Cables.

Electrical diagram goes as follows:

Arduino servo tester diagram

Program is also not complicated:

And at the end, it works like that:

Source code is available on GitHub.

6 thoughts to “Simple servo tester with Arduino”

  1. This is brilliant!
    I need some assistance in modifying your code to work for my project.
    I’d like to use two momentary push buttons- one for forward and the other for reverse.
    I want the servo to move in the forward direction as long as the button is pushed. When the button is released, the servo stays in that position. The same with reverse.
    Would you please help with the code?
    I can do everything else, just not good at code yet.

    Thank you!


  2. Hey DZIKU!

    This is great, really! Thanks! I did not see that second button. Oops!

    Will this work with a Nano board? I don’t see why it wouldn’t.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.