This guide will help you setup the hardware and software for the RobotGeek Desktop RoboTurret. This guide has setup information for the base RoboTurret, as well as the Nunchuk kit and the Vision Tracking Kit.
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.
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 the Desktop RoboTurret.
Centering your Servos
RobotGeek Servos can be set to specific positions, and must be 'centered' to ensure that the RoboTurret is assembled correctly. This guide will help you center your servos and install the horns. For the Desktop RobotTurret, you will need to also put an idler horn on one of your servos (the guide will show you how).
This guide will show you how to build the basic Desktop RoboTurret. At the end of the assembly guide there are also several optional steps for the 3 available control options:
- Joystick and Pushbutton Control (Parts for this comes with every kit)
- Wii Nunchuk (Upgrade Kit)
- Vision Tracking (Upgrade Kit)
Please keep in mind that the sample code is designed for one configuration at a time, and not for mixing control methods. However mixing control methods is possible if the user makes the proper code modifications.
Before you start using your RoboTurret, you should load the test sketch onto your RoboTurret. This sketch will run a few pre-programmed movements so that you can verify your turret has been assembled correctly. You can download all of the Desktop RoboTurret Sketches here. You can find the test sketch at
File -> Sketchbook -> RobotGeek Sketches -> RoboTurret v3 -> roboTurret3_test
Wiring for the Test is as follows:
|Device||Pin Type||Pin #|
Once loaded, the turret should begin to exhbit the following behavior:
- Turn the laser on
- Move both servos to the centered position
- Move the Pan Servo from right to left, then left to right
- Move the Tilt Servo Forward to back, then back to forward.
- Turn the laser off/on two times.
Programing Your Robot's Behavior
Once you've setup all your robots components and run a successful test you are ready to get started programming behaviors into your robot! Return to the Demo Code to start programming!