×

PC Control These demos and projects allow the robot to be controlled via a computer.

ArbotiX Commander Control - These demos and projects control the Robot using the ArbotiX Commander, the handheld Arduino based remote control.

Direct Control - These demos and projects control the Robot directly from sensors connected directly to the Robot's control board.

Pose Control - These demos and projects allow you to create and playback a sequence of poses.

Serial Control - These demos and projects control the robot using a serial packet protocol.

Standalone - These demos and projects are deisgned to let your robot function without a computer or additional microcontroller.

Wireless Control - These demos and projects allow you to control the robot wirelessly - usually by replacing the Serial Connection with XBee modules.

Reference - These articles have technical details regarding the control and operation of the robot.

×

More info here

RobotGeek 101: RobotGeek Continuous Turn Servo Control

This lesson is part of the RobotGeek 101 Learning Series. If you haven't already, please download the example sketches, and follow through the Geekduino Getting Started Guide to handle the foundations of using the Arduino IDE in conjunction with the Geekduino.

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.

Contents:

Introduction

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.

Back to Contents

D-continousRotation

video.png Click here to expand the video

code.png Click here to expand the code

diagram.png Click here to expand the diagram

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

Back to Contents

F-analogInServoOutSerial

video.png Click here to expand the video

code.png Click here to expand the code

diagram.png Click here to expand the diagram

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

Back to Contents

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.

Back to Contents

Feedback Form


Search