Servo Motor Pin Diagram 2000 Toyota Tundra Trailer Wiring Harness

The middle pin of the potentiometer is connected to the analog pin a0 of the arduino. With this connection the potentiometer acts as a voltage divider circuit. The example code below lets you control a servo motor with a potentiometer. Servo motor pin diagram. The wiper middle arm of the potentiometer is connected to analogRead More