×

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

Geekbot V3 Getting Started Guide

Contents:

  1. Setting up the Arduino Software
  2. Geekbot Assembly Guide
  3. Wiring the Geekbot
  4. Testing the Geekbot
  5. Geekbot Demo Code

This guide will teach you how to setup and use your RobotGeek Geekbot Core or Basic Kit.

If you're looking for the old Geekbot Getting Started and Assembly guides, you can find them here

This guide will refer to the RobotGeek Geekduino, the Arduino Compatible microcontroller recommended for use with RobotGeek products. However this kit will also work with the Arduino Uno, or other Arduino variants like the Seeeduino.

RobotGeek 101

Robotgeek 101

The Geekbot Getting Started Guide and Assembly Guides cover everything you'll need to know to get your Geekbot up and running, but if you'd like to learn more in depth information about wiring, mounting, and writing your own code, check out RobotGeek 101

1. Setting up the Arduino Software

GEEKDUINO GETTING STARTED GUIDE

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 the RobotGeek Libraries.

2. Geekbot Assembly Guide

Geekbot V3 Assembly Guide

At this point, follow through the proper Assembly Guide for your Geekbot. Once you have completed the assembly, return here to wire, test, and run your Geekbot. If you are looking for the old assembly guides, you can find them here.

3. Wiring the Geekbot

There are tons of options for wiring the geekbot. Depending on the code that you would like to run, there are different parts, so we'll break it down into three common The first we'll cover is wiring for IR Gamepad Control of the Geekbot.

Device Sensor Shield Port
Servos
Left Wheel RobotGeek Continuous Rotation Servo Digital 10
Right Wheel RobotGeek Continuous Rotation Servo Digital 11
Input
Trim Knob RobotGeek Rotation Knob Analog 0
IR Receiver RobotGeek IR Receiver Digital 2
Output
Buzzer RobotGeek Buzzer Digital 12
Right Turn Signal RobotGeek LED Driver Digital 4
Left Turn Signal RobotGeek LED Driver Digital 7
b_500_500_16777215_00__images_assembly_geekbotv3_gbv3_bb.png

Wiring for other versions of the geekbot are nearly identical, but we'll be adding parts. For the Simple Geekbot Line Follower Code, the wiring is as follows:

Device Sensor Shield Port
Servos
Left Wheel RobotGeek Continuous Rotation Servo Digital 10
Right Wheel RobotGeek Continuous Rotation Servo Digital 11
Input
Trim Knob RobotGeek Rotation Knob Analog 0
IR Receiver RobotGeek IR Receiver Digital 2
Output
Buzzer RobotGeek Buzzer Digital 12
Right Turn Signal RobotGeek LED Driver Digital 4
Left Turn Signal RobotGeek LED Driver Digital 7
Wire Color (from I2C port) Line Follower Array Pin
Servos
Black GND GND
Red 5V 5V
White SDA SDA/A4
Yellow SCL A5/SCL
b_500_500_16777215_00__images_tutorials_geekbot_v3_gbv3_LineFollow.png

And finally, for the Line Router, Line Navigator, and Line Explorer Demos, we will be adding in the LCD Control Panel

Device Sensor Shield Port
Servos
Left Wheel RobotGeek Continuous Rotation Servo Digital 10
Right Wheel RobotGeek Continuous Rotation Servo Digital 11
Input
Trim Knob RobotGeek Rotation Knob Analog 0
IR Receiver RobotGeek IR Receiver Digital 2
Output
Buzzer RobotGeek Buzzer Digital 12
Right Turn Signal RobotGeek LED Driver Digital 4
Left Turn Signal RobotGeek LED Driver Digital 7
Wire Color (from I2C port) Line Follower Array Pin 4-Line LCD Pin
Black GND GND GND
Red 5V 5V VCC
White SDA SDA/A4 SDA
Yellow SCL A5/SCL SCL
9mm Button Sensor Shield Port
Up Button Digital 3
Down Button Digital 9
Play Button Digital 1
Stop Button Digital 8
b_500_500_16777215_00__images_tutorials_geekbot_v3_gbv3_LineRouter.png

4. Testing the Geekbot

Before you run the test code, you will want to turn the robot up-side-down so that the robot doesn't drive off your desk or rip the USB cable out of your computer.

When you installed the RobotGeek Tools and Libraries, you installed the test sketch for the Geekbot. You can find the geekbotTest here:

File -> Sketchbook -> RobotGeek sketches -> Tests -> geekbotTest

Load the sketch onto your Geekduino and then open the Serial Monitor. The Geekbot should print out data on the Serial Monitor while exhibiting the following behavior.

  1. The left servo will spin slowly clockwise for 1 second
  2. The left servo will spin quickly clockwise for 1 second
  3. The left servo will spin slowly counter-clockwise for 1 second
  4. The left servo will spin quickly counter-clockwise for 1 second
  5. The left servo will stop and wait for 1 second
  6. The right servo will spin slowly clockwise for 1 second
  7. The right servo will spin quickly clockwise for 1 second
  8. The right servo will spin slowly counter-clockwise for 1 second
  9. The right servo will spin quickly counter-clockwise for 1 second
  10. The right servo will stop and wait for 1 second
  11. The Pan servo will point to the left
  12. The Pan servo will point to the right
  13. The Pan servo will point straight ahead
  14. The Buzzer will turn on for one second, then turn off
  15. The right led will turn on for one second, then turn off
  16. The left led will turn on for one second, then turn off
  17. Now the main loop will start. If you press the button, the buzzer will sound.
  18. The reading from the distance sensor will show up on your Serial Monitor.

5. Geekbot Demo Code

Geekbot Demo Software

All of the Geekbot demo code can be downloaded here. Once you unzip the file, rename the Geekbot-master folder to Geekbot. Put the Geekbot folder in your RobotGeek sketches folder.

GEEKBOT DEMO INSTRUCTIONS:
  • IR Gamepad Control - Control the Geekbot directly with an infrared gamepad!
  • Simple Line Follower - Turn the Geekbot into a classic line following robot!
  • Line Router - Give the Geekbot instructions on the fly to navigate lines with intersections!
  • Line Explorer - Code predetermined paths into the Geekbot and send it on a mission with the press of a button!
  • Line Navigator - Make a map and send the Geekbot to predetermined locations on the fly!

Feedback Form


Search