Servo Headers
Headers
J2
and
J3
are configured for controlling 5V
. They share the
Raspberry Pi
PWM0
and
PWM1
outputs with Grove Connectors
J1
and
J7
.
Both the PWM pulse frequency and duty cycle must be constrained to limited
ranges when driving a servo. Standard RC servos require a PWM pulse frequency
of 50 Hz and a PWM pulse width from 1.0 to 2.0 milliseconds.
When
J2
is used for a servo,
J6
cannot be used for a motor driver, and
J2
cannot
be used for a servo when
J6
is used for a motor driver.
Likewise, when
J3
is used for a servo,
J7
cannot be used for a motor driver, and
J3
cannot be used for a servo when
J7
is used for a motor driver.
Pin Mapping
J2
Pin 1
PWM0
PWM Duty Cycle
J3
Pin 1
PWM1
PWM Duty Cycle
MUNTS-0018 Raspberry Pi Tutorial I/O Board User Guide
Page 6 of 11