8. Case05: Servo#

8.1. Purpose#


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

8.2. Materials#


8.3. Software Platform#


MicroSoft makecode

8.4. Hardware connect#

../../_images/case_05_012.png

8.5. Programming#


Program annotation#

../../_images/case_05_021.png

Programming#

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

You can also download it directly below:

8.6. Result#


  • The servo is rotating among 0~180 degress.

8.7. Exploration#


  • How to make a pointer thermometer with servo?

8.8. FAQ#


8.9. Relevant Files#