RobotGeek Basic Experimenter's Kit Getting Started Guide

If you haven't already, make sure to go through the Geekduino Getting Started Guide to get your libraries and hardware setup.

  1. Hardware Required
  2. Wiring
  3. Power
  4. Functions used in this example

Let's get started on the right foot with the RobotGeek Basic Experimenter's Kit! This guide will be covering the setup and usage of the RobotGeek Basic Experimenter's Kit Test Code. The test code we have prepared lets you make sure your RobotGeek sensors are working as expected, while covering some of the things you can do with your sensors with some basic coding in Arduino. Be sure to read the //comments in the code if you would like to learn about what's going on.

RobotGeek 101

Are you ready to dive even deeper into the world of Arduino? Then take a look at Robotgeek 101! RobotGeek 101 is a step by step guide that will teach you how to build, wire, and program your Geekduino/Arduino. Through RobotGeek 101 you will learn the basics of Arduino like digital input and output, and move on to more advanced topics like PWM and servo control. By the end of RobotGeek 101 you'll be well equipped to start modifying our demo code and creating your own custom applications.

RobotGeek 101

1. Hardware Required

2. Wiring

  1. Connect your components as shown here. b_500_500_16777215_00__images_tutorials_experimenters_basic_level_2_demo.png
    Device Sensor Shield Port
    Servos
    Servo 1 FS90 Micro Servo Digital 9
    Analog Sensors
    Knob 1 RobotGeek Rotation Knob Analog 0
    Knob 2 RobotGeek Rotation Knob Analog 1
    Digital Sensors
    Button 1 RobotGeek Pushbutton Digital 2
    Button 2 RobotGeek Pushbutton Digital 4
    Button 3 RobotGeek Pushbutton Digital 7
    LED 1 RobotGeek LED Driver Digital 3
    LED 2 RobotGeek LED Driver Digital 5
  2. Open basicExperimentersKitTest in the Arduino IDE. You can find this sketch under
    File > Sketchbook > RobotGeek sketches > Tests > basicExperimentersKitTest
  3. Connect a micro USB cable from your computer to your Geekduino
  4. Load basicExperimentersKitTest onto your board using the upload button in the Arduino IDE.
  5. Once loaded, you have the option of either disconnecting the USB cable from your computer and powering the Geekduino using a 6 Volt 2 Amp Power Supply, or keeping your Geekduino plugged in via USB for power.
  6. Turn Rotation Knob 1. As you rotate the knob clockwise, LED 1 should change in brightness.
  7. Press Button 1. LED 2 should turn on for the duration that you hold the button down.
  8. Press and Hold Button 2. LED 2 should fade on and off for the duration that you hold the button down.
  9. Turn Rotation Knob 2. Nothing should happen.
  10. Press and Hold Button 3, and Turn Rotation Knob 2. Now, while Button 1 is being held down, the Servo should turn to match the the movement of Rotation Knob 2.

3. Power

In step 5, you were given the option to power your Geekduino via either a USB connection or a Power Supply. There are good reasons to use a power supply, and there is a purpose for those little jumpers in the middle of the PWM pins column. In this demonstration, the 5 volts from the Geekduino's regulator from a USB power source is fine for running the single micro servo we have connected, but what if you had more servos, or servos that require more than 5 volts to operate? This is where the jumpers and a power supply come in.

b_500_500_16777215_00__images_tutorials_experimenters_basic_powerexample.png

Pay close attention to the jumpers. Setting the jumper to voltage in (VIN) allows the servo (and any other devices attached to PWM pins 9, 10, and 11) to use power directly from the 6V2A Power Supply, rather than being limited by the 5V regulator.

4. Functions used in this example

Feedback Form


Search