Welcome to RobotGeek 101 : Servo Control. This lesson will show you how to control 180 ° and continuous turn servo. The following videos for this lesson will walk you through everything you need to do to get started with RobotGeek Servos.
Parts used in this lesson:
These parts and everything you need to complete chapters 1-7 in RobotGeek 101 are available in the RobotGeek Basic Experimenter's Kit.
Continuous Rotation Servos are a bit different than 180 degree servos. Instead of knowing their position, they know which direction they're spinning, and how quickly they're doing it. They are not limited to 180 degrees, instead, can turn endlessly in either direction. They still take advantage of the same Servo library that 180 degree servos do, and they are controlled similarly.
Let's use the Arduino IDE to set the speed of a continous turnservo using servo.writeMicroseconds(). The continous turn servos will max out at 1200us/1800us ccw/cw speeds - any thing beyond these values will maintain the maximum speed. Open the following sketch in your Arduino IDE
File > Sketchbook > RobotGeek sketches > RG101 > 05 - servo > D-continousRotation
Let's use the Arduino IDE to set the positions on a servo using servo.write(). Open the following sketch in your Arduino IDE
File > Sketchbook > RobotGeek sketches > RG101 > 05 - servo > F-analogInServoOutSerial
Servo Control Reference
Now that you've completed the RG101 Servo Control Introduction, you're ready to go onto the next topic : 8.1 LCD .
If you are interested in learning more about Servo Control, check out our Servo Control Reference Lesson. In this lesson we will look at the remaining RG101 examples and provide you with links to advanced Servo Control topics.