Track

Robotics lessons

3 lessons in this track. Work through them in order — each builds on the last.

Lesson 145 minBeginner

Intro to Arduino

Set up your first microcontroller, write the classic Blink sketch and learn how the Arduino IDE works.

Steps

  1. 1Install the Arduino IDE and connect your board via USB.
  2. 2Open the Blink example from File → Examples → 01.Basics.
  3. 3Upload the sketch and watch the on-board LED toggle.
  4. 4Modify the delay values and re-upload to change the blink speed.
Lesson 260 minBeginner

Build a Line-Following Robot

Use IR sensors to detect a line and write proportional control code to keep your robot on track.

Steps

  1. 1Mount two IR line sensors under the chassis.
  2. 2Read analog values to detect black vs white surface.
  3. 3Write a threshold-based steering loop.
  4. 4Tune gains so the robot follows curves smoothly.

Prerequisites: Intro to Arduino

Lesson 375 minAdvanced

Autonomous Navigation Basics

Combine odometry, IMU and ultrasonic sensing to make a rover navigate without remote control.

Steps

  1. 1Calibrate encoders and the IMU.
  2. 2Implement dead-reckoning position estimation.
  3. 3Add obstacle detection with ultrasonic sensors.
  4. 4Write a goal-seeking loop with obstacle avoidance.

Prerequisites: Intro to Arduino, Build a Line-Following Robot