Day 14 Arduino Advent Calendar

 class=
Let's Get Started with the Day 14 Guide!

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 .

 
Let's Get Started with the Day 14 Guide!

We're happy to help!

If you find you're getting stuck with today's guide, hit up our team of highly trained Arduino ninjas on this forum thread.

Previous article Day 15 Arduino Advent Calendar
Next article Maddy Makes: 3D printed Nativity Scene Stable

Leave a comment

Comments must be approved before appearing

* Required fields