← Back to Portfolio

Line Following Robot

Skills: Image Processing, PID Control, Embedded Programming, OpenCV, Robotics, Rapid Prototyping

GitHub Repo

Project Summary

ME 433 capstone: Designed and built an autonomous 2-wheel robot that follows a line using real-time image processing and onboard control. Nearly all aspects—mechanics, electronics, software—were custom built, with a focus on robust computer vision and an effective PID-based drive system.

Mechanical Design

Mechanical Assembly
Mechanical design in Onshape CAD

System Architecture & Controls

Architecture Diagram
Block diagram for line following robot control system

Image Processing Pipeline

Raw Camera Input
Starting image
Cropped
Cropped image
Blurred
Blurred image
Threshed
Thresheld image
Raw Camera Input
Countour highlighted in green
Simulated run of CV program, scanning from bottom to top a single image

Motor Control & PID

Demonstration of control system reaction

Performance & Demonstration

What I'd Improve Next