← All Projects
UBC & Tandem Grove Farms · Sept 2024 – Apr 2025

Spray Sense: Automated Agriculture Sprayer

PCB Design (Altium) Embedded Firmware (C) Ultrasonic Sensing Client Project
Watch Video ▶
Tractor-mounted nutrient/herbicide sprayer misting a row of orchard trees
01 Purpose

Tandem Grove Farms was experiencing inefficient labour usage and reduced accuracy by manually spraying across two different sprayer platforms. The brief: develop a low-cost sensor package that detects targets automatically, cuts wasted overspray, and works on both machines without a redesign.

  • Reduce wasted overspray, manual labour, and inconsistency with a sensor-driven trigger system.
  • Design for compatibility across both the orchard sprayer and the herbicide sprayer already in use on the farm.
02 Process
  • Evaluated sensor technology — tested SICK ultrasonic sensors in isolation to confirm reliable target detection before committing to the design.
  • Consulted directly with the client to define a controller that was capable but still simple enough for a farm crew to operate day-to-day.
  • Designed the controller PCB in Altium, handling DC-DC conversion (5V/12V/24V), user inputs, ultrasonic sensor inputs, and solenoid outputs on one board.
  • Coordinated a 5-person team — split mechanical sensor mounts, enclosure design, and C firmware across the group and kept the build on schedule.
Sprayer controller PCB with ATmega328 MCU, solenoid relays, and power regulation labeled
Controller PCB — ATmega328, dual solenoid relays, 5V/24V regulation
Handheld sprayer controller enclosure with left/right zone controls and sensor inputs labeled
Final controller design with zone controls, trigger thresholds, timing controls
SICK ultrasonic sensor mounted on the sprayer boom
SICK ultrasonic sensor used on herbicide sprayer
03 Results
>95%
System repeatability
2
Sprayer platforms supported
5
Person team coordinated
  • Successfully deployed a functioning system on working farm equipment with >95% repeatability.
  • Reduced human error, manual labour, and wasted overspray for the client's day-to-day operation.
  • Delivered a novel, low-cost automation solution for a gap in the market — existing agriculture sprayers with no retrofit path to automation.
Ryan Huang — rhuang.caryanh1777@gmail.com · 672-999-9873
← Previous

K-Swap Mini Cooper

Next →

Puck Pal: Automated Puck Return