5% OFF Over $19, Code: Elephant5; 10% OFF Over $59, Code: Elephant10



Micro:bit Smart Robot 2.10 Lesson 10 “Servo control”

Posted by SuFiona on

1.Learning goals

After you downloaded a good program download the program, press A key, you can see the servo to 0 degrees, while the dot matrix display 0, and then press the B key, you can see the servo to 180 degrees, while the lattice display value 180, the children also do it yourself, try to drive a steering gear bar.

image.pngimage.png

image.png

2.Preparation:

Hardware:

●  BBC micro:bit X 1

●  micro:bit expansion board X 1

●  USB cable X 1

●  Servo X 1

Then the micro:bit is connected to the computer through USB, and the computer will pop up a U disk and click the URL in the U disk to enter the programming interface. Input this URL https://github.com/lzty634158/yahboom_mbit_en to get the package.

3.Search for blocks

image.png 

image.png 

4.Combine blocks

image.png 

The code of the experiment: Lesson 10 Servo control.rar

 

0 comments

Leave a comment

Please note, comments must be approved before they are published