4. Units Operation

2. Mirco Servo

270 views 2019-03-07 2019-03-13 peterletintech 1

Hardware requirement

  • M5GO
  • Micro Servo SG90

servomotor is a rotary actuator or linear actuator that allows for precise control of angular or linear position, velocity and acceleration. It consists of a suitable motor coupled to a sensor for position feedback. It also requires a relatively sophisticated controller, often a dedicated module designed specifically for use with servomotors.

Servomotors are not a specific class of motor although the term servomotor is often used to refer to a motor suitable for use in a closed-loop control system.

Servomotors are used in applications such as robotics, CNC machinery or automated manufacturing.


How to use the Micro Servo

Step 1. In UI flow – screen part, create the unit “SERVO” for port A. 

Step 2. In coding part, click Units, select Servo, there is the coding to control the rotation of the Micro Servo.

Step 3. Finish the code and execute it.

Step 4. The rotation changes from 0 degree to 90 degree then back to 0 degree automatically. (Click the graph to see the changes)


Was this helpful?