Skip to main content

180 Degrees Digital Servo

Specifications

ItemSpecifications
SKUEF09082
Environmental conditions for use
Operating voltage4.8~6V
Operating temperature-25°C~70°C
Mechanical limit angle200°±5°
weight10g±5%
Control characteristics
Operating Angle180°±3°(500~2500μsec)
Optional directionClockwise
Dead zone width5 μsec
Operating voltage4.8V6.0V
Quiescent Current5mA5mA
No-load speed0.11sec/60°0.09sec/60°
No-load current90mA200mA
Stall torque1.3kg.cm1.8kg.cm
Stall current500-750mA±10%500-750mA±10%

Hardware Hookup

Here we take the Wukong expansion board as an example.

Connect the servo to the S1 port of the expansion board.

Add a dedicated extension library

Click "Advanced" in the code drawer of MakeCode to view more code options.

In order to program the Nezha expansion board, we need to add an extension library. Find "Extension" at the bottom of the code drawer and click it. A dialog box will pop up, search for "Nezha", and then click to download this code library.

Note: If you get a prompt saying that some code libraries will be deleted due to incompatibility, you can continue according to the prompt, or create a new project in the project menu bar.

Write the program as shown

Please refer to the program link: https://makecode.microbit.org/_iE0FRyLoA7ak

You can also download the program directly from the following website.

### Result

When button A is pressed, the servo rotates to 0°, and when button B is pressed, the servo rotates to 180°.

Notes on servos

When using a servo, you should first adjust the servo angle, and adjust the servo angle according to the case requirements for verification. After verification, install the corresponding structural parts to prevent the servo from being blocked and burning.
Note: When using a servo, you should pay attention to whether the servo is blocked. If the servo is blocked, there may be a risk of burning.
Note: When using a servo, you should pay attention to whether the servo needs to be delayed. The servo rotation takes time to execute. If a new servo command appears during the servo execution, it will overwrite the previous servo rotation command, resulting in the servo not rotating in place.