Autonomous Mechatronic Scavenger Robot

Designed and Constructed an autonomous system capable of navigating a 25x25 area to locate, collect, and sort valuable objects based on color within a 120-second time limit.

Back to Home

Project Overview

The Autonomous Scavenger Robot was designed to address the risks associated with human-operated retrieval in hazardous or inaccessible environments, such as deep-sea or Martian terrain. The core objective was to develop a mechatronic system capable of navigating a 25x25 meter area to locate, collect, and sort valuable objects based on color within a strict 120-second time limit.

The project required a multidisciplinary approach, integrating mechanical design, electronic control, and autonomous software algorithms.

Constraints & Requirements

  • Autonomy: The robot had to operate entirely independently using an ESP32 microcontroller, relying solely on internal programming and sensors without external guides or human intervention.
  • Compact & Lightweight: To maximize speed and efficiency, the design target was a weight under 1kg and dimensions small enough to fit in a standard MSE locker without disassembly.
  • Budget: A strict $50 budget for additional components necessitated highly efficient resource utilization.

Technical Specifications

  • Microcontroller: ESP32-based MSEduino board.
  • Locomotion: Two-wheel drive (2WD) with a rear metal roller ball for enhanced maneuverability.
  • Sensors: Ultrasonic sensors for distance and collision avoidance, a TCS34725 color sensor for object identification, and an IR receiver for home base navigation.
  • Weight: Approximately 500 grams (50% of the maximum allowable weight).

The Solution

The final design utilized a two-wheel rear-drive configuration powered by high-torque DC motors, selected for its agility, simplicity, and ease of control. To solve the issue of friction on uneven terrains encountered during early testing, swivel ball furniture movers were integrated at the front end to improve stability and reduce drag.

  1. Object Collection & Transportation:

    To overcome gravity and lift gems off the ground, a rotating "windmill" sweeper arm was engineered. This arm worked in conjunction with a built-in ramp to scoop gems effectively into internal storage. A barrier wall was added next to the bucket to prevent gems from being flung at an angle and missing the containment area.

  2. Color Detection:

    The robot employed an array of photoresistors positioned above the collection area to detect the color of incoming gems. By calibrating the sensors to recognize specific light intensity thresholds corresponding to red, green, and blue gems, the system could make real-time sorting decisions.

  3. Mechanical Reliability:

    Using SolidWorks, the chassis was meticulously designed to optimize weight distribution and structural integrity. Prototyping and iterative testing led to refinements that enhanced durability without compromising speed.

Mechanical Design & build

The robot's chassis was designed to house multiple subsystems within a compact frame that could fit into an MSE locker without disassembly. The build focused on a 2-wheel drive (2WD) system for efficiency and weight distribution.

Key Mechanical Components

  • Chasis & Frame: A 3D-printed structure (PLA) that provided the mounting points for all motors, sensors, and the MSEduino board.
  • Collection Subsystem: Utilized a "Large Funnel Plate" and a "Small Funnel Plate" to guide objects toward the sensor. A ramp extension was added to ensure gems could be collected from the floor effectively after wheel height adjustments.
  • Color Detection Array: An array of photoresistors was positioned above the collection area to detect the color of incoming objects, enabling real-time sorting.
  • Sorting & Transportation: High-torque DC motors powered the rear wheels, while swivel ball furniture movers were integrated at the front to enhance stability and reduce drag on uneven terrain.
    • Sorter Arm: A mechanical gate that activated when the color sensor identified a green gem.
    • Sweeper/Windmill Arm: A rotating arm that moved the sorted gems into the dump bucket.
  • Dump Bucket: A storage area mounted on a servo motor that flipped to deposit gems once the robot reached the home base.

Electrical & Software Architecture

The system's "brain" was an ESP32-based microcontroller (MSEduino) programmed to handle real-time data processing without delay functions to ensure immediate reactions to obstacles.

Sensory & Power Schematic

  • TCS34725 Color Sensor: Calibrated using normalized wavelength values to identify green gems while ignoring the floor color.

  • HC-SR04 Ultrasonic Sensor: Positioned to detect the home base bin at a threshold of 2cm to trigger the deposit mechanism.
  • IR Receiver (TSOP32238): Used to detect the IR beacon signal from the home base, allowing the robot to "lock on" and drive toward the deposit area.

  • Motors: Two DC motors with encoders for precision driving and three servo motors for the bucket and sorting arms.

Software Logic Stages

  • Navigation Stage: The robot executes a hardcoded or grid-based path while monitoring for obstacles.

  • Detection & Sort Stage: If the color sensor reads a "Green" value, the sorter arm opens; otherwise, it remains closed to discard the item.

  • Homing Stage: After 90 cm or a set distance, the robot spins until the IR detector finds the home base signal and initiates a return drive.

  • Deposit Stage: Once the ultrasonic sensor detects a proximity of 2cm to the home bucket, the motors stop and the dump bucket servo rotates 180 degrees.

Architecture & Decision Making

Discuss your architecture, the algorithms you chose, and why you chose them. Demonstrate your engineering decision-making process.

Key Innovation: Used a custom Transformer-based model to reduce inference time by 40% compared to standard RNNs.

Results & Impact

98% Accuracy Achieved
-15% Latency Reduction

Summarize the final outcome and what you learned from this project. Quantifiable results are always better than generic descriptions.