7. Case05: Servo#

7.1. Purpose#


  • In this project, you will learn how to make the servo rotate within its travel range.

7.2. Materials#


7.3. Software Platform#


MicroSoft makecode

7.4. Hardware connect#

../../_images/case_05_012.png

7.5. Programming#


Program annotation#

../../_images/case_05_021.png

Programming#

Links: https://makecode.microbit.org/_he3KY49tdLAj

You can also download it directly below:

7.6. Result#


  • The servo is rotating among 0~180 degress.

7.7. Exploration#


  • How to make a pointer thermometer with servo?

7.8. FAQ#


7.9. Relevant Files#