Micro:Bit Servomotor

Introduction

The Micro:bit board is a compact and powerful educational microcontroller designed to inspire creativity and programming learning in young people. Launched in 2015 by the BBC in the UK as part of the “Make It Digital” initiative, the Micro:bit has quickly become a popular tool worldwide for teaching programming and computer science.

The Micro:bit measures around 4 centimetres by 5 centimetres and comes with a variety of features that make it an ideal choice for programming beginners.

In this course, we’ll look at how to connect your servo motor to your Micro:bit board:

Programming was carried out on the Tinkercad simulation software in block form.

Here, the servomotor is rotated by 90° on start-up:

Pressing button A on the Micro:Bit card returns it to its initial position:

If button B is pressed, the actuator will move 180° from its current position:

Voici la simulation du circuit sur Tinkercad :