Slugs are one of the major pests causing significant seed yield losses in grass and legume seed production in Oregon's Willamette Valley. Chemical baits are costly and vary in efficacy, and they work best when slugs are actively feeding above ground. Growers commonly rely on general rules of thumb: slugs are mainly active at night, when relative humidity is high, temperatures range between 40 and 70°F, moisture is ample, and wind is below 5 mph. However, microclimate differences within a field affect slug presence and behavior, and growers have no practical way to know when slugs are actually active before or after baiting.
This project investigates whether self-customized, low-cost imaging and environmental sensing systems can monitor and predict slug activity. We hypothesize that slug activity in grass seed fields responds to short-term changes in weather, and that continuous field imaging can capture these responses and help predict periods of high slug activity. The project has three objectives:
Slug imaging station (about $350 per unit). Each station uses a night-vision camera controlled by a Raspberry Pi, with a timer that sets the imaging interval. The electronics are enclosed in a custom 3D-printed case mounted on a tripod, with LEDs for night illumination. Images are stored onboard and copied out weekly.
Weather station (about $200 per unit). Controlled by an ESP32 microcontroller with Wi-Fi and cellular connectivity, each weather station measures air temperature, relative humidity, solar radiation, wind speed, vapor pressure, and precipitation. A web dashboard shows system status and live weather data, and the station is designed to push weather-based treatment scheduling to users.
From October to December 2025, we deployed 24 imaging nodes and six weather stations in six conventionally tilled tall fescue seed production fields across the Willamette Valley: three in Washington County (North Valley) and three in Linn and Benton Counties (South Valley). Each node captured an image every 2–3 minutes from about 3 ft above the ground, covering a 2.5 × 3 ft area. In total, the systems collected 246,627 images in the first season.
We manually annotated all images from one site (about 53,000 images) and identified 194 distinct slugs across 3,577 frames. Slugs could be identified in both day and night images.
Relating slug presence to weather at this site showed that:
Note: These observations come from one site in one season and need to be confirmed with more data.
Lessons from the first season led to several system upgrades: brighter, fully waterproof RGB LEDs for night illumination; cameras and lights mounted closer to the ground for higher image resolution; standalone data loggers and real-time clocks so weather data can be matched to each image frame; and a soil moisture sensor at each site. The improved systems, with five imaging nodes and one weather station per field, have been collecting data since October 5, 2026, with clearly improved image quality and continuous weather records.
We thank the farmers who granted access to their fields for data collection.