Potentiometer-Controlled Servo Test Rig — Vertical project video
Wired a 10K potentiometer to A0 and mapped the analogRead range to servo angle using the map() function, so turning the knob directly drives a small hobby servo in real time. Built this as practice before starting a bigger robotic arm project. Added a 10-sample moving average to the analog read to smooth out servo jitter, which fixed the twitching almost completely.
