dealing with rotations per minute of a continuous rotation servo...
IIIA.2
Posts: 2
Hi, I'm taking robotics as an elective and i think you may categorize me as a 'beginner.' Well, right now my class is dealing with the motor's RPM. Thus, my question is, how can I speculate the RPM of the continuous rotation servo when it is assigned a particular motor speed???
Here is the code sample the teacher handed to me;
' {$STAMP BS2}
' {$PBASIC 2.5}
loopcount var Word
motor_speed var word
loopcount = 150
motor_speed = 1200
DEBUG "Motor On", CR
DO WHILE loopcount <150
Pulsout 13, motor_speed
PAUSE 20
Loopcount = loopcount + 1
LOOP
DEBUG "All done."
END
Thanks [noparse]:)[/noparse]
Here is the code sample the teacher handed to me;
' {$STAMP BS2}
' {$PBASIC 2.5}
loopcount var Word
motor_speed var word
loopcount = 150
motor_speed = 1200
DEBUG "Motor On", CR
DO WHILE loopcount <150
Pulsout 13, motor_speed
PAUSE 20
Loopcount = loopcount + 1
LOOP
DEBUG "All done."
END
Thanks [noparse]:)[/noparse]
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you convince yourself that something is impossible before you even try; you are sure to prove yourself right.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
HA! you're right! So to answer your question..... RPM = 0
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"puff"...... Smile, there went another one.