RobotGeek Servo Setup

This page will help you set up your RobotGeek Servos. This guide will help you center 180 ° servos and tune the deadzone on older Continuous Turn Servos.

This guide will refer to the RobotGeek Geekduino, the microcontroller that will ship with most RoboTurrets. However this kit will also work with the Arduino Uno, or other Arduino variants like the Seeeduino.

Kids Clothes

Setting up the Arduino Software

Geekduino Getting Started Guide

If you have already installed the RobotGeek libraries and tools, you can skip this step.

If you have not already set up your Geekduino/ Arduino compatible board, please see the Geekduino Getting Started Guide. This guide will assist you in getting set up with the Arduino software as well as install libraries and test sketches for centering the servos.

Centering 180 ° Servos (RGS-13)

It is important that your horn is correctly centered before you assemble your robot. Servos that are not centered will cause incorrect behavior.

Now you will need to load the Servo Centering sketch onto your Geekduino. This sketch can be found here:

	File -> Sketchbook -> RobotGeek Sketches -> Tools -> centerServo

This sketch will first move servos on the following pins: 3,5,6,9,10,11). You can plug the servo into any of these ports to center the servo. First the sketch will move the servos to about 45°, and 125° so that you can see each servo move. Finally the sketch will move the servo to its centered / 90° position. If you want to see the servos move again, remove/plug in power or hit the reset switch. Once the servo is centered you can install the servo horn with the notch pointing straight up, and install the black screw. The screw will cover the notch, but lining the notch straight up will ensure that the horn is set at the correct angle.

b_500_500_16777215_00__images_tutorials_rgServo_180horn1.jpg b_500_500_16777215_00__images_tutorials_rgServo_180horn2.jpg b_500_500_16777215_00__images_tutorials_rgServo_180horn3.jpg

If you are using a C-Bracket with your servo, install the idler horn on the back of the servo and secure it with the silver screw.

b_500_500_16777215_00__images_tutorials_rgServo_idlerhorn0.jpg b_500_500_16777215_00__images_tutorials_rgServo_idlerhorn1.jpg b_500_500_16777215_00__images_tutorials_rgServo_idlerhorn2.jpg

Tuning Continuous Older Rotation Servos(RG-4C)

This guide is only needed for old style RG-4C servos. Old style RG-4C servos have a small screw terminal located on the servo body. If your RG-4C servo does not have a screw terminal, then you do not need to tune your servos. You can install your horn normally (orientation does not matter)

Now you will need to load the Servo Centering sketch onto your Geekduino. This sketch can be found here:

	File -> Sketchbook -> RobotGeek Sketches -> Tools -> centerServo

This sketch will first move servos on the following pins: 3,5,6,9,10,11). You can plug the servo into any of these ports to center the servo. First the sketch will rotate the servo clockwise and then counterclockwise so that you can see each servo move. Finally the sketch will move the servo to its centered / off position. Now you need to use a small flathead screw to turn the screw terminal on the servo until the servo stops moving.

The horn can be installed at any time. The horn orientation does not matter.

b_500_500_16777215_00__images_tutorials_rgServo_180horn1.jpg b_500_500_16777215_00__images_tutorials_rgServo_180horn2.jpg b_500_500_16777215_00__images_tutorials_rgServo_180horn3.jpg

Getting Started