Self Targeting Laser Turret

Laser turret system capable of tracking a red target in real-time using MATLAB-based computer vision and Arduino PID control.

Role · Developer

Overview

This project involved designing and implementing a two-axis laser turret capable of tracking a moving red circular target in real-time. The system integrates a webcam, MATLAB for image processing, and an Arduino for PID-based actuation. The goal was to keep a laser pointer aimed at the target within a 1 m × 1 m workspace for at least 20 continuous seconds.

What it does

  • Real-time red target detection via webcam

  • Manual PID control for dual-axis DC motor actuation

  • Two degrees of freedom for turret motion

  • Continuous laser alignment to follow the target

  • Data visualization and signal plotting in MATLAB

  • Mechanical model and structure designed in SolidWorks

Results

  • Maintained laser alignment with a moving target
  • Stability confirmed under variable motion conditions
  • Visualization of position data and control signals

Video

Specifications

Stack
  • MATLAB with Image Processing Toolbox
  • Arduino UNO
  • Serial Communication Protocol
  • SolidWorks for mechanical design
  • Custom PID control implementation in C++
Domain
control