_R-STS01mightyZAP Servo Tester Shield Manual_ENG_V1.2 19D5

IR-STS01 Servo Tester Shield Manual V.1.1
13
5.5.Example-Servo Motor PWM Control 1
There are 5 x PWM channels on IR-STS01 to control “PT” version mightyZAP. To operate mightyZAP Servo motor, user needs to
connect proper power (12V or 7.4V according to the input voltage of users servo). Power source can be Power supply, power adaptor,
or battery and connect the power line to Green power connector below.
Example to control mightyZAP using PWM
Prepare test by opening new file on Arduino
IDE.
Control position of servo motor using
“Servo_CH1.write()” function
.
Position range is
between 0~180.