This page has some tips for working with the Robot Geek Servo Wheel Kit.
This guide will refer to the RobotGeek Geekduino, the microcontroller that will ship with most Geekbots. However this kit will also work with the Arduino Uno, or other Arduino variants like the Seeeduino.
Setting up the Arduino Software
Before you can build and use your Geekbot, you will need to be able to load programs onto your Geekduino board. These programs are called 'sketches'. To load these sketches onto your board you will need to use the Arduino Integrated Developer Environment (IDE). To install the Arduino IDE do the following:
- Download the Arduino IDE (1.0.5 as of this writing)
- Unzip/Install the Arduino IDE on your computer
- Run the Arduino IDE to create the Arduino folders
If you have any problems with this setup, the official Arduino website has a great "Getting Started with Arduino" guide for Windows, Mac, and Linux. This guide will take you through downloading the Arduino software (The Arduino IDE), drivers for your Arduino, and uploading programs(called 'sketches') to your Arduino.
NOTE: If you are using a Seeeduino V3 or a Geekduino, you will select "Arduino Duemilanove or Nano w/ ATmega 328" when you select your board.
Note: Windows users can download the the drivers and install them through the windows hardware wizard, or click on the 'setup executable' link automate the process.
Setting up the RobotGeek Tools and Libraries
The RobotGeek Tools and Libraries Download offers a variety of sketches and libraries for working with RobotGeek Robot Kits. First Download the Tools and Libraries ZIP file. In this .zip file, there will be two folders
- libraries-this folder contains libraries that will add functionality to your Arduino. The only version of the Geekbot that requires external libraries is the Geekbot with Nunchuk, which uses the
- RobotGeek Sketches-this folder contains behavioral code for robots, as well as tools for testing .
Where '~' represents the path to your user account.
When you are done, your file path should look like this
Tuning your Servo's Deadband
Before you start using your continous rotation servo, you will may need to adjust the deadband. By adjusting the deadband on the servo, you will be able to reliable stop the servo.
Make sure the Geekduino's switches are set correctly. The VCC Switch should be set to
5v and the Reset Switch should be set to
AUTO. See here for an example.
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
Once you have opened the centerServo sketch you will need to pick the correct board and serial port. First look at the Board menu item.
You will need to pick "Arduino Duemilanove or Nano w/ ATmega 328" if you are using a Seeeduino V3 or a Geekduino.
Next, look at the Serial Port menu item.
From this list you will need to pick the serial port of your board. Usually this is the last serial port on the list.
- If you have multiple serial ports and you are not sure which one is the Geekduino, unplug the FTDI device from the computer, and watch which one disappears.
- Mac and Linux users may have 2 ports - one marked 'cu.' and one marked 'tty.' Either will work.
- Many windows computers reserve 'COM 1' for internal purposes, and this is usually NOT the serial port you want to pick. Check your windows device manager if you are having problems with your serial port.
This sketch will consistently send a signal to the Geekduino's PWM ports (Pin 3,5,6,9,10,11). You can plug the servo into any of these ports. Now you will need to turn the small potiometer dial with a small flathead screwdriver. You will want to adjust the potentiomer until the servo stops moving and is making no noise/vibration.
|If your wheel is rotating...||Turn the Potentiometer dial ....|
See the following video for an example.
You can find the assembly guide for the wheel kits here.
Tuning you Servo's speed parameters.