SAP is an autonomous pest control robot designed to detect and spray lanternflies—an invasive species that threatens agriculture and gardens. The robot uses computer vision to identify pests, a motorized turret to aim, and a pump system to spray targeted amounts of pesticide.
Traditional pest control relies on broad chemical application, which affects beneficial insects and the environment. SAP addresses this by only spraying when a pest is detected, reducing pesticide use while maintaining effectiveness.

The completed SAP prototype.
Existing pest control robots are mostly in prototype stages, with limited options for home garden use. Competitors include CO2-emitting mosquito traps, suction-based devices, and laser deterrents—each with limitations in accuracy, range, or computational power.
Customer surveys identified key needs: autonomous operation, environmental friendliness, accuracy, and sufficient range. These translated into target specifications:
The system breaks down into four core subsystems: liquid storage, target identification, target tracking, and shooting mechanism. Each was designed and tested independently before integration.

Functional decomposition of the SAP system.
Each subsystem underwent detailed analysis. The storage system uses a fitted equation to convert force sensor readings to liquid volume. FEA confirmed the weighing platform can handle expected loads without excessive deformation.
The YOLO model achieved 500ms execution time—a significant improvement over the initial CNN approach which took 15 seconds with selective search. Tracking motors were sized with a factor of safety of 6, requiring 60 Ncm torque at 12V/1.5A.

YOLO model detecting lanternflies in real-time.
The prototype was built using laser-cut acrylic plates and 3D-printed components. Acrylic pieces connect using dovetail joints, eliminating the need for screws or adhesives.

Dovetail joint method used for assembly.
For mass production, the design would transition to injection-molded parts and integrated PCBs. This reduces per-unit cost but requires significant upfront tooling investment. Mold changes are expensive, so the design must be finalized before tooling.
The robot uses a penalty-based targeting system that reduces scores for targets near humans or electronics, preventing unintended spray. Testing determined the minimum pesticide amount needed for effectiveness.

Penalty system reduces priority for targets near protected areas.
The project demonstrated a working prototype for autonomous pest detection and targeted spraying. Key lessons included the importance of early hardware research (the team encountered issues with Raspberry Pi power requirements and motor driver amperage) and maintaining the project schedule.