For more projects and resources see the ROBOTC Wiki »

 

Getting Started

A look at the Arduino UNO, how to configure it, and how to use it.

Requirements

Parts:

  1. ROBOTC
  2. Arduino BoeBoe Kit

1) The Arduino Uno

 

Resistors

The Arduino is a open-source, user friendly electronics prototyping platform.



Start Lesson »

2) Installing ROBOTC

 

ROBOTC will need to be installed on the computer before you can use it to program the Arduino.



Start Lesson »

3) Installing the Drivers

 

Drivers

Before the Arduino can be recognized by Windows or ROBOTC, the proper drivers must be installed.

Start Lesson »

4) Configuring the UNO

 

Resistors

Once the drivers are successfully installed, ROBOTC must be configured for the Arduino UNO.

Start Lesson »

 

Resistors

An overview of resistors and how they work.

Requirements

Parts:

1) What is a Resistor?

 

Resistors

A resistor is an electrical component that limits, or 'resists', the flow of electrons in a circuit.

 


Start Lesson »

2) Reading a Resistor

 

To read a resistor's value, you must use its color-coded bands and a resistor color code chart.

 


Start Lesson »


3) Using a Resistor

 

Using a resistor is relatively simple; since it has no polarity, it can be placed directly into a circuit.

 

Start Lesson »

 

LEDs

An overview of LEDs, how they work, and sample projects on controlling LEDs.

Requirements

Parts:

These are all included in the BOE Shield-Bot kit.

  1. Complete BOE Shield-Bot robot with Arduino Shield
  2. Various wires of different lengths and colors
  3. 2x 470Ω Resistors (Yellow-Violet-Brown)
  4. 2x LED of any color

1) What is an LED?

 

An LED (Light Emitting Diode) is an electronics device that emits light when current passes through it.

Start Lesson »

2) How to use an LED

 

LEDs have polarity and must be wired properly in order to operate. Improper wiring can cause damage to the LED...
Start Lesson »

3) Flash an LED

 

In this project, you will learn how to flash an LED using one of the Arduino's digital pins.


Start Lesson »

4) Flash Two LEDs

 

This project adds a second LED and teaches you how to program two LEDs simultaneously.



Start Lesson »

5) Dim an LED

 

At the end of this project you will be able to program two LEDs to emit varying brightnesses of light at the same time.

Start Lesson »

6) Pulse Width Modulation

PWM is a digital signal manipulation method that is used to indirectly control many electronic devices.

 

Start Lesson »

 

Robot Motion

From servo control to moving a robot through a simple maze, this section provides projects that introduces motors and servos.

Requirements

Parts:

  1. Complete BOE Shield-Bot robot with Arduino Shield
  2. Various wires of different lengths and colors
  3. 2x 3-pin male headers

1) What is a Continuous Rotation Servo?

Continuous Rotation Servo

Before understanding what a continuous rotation servo is, it is important to know what a servo is.


Start Lesson »

2) Connecting a Servo

 

Continuous Rotation Servo

To help you to understand how the servo connections work, we are going to show you how to hand wire the connections.
Start Lesson »

3) Zero your Continuous Rotation Servo

Continuous Rotation Servo

Some continuous rotation servos will move or 'drift' even when they are being sent the 1.5 ms 'stop' PWM signal.

Start Lesson »

4) Driving Forwards and Backwards

BoeBot Forward Backward

Before we start programming for the servos we need to configure ROBOTC so that it knows which pins control the motors.
Start Lesson »

5) Turning

 

Turning

Learn how to program the robot to perform Point Turns and Swing Turns.

 

 


Start Lesson »

6) Using functions to simplify coding

Functions

Learn how to program the robot to perform Point Turns and Swing Turns.

 

 


Start Lesson »

7) Navigate a simple maze

Navigating a maze

Now that we have a grasp of how to make the robot move, we can use that understanding to navigate a very simple maze.
Start Lesson »

 

 

Bump Switch

Bump switches allow you to perform behaviors based on a switch's value. Learn to program "whiskers" on your robot to manipulate a
robot's behavior.

Requirements

Parts:

  1. Complete BOE Shield-Bot robot with Arduino Shield
  2. Various wires of different lengths and colors
  3. 470Ω Resistor (Yellow-Violet-Brown)

 

See All Requirements»

1) What is a Switch?

 

Switch

At the most basic level, a switch just connects and disconnects parts of a electric circuit.

 


Start Lesson »

2) Controlling an LED using a switch

LED

Connect the LED with a switch in order to control the LED.

 

 


Start Lesson »

3) Starting a program with a switch

Start a program

Connect a switch to the arduino in order to run a program.

 

 


Start Lesson »

4) Detect and avoid obstacles

Obstacles

Using switches we can set up the use the state of the switch to detect if the robot has hit an object and closed the switch.
Start Lesson »

5) Navigate a maze using switches

Maze

By using the walls to find the distance, it is possible to change the lengths of the straight paths to almost any value.
Start Lesson »

 

 

Ultrasonic Sensor

Ultrasonic Sensors allow you to "see" walls or obstacles in front of you. Learn how to navigate your robot around these obstacles.

Requirements

Parts:

  1. Complete BOE Shield-Bot robot with Arduino Shield
  2. Various wires of different lengths and colors
  3. 2x 470Ω Resistors (Yellow-Violet-Brown)
  4. 2x LED of any color

1) What is an Ultrasonic Sensor?

Ultrasonic Sensor diagram

An Ultrasonic sensor is a device that can measure the distance to an object by using sound waves.

 


Start Lesson »

2) Connecting an Ultrasonic Sensor

ultrasonic sensor breadboard

This lesson shows you how to connect the Parallax PING Ultrasonic sensor.



Start Lesson »

3) Programming to measure Distance

ultrasonic sensor breadboard

This lesson shows you how to program your robot to measure distance.

 


Start Lesson »

4) Drive forward and avoid obstacles

Drive forward and avoid obstacles

Use the ultrasonic sensor to detect obstacles that are far away.

 


Start Lesson »

5) Navigating a maze

 

ultrasonic sensor breadboard

Navigate a simple maze using the Ultrasonic sensor to detect walls.

 

 


Start Lesson »

 

 

Light Sensor

Light Sensors allow robots to follow (or avoid) light sources. Learn how Light Sensors work and how to program your robot to use them.

Requirements

Parts:

  1. Complete BOE Shield-Bot robot with Arduino Shield
  2. Various wires of different lengths and colors
  3. 2x 2kΩ Resistors (Red-Black-Red)
  4. 2x Phototransistor

1) What is a Light Sensor?

Light Sensor

An Ultrasonic sensor is a device that can measure the distance to an object by using sound waves.

 


Start Lesson »

2) Connecting a Light sensor

Light Sensor circuit on breadboard

Learn how to connect a light sensor to the BOE Shield-Bot.

 

 


Start Lesson »

3) Program to find light

 

Light Sensor circuit on breadboard

Program your robot to find light sources using the light sensor.

 

 


Start Lesson »

4) Program to avoid light

 

Light Sensor circuit on breadboard

Avoid light by programming your robot to to "run away" from light sources.



Start Lesson »

 

IR Sensor

IR Sensors use Infra-Red(IR) rays to emit and detect the amount of IR light that returns. Learn how to use them to detect objects.

Requirements

Parts included with the Parallax Kit:

  1. Various wires
    1. 2x red wires (for power)
    2. 2x black wires (for ground)
  2. 2x IR LEDs
  3. 2x IR Detectors
  4. 2x 2kΩ resistors (Red-Black-Red)

See All Requirements»

 

1) What is an IR Sensor?

 

IR Sensor

An Ultrasonic sensor is a device that can measure the distance to an object by using sound waves.

 


Start Lesson »

2) Connecting an IR Sensor

IR Sensor connected

Learn how to connect the IR LED and detector on your breadboard.

 

 


Start Lesson »

3) Using an IR Sensor to detect objects

Board with resistors

We have learned how to use other sensors to detect objects. Let's learn how to use IR sensors to detect and avoid objects.

Coming Soon »

4) What's different about the Sharp IR Sensor?

Sharp IR Sensor

A normal IR sensor can only tell if an object is bouncing back the IR light, the Sharp IR sensor can also tell how far away an object is.
Start Lesson »

5) Connecting the Sharp IR Sensor

Sharp IR Sensor

Learn how to connect the Sharp IR sensor to your breadboard.

 

 


Start Lesson »

Untitled Document
Terms of Use  |  Privacy  |  Affiliations
Copyright 2009 Robotics Academy. All Rights Reserved. All names and trademarks are property of their respective owners.