This demonstration shows how to control the Desktop RoboTurret using direct control with BT Commander via a Bluetooth Serial adapter.Contents:
Project Parts List:
You will also need a bluetooth enabled Android Phone or Tablet.
Assemble your Desktop RoboTurret
Desktop RoboTurret Assembly Guide
Follow and complete the Desktop RoboTurret Assembly Guide if you haven't already done so.
Set up your Bluetooth Module
Follow the Configure the Bluetooth Module section of the BT Commander Getting Started Guide to get your Bluetooth module ready for action.
Download the Sketch
A .zip file with all of the RoboTurret Sketches can be found here.
Unzip the file and you will have a folder called
We recommend that you create a folder
RobotGeek Sketches in your Arduino user folder and put the
desktopRoboTurretV3-master in there. The rest of this guide will assume you've placed your sketches in the following folder.
Arduino -> RobotGeek Sketches -> desktopRoboTurretV3-master
This will be the same 'Arduino' folder you put your libraries and robotgeek tools in, and NOT the folder where the Arduino application is.
Upload the Firmware
Load the Commander Control code onto your Geekduino. It can be found at:
File -> Sketchbook -> RobotGeek Sketches -> desktopRoboTurretV3-master -> roboTurret_Commander_Incremental
Wiring for commander control over bluetooth is as follows:
|Device||Pin Type||Pin #|
|HC-05 Bluetooth Module||Digital||UART|
|HC-05 Pin||Geekduino Pin|
When you plug the Turret into a power source, the pan and tilt motors will center, and the bluetooth module will begin quickly blinking. This shows you that the firmware is loaded and the bluetooth module is looking for a connection.
- Open BT Commander on your phone or tablet
- Select 'Connect to Device', and choose your Bluetooth Module from the list.
- The Link Status should now say connected. Choose your control method (Basic or Smooth), and you can start moving your turret!
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