In this guide you will learn how to setup and program your Geekduino. Many RobotGeek Assembly guides will require you to program your Geekduino as a part of setup, so it is important that you can program your Geekduino before you start assembly.
This guide will refer to the RobotGeek Geekduino, the microcontroller that will ship with RobotGeek Robot Kits. If you are using one of our Kits with another Arduino-Compatible controller, like the Arduino Uno, Seeeduino, etc, follow the setup guide from that particular manufacturer. You can then skip steps 1 and 2 on this guide, and go straight to Setting up the RobotGeek Tools and Libraries
Before you can build and use your RobotGeek Kit, 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 latest stable 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
Windows users can also download a Windows Installer. This installer will install the appropriate drivers, and users can skip Step 2
The RobotGeek Kits do not currently support the Arduino 1.5 BETA IDE.
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 Geekduino.
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.
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.
- 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
If you have not already, connect your Geekduino to your computer using a USB Micro Cable. This is also a good time to 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
Now that your Geekduino is hooked up to your computer, you will need to pick the correct board from the boards menu. Select the proper board:
Tools -> Board -> Arduino Duemilanove w/ ATmega 328
Now pick the correct serial port. Go to
Tools -> Serial Port
and pick the serial port for the Geekduino
- 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 dissapears.
- Mac and Linux users may have 2 ports - one marked 'cu.' and one marked 'tty.' Either will work.
Once you have the board and serial port set, you can open the 'Blink' Sketch
File -> Examples -> 01.Basics ->BlinkClick on the 'Verify' Button (the green check in the upper left). This will attempt to compile the sketch. If all of the software is installed properly you will see a 'Done Compiling' below the editor.
Now click on the 'Upload' button (the green arrow button next to the verify button). This will compile the sketch, and then load it onto the Geekduino. If the hardware is connected properly you will see the red TX/RX LEDs flicker while the Arduino IDE displays an 'Uploading' message. When the Arduino IDE displays 'Done Uploading' the green user LED should blink on and off in a 1 second interval. Congratulations, you just programmed your Geekduino!