As rain stopped play outside, a few pictures.
The Arduino UNO has 6 pins ~3, 5 ,6, 9, 10 & 11 are able to produce a PWM Signal that can be used for Servo's, below are a couple of simple ideas for use with Servo's, and the Arduino IDE programming environment, simple or complex, single or multiple Servo or Servo's.
Unlike commercial Servo Drivers or Servo Testers where you are restricted on what you can do, no such restriction with the Arduino, plus the question of economics, for instance why would I purchase something, that is in relative terms is more expensive as in a ready made product and would have a restrictive use?
Arduino UNO setup for a Servo Tester, Servo sweeps back and forth.
Sketch (Program Code for above), #include <Servo.h> is known as a "library" file, the "brain" so to speak for the sketch to work correctly.
Servo, position control with a potentiometer.
Sketch (Program Code for above)
One thing I would emphasis is careful thought needs to given to the design of the voltage regulator circuit to drive the Servo or Servo's with a clean electrically noise free, for a voltage range of 4.8 V to 6 V DC voltage.
Servo's can be very nitpicking on dodgy power regulator circuits.
The voltage regulator shown is one of the many that are attached to my DCC systems, fortunate that both the Massoth and PIKO CS's are exceptionally good in that they both are, clean and noise free as in electrical supply, very little filtering is required to convert the bipolar DC from the DCC signal to rectified DC voltage.
Servo's are heavy users of both Voltage and Amp, and don't forget to tie the GND's from any external source to the Arduino.