EasyManua.ls Logo

Cytron Technologies micro:bit - Page 22

Default Icon
24 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Let's Explore
A servo motor uses a three-wire
system for power (+), ground (-) and
signal. Here's how you are to connect
it to the micro:bit
Pin-0 (P0), Pin-1 (P1) or Pin-2 (P2)
- Which pin is it connected to?
0 to 180 - The angle you
want the servo to turn to.
When it is connected to the micro:bit,
you can control the motor rotation to
a specic angle, between the range of
0 to 180 degrees using
[ servo write pin __ to __ ] block from
the [ Advanced - Pins ] category.
19
Brown
Ground Power Signal
Red
Red
Orange
White
Black
Pin-GND
Pin-0,1 or 2
Pin-3V