5_servos_student

5_servos_student - Servos Servo Components 1 Small DC motor 2 Gearbox with small plastic gears to reduce the RPM and increase output torque 3

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Servos: Servo Components: 1. Small DC motor 2. Gearbox with small plastic gears to reduce the RPM and increase output torque 3. Special electronics inside the servo to interpret a pulse signal and deliver power to the motor Types of Servos: 1. Continuous Rotation DO PULSOUT 12, 650 PULSOUT 13,850 PAUSE 20 LOOP 2. Standard How would you get other speeds? PULSOUT pin, duration duration 650 700 750 800 850 pulse width (ms) servo action Programming: ' {$STAMP BS2} ' {$PBASIC 2.5} counter VAR Byte 'full speed forward FOR counter = 1 TO 122 PULSOUT 12, 650 PULSOUT 13, 850 PAUSE 20 NEXT 'sharp left turn FOR counter = 1 TO 122 PULSOUT 12, 650 PULSOUT 13, 650 PAUSE 20 NEXT ...
View Full Document

This note was uploaded on 02/08/2011 for the course ENGR 120 taught by Professor Hall during the Winter '08 term at LA Tech.

Ask a homework question - tutors are online