PBL Competition: Self-Driving Car

A collaborative project between Osaka Institute of Technology, New Taipei Municipal Zhonghe Senior High School, and National Taipei University of Technology.

Competition Rules

The competition field features four obstacle areas at each corner: sand, grass, white rock, and water area respectively. There is a high heel area in the center of the field. Competitors must navigate these obstacles while collecting as many red balls as possible.

Tools & Technology

Our system utilizes:

  • Vision System: Pixy camera connected to Arduino Mega board for automatic image processing and ball detection
  • Motors: Two 12V DC motors for driving and a 7V servo motor for the ball catcher mechanism
  • Sensors: Ultrasonic sensor for wall detection and obstacle avoidance

Robot Design

We designed a specialized ball collection system inspired by table tennis ball collectors. The mechanism features a rope-based catcher that efficiently transfers collected red balls to a storage container at the rear of the robot.

Robot Design

Program Flow

Our program operates in three main steps:

  • 1. Wall Detection: Ultrasonic sensor monitors wall distance and triggers turning when necessary
  • 2. Ball Tracking: Camera centers on detected red balls through directional adjustments
  • 3. Ball Collection: When a ball is properly aligned (Y-axis > 180), the catcher mechanism activates
© Copyright 2025 Bruce Lin