Purple Sky Profile Header

Build an Arduino Self-Driving Car

GROUP SIZE
2-4 students

AREA OF SCIENCE
Computer Science
Artificial Intelligence

This eight-part lesson will guide you through building and programming Arduino-controlled autonomous cars with your students. Each part contains a detailed step-by-step video and a supplemental lesson plan PDF with learning objectives, assessment opportunities, and appendices with circuit diagrams and example code. You can present the material yourself or have students follow along with the videos and pause to work on their autonomous cars.

  • Learn to build circuits and program individual parts of an autonomous car, including:
    • Using an H-bridge to control speed and direction of motors
    • Using an ultrasonic sensor to detect obstacles
    • Using infrared sensors to detect lines
  • Design and implement an algorithm for self-driving behavior, such as automatic obstacle avoidance and automatic lane following