Day 14 Arduino Advent Calendar

First published at Thursday, December 14 2017

 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 .

  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.

© 2023 Little Bird Electronics Pty Ltd.
Made with ❤️ in SYD. All prices inc GST. ABN 15 634 521 449. We're 🐥 @lbhq on Twitter.