03 - Servo Motor

micro:bit connected to a servo motor

Electric motors are great, they move many of the devices we have in our daily lives. We find them in things like blenders, washers, dryers, drills, cars, garage doors, pumps and many more. They are also part of one of the tools we are using, the Servo Motor or Servo.

Servos are electrical devices that rotate a part of a machine providing predictable, repeatable and precise movement. Think of them as motors that you can spin with precision, controlling speed and placement.

Servos do have electric motors in them, but they also include other parts that allow them to be moved to specific angles, positions and velocities. We will control our servo motor using a micro:bit, with instructions created on MakeCode.

All is coming together, we can write code to represent data about climate change using an external device. In this case the servo motor!

chevron-rightConnecting a Servo Motor to a micro:bithashtag

Servo Motors usually have three cables, Signal, Ground and Power.

  • The Signal wire carries the information from our micro:bit to the servo, telling it when and where to move.

  • The Ground(GND) wire provides a way for excess electricity to flow safely. The Ground wire only acts when there is a problem with the electrical system.

  • The Power wire, as the name implies, carries the electricity for the device to run. In this case, for the servo motor to turn

In the next section, we code our first servomotor.

chevron-right🍎Teacher's Corner - more about Servoshashtag

Last updated

Was this helpful?