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
- 1Install the Arduino IDE and connect your board via USB.
- 2Open the Blink example from File → Examples → 01.Basics.
- 3Upload the sketch and watch the on-board LED toggle.
- 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
- 1Mount two IR line sensors under the chassis.
- 2Read analog values to detect black vs white surface.
- 3Write a threshold-based steering loop.
- 4Tune gains so the robot follows curves smoothly.
Prerequisites: Intro to Arduino