Real-World Link
You can find servo motors in R/C model cars for steering and R/C model airplanes
for controlling flaps and rudders. Servos are used where precise movement is
needed such as in the operation of robotic arms, grippers, and rotating camera
mounts.
Careers: fabricator, industrial engineer, machinist
STEM Connections
• Science
Ĕ Current
Ĕ Fleming’s rules
• Technology
Ĕ Motor assembly
Ĕ Feedback system
• Engineering
Ĕ Energy conversion
Ĕ Motor gearing
• Math
Ĕ Accuracy
Ĕ Precision
Block-Text Correlation
void setup() {
pulse.PulseBegin();
pulse.setServoSpeed(1,25);
void loop() {
pulse.setServoPosition(1,180);
delay(3000);
pulse.setServoPosition(1,0);
delay(3000);
Note: The servo motor changes position
from 0 degrees to 180 degrees.
Arduino Source Code
#include <PULSE.h>
PULSE pulse;
void setup() {
pulse.PulseBegin();
pulse.setServoSpeed(1,25);
}
void loop() {
pulse.setServoPosition(1,180);
delay(3000);
pulse.setServoPosition(1,0);
delay(3000);
}
36 Getting Started Activities