Little Robot

What’s new

2 unread
  • New

    Little Robot Library Updates

    New versions of Barigadam_MotionSensor, Barigadam_ColorSensor, and LittleRobot are now available. We recommend installing the latest versions in Arduino IDE. Downloads and installation instructions are available below.

    View installation instructions
  • New

    Course updates, all in one place

    Library updates, new sections, and learning materials will appear here. Open the bell to see what’s new.

    View update history
All updates →

How to Install Libraries

Little Robot programs use three Barigadam libraries. Install them in Arduino IDE to run the course programs and exercises.

Video guide

What you need

  • Arduino IDE already installed
  • Three library files from this course:
Library Download Version Date added Purpose
Barigadam_MotionSensor Barigadam_MotionSensor.zip 1.0.3 2026-09-24 Reading and configuring the motion sensor
Barigadam_ColorSensor Barigadam_ColorSensor.zip 1.0.3 2026-09-24 Reading and configuring color sensors
LittleRobot LittleRobot.zip 1.0.3 2026-09-23 Motors, encoders, line following, and heading-control movement

Downloading LittleRobot requires the access password. The other libraries can be downloaded without a password.

Step 1 — Download the libraries

  1. Download all three .zip files from the table above.
  2. Save them to a folder you can find later (for example Downloads).
  3. Do not unzip the files — Arduino IDE installs libraries directly from .zip.

Step 2 — Install the libraries

  1. Open Arduino IDE.

  2. Go to Sketch → Include Library → Add .ZIP Library…

    Add .ZIP Library menu in Arduino IDE Add .ZIP Library menu in Arduino IDE
  3. Install each library in this order. For every file, open Add .ZIP Library… again and select the next .zip:

    1. Barigadam_MotionSensor.zip
    2. Barigadam_ColorSensor.zip
    3. LittleRobot.zip
  4. Wait until the status bar confirms each library before moving to the next file.

LittleRobot depends only on Barigadam_MotionSensor — install that one first. Barigadam_ColorSensor is a separate library for color-sensor lessons and is not required for LittleRobot to compile.

Step 3 — Check that everything works

  1. Open File → Examples.
  2. Find Barigadam_MotionSensor, LittleRobot, and Barigadam_ColorSensor.
  3. Open Barigadam_MotionSensor → YawPitchRoll. Its first lines should contain BarigadamMotionSensor sensor(0x60);.
  4. Open LittleRobot → LightCalibration.
  5. Select Arduino Mega or Mega 2560 and click Verify for both examples. Both must compile without errors.

If examples appear and the code compiles, the libraries are installed correctly.

Common problems

Problem What to try
LittleRobot fails to compile Install libraries in the correct order, starting with Barigadam_MotionSensor
Library not in Examples Restart Arduino IDE and check Sketch → Include Library — all three libraries should be listed
Add .ZIP Library does nothing Select the .zip file itself, not a folder extracted from it
Wrong board selected Set Tools → Board to Arduino Mega or Mega 2560 (see Arduino IDE setup)

More help: Troubleshooting