Students are able to understand the function and how to connect a 3V micro servo motor.
Students are able to build a 3V servo motor circuit and program micro: bit to move it using event-based programming.
Motor that rotates according to a programmed degree of rotation (0 to 180 degrees).
All movements in an electronic system require a motor. Different motors allow different rotations and movements, for example, left to right rotation or one direction circulation. Different motors achieve different goals.
The servo motor used in this lesson is the EF92A model. Can we use another motor? Why do we choose a motor that requires a voltage of only 3V?
Materials needed to follow this video:
micro: bit + USB wire + 3V micro servo motor + connector wire + 3 alligator clips
Computer
Visit makecode.microbit.org
Color paper + cardboard
Transcript
Ways to build the code.
End product.
Move the elephant's trunk when button A is pressed.
Change the position of the elephant's trunk when the elephant is shaken.
👉CLICK HERE👈 to try it on makecode.
Connect the red wire to pin 3V on the micro:bit board, the black wire to pin GND, and the yellow wire to pin P0.
Connect batteries (2 AA batteries) to the micro:bit when you use a servo motor. Servo motor requires a higher power supply than what can be supplied by a USB wire through a computer.
Click "Extension".
Click "Servo".
Look for "servos" block groups.
This is a block used to control the degree of rotation of a servo motor.
You may use this block (under pins block group) to program a servo motor too!