Servomotor#
Introducción#
The VEX 3-Wire Servo Motor is a 3-wire device that rotates to a specific position based on a control signal from the V5 Brain.
A Servo Motor moves to a position from 0 to 100 degrees and holds that position. Unlike a Smart Motor, a Servo Motor is used for position control, not continuous spinning.

Below is a list of available Servo Motor blocks:
Actions — Move a Servo Motor to a position.
spin Servo to position – Moves a Servo Motor to a specified position between 0 and 100 degrees.
Girar el servo para posicionarlo#
The spin Servo to position stack block moves a Servo Motor to a specified position between 0 and 100 degrees. The Servo Motor will hold that position until it is given another position.
Nota: Un servomotor comienza cada proyecto centrándose automáticamente a 50 grados antes de completar cualquier movimiento.

girar [ServoA v] a la posición [50] grados
Parámetros |
Descripción |
|---|---|
dispositivo |
The Servo Motor to move. Choose from the Servo Motors configured in the Devices window. |
posición |
The position to move the Servo Motor to, from 0 to 100 degrees. This uses whole numbers. |
Example
cuando empezó
[Move the Servo Motor to three different positions.]
girar [ServoA v] a la posición [0] grados
esperar (1) segundos
girar [ServoA v] a la posición [50] grados
esperar (1) segundos
girar [ServoA v] a la posición [100] grados