Arduino Advent Calendar Day 14 - Servo Time!
Today weâ€™re going to be playing around with Servos.
A servomotor or just plain servo, is a rotary actuator that allows for precise control of angular position. I.e. we can tell it what angle to go to.
Servos are controlled via PWM (pulse width modulation) signals. PWM is a modulation technique used to encode a message into a pulsing signal. Our Arduino has pins that can do PWM, theyâ€™re the digital pins with the tilde (~) symbol on them, and our Servo understands PWM.
The Arduino software also comes with a Servo Library which hides the tricky PWM encoding for us. All we need to tell it is what pin the Servo is attached to, and what angle we want the Servo to go to.
Enough talking about it let's go and build up the circuit over at guides.littlebird.com.au .