This document describes a final project for an EE3234 Microprocessor Systems course where a student designed a line-following motor robot using a PIC32 microcontroller. The robot uses infrared sensors to detect a black path and has two modes of operation - tracking mode where it follows the line, and search mode where it systematically searches when the line is lost. The hardware components and software design are outlined, including using timers and output compare modules to control the DC motors in PWM. Code snippets and diagrams are included to explain the technical implementation of the line-following robot.