The servo motor
Section 4: Sound and movementLesson 4.2 · ⏱ 8 min
The servo is a small motor that turns to a set angle from 0 to 180 degrees and stops there. We use it for doors, arms and the robot's head.

🖥️ What happens on the stage?
The servo's arm moves back and forth as if it were waving.
📌 Another example: the servo goes through three angles
0, then 90, then 180, a second for each angle.




✍️ Practise
Put the servo in the middle (90).
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
✍️ Practise
The robot waves.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
Turn the servo to angle 45.
👀 Show the solution🙈 Hide the solution


Result: the arm is at 45.
Medium
Waving: between 60 and 120, every half second.
👀 Show the solution🙈 Hide the solution


Result: it waves.
Hard
From 0 to 180 in steps of 45, then back to 0.
👀 Show the solution🙈 Hide the solution


Result: it goes through five angles.

