Keyestudio 4WD Manual page 239

Mecanum robot car
Hide thumbs Also See for 4WD:
Table of Contents

Advertisement

www.keyestudio.com
used to control the servo angle, we only need to set the control angle in
the development environment where the corresponding pulse will be
automatically set to control the servo rotation. In this project, you will learn
how to control the servo to rotate back and forth between 0° and 90°.
(2)Background Information of the Servo
Servo motor is a position control rotary actuator. It mainly consists of
housing, circuit board, core-less motor, gear and position sensor. Its
working principle is that the servo receives the signal sent by MCU or
receiver, and produces a reference signal with a period of 20ms and width
of 1.5ms, then compares the acquired DC bias voltage to the voltage of the
potentiometer and obtains the voltage difference output.
The rotation angle of servo motor is controlled by regulating the duty cycle
of PWM (Pulse-Width Modulation) signal. The standard cycle of PWM
signal
is
20ms
between 1ms-2ms, but in fact, it's between 0.5ms-2.5ms. The width
corresponds to the rotation angle from 0 ° to 180 ° . But note that for
For the servo used in this project, the brown wire is
the ground, the red one is the positive wire, and the
orange one is the signal wire.
(50Hz).
Theoretically,
the
width
is
distributed
239

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents