Geekbot V2 - Commander Control

btGeekbot.jpg
mt_ignore
Commander Control
mt_ignore
Wireless Control

This demonstration shows how to control the Desktop RoboTurret using direct control with BT Commander via a Bluetooth Serial adapter.

Contents:
  1. Project Parts List
  2. Assemble your Geekbot
  3. Set up your Bluetooth Module
  4. Download the Sketch
  5. Upload the Firmware
  6. Wiring
  7. Control

Project Parts List:

Assemble your Geekbot

Geekbot V2 Basic Assembly Guide

Follow and complete the Geekbot V2 Basic 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

Geekbot Sketches

A .zip file with all of the Geekbot Sketches can be found here.

Unzip the file and you will have a folder called geekbot-master We recommend that you create a folder RobotGeek Sketches in your Arduino user folder and put the geekbot-master in there. The rest of this guide will assume you've placed your sketches in the following folder.

  Arduino -> RobotGeek Sketches -> geekbot-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. If you're using the Basic Geekbot without a Gripper, load:

File -> Sketchbook -> RobotGeek Sketches -> geekbot-master -> geekbotV2Commander

Load the Commander Control code onto your Geekduino. If you're using a Gripper on your Geekbot, load:

File -> Sketchbook -> RobotGeek Sketches -> geekbot-master -> geekbotV2CommanderDeluxe

Wiring

Wiring for commander control over bluetooth is as follows:

Device Sensor Shield Port
Servos
Left Wheel RobotGeek Continuous Rotation Servo Digital 10
Right Wheel RobotGeek Continuous Rotation Servo Digital 11
Optional Servos
Wrist RobotGeek 180 Servo Digital 5
Gripper RobotGeek 180 Servo Digital 6
Input
Pushbutton RobotGeek Pushbutton Digital 8
Output
Buzzer RobotGeek Buzzer Digital 2
Right Turn Signal RobotGeek LED Driver Digital 4
Left Turn Signal RobotGeek LED Driver Digital 7
I/O
Serial Bluetooth HC-05 Bluetooth Module UART
HC-05 Pin Geekduino Pin
VCC 5V
GND G
TXD RX-0
RXD TX-1
b_500_500_16777215_00__images_tutorials_geekbot_btGeekbot_bb.png

Control

When you switch on your Geekbot, the bluetooth module will begin quickly blinking. This shows you that the bluetooth module is looking for a connection.

    btcommanderIcon.png
  1. Open BT Commander on your phone or tablet
  2. b_500_500_16777215_00_http___learn.trossenrobotics.com_images_projects_BTCommander_phone4.png
  3. Select 'Connect to Device', and choose your Bluetooth Module from the list.
  4. b_500_500_16777215_00_http___learn.trossenrobotics.com_images_projects_BTCommander_phone6.png
  5. The Link Status should now say connected. Choose your control method (Basic or Smooth), and you can start rolling around with your geekbot!
×

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

Feedback Form


Search