← All projects
2025AI & ML · IoT & HardwareCompleted

Onion Storage Health Monitor

Sensors and a model that tell a farmer how long the stored onions will last.

Onion Storage Health Monitor

The problem

Onions rot from inside the pile outward. By the time it's visible, a serious share of the harvest is gone, and the monitoring kit that would have caught it early costs more than a small farmer's crop is worth.

What I built

I built a low-cost sensor unit on an ESP32 with environmental and gas sensors, streamed the readings into a dashboard, and trained a Scikit-learn model to convert them into something useful in the field: roughly how long this batch will hold, and when to sell rather than store.

  • Custom sensor hardware measuring temperature, humidity, and spoilage gases
  • Dashboard showing current storage conditions
  • Scikit-learn model predicting remaining shelf life
  • Complete path from hardware to backend to database to prediction

How it turned out

Hardware, data, and a model in one working system. This is the kind of project I like most, where the code has to survive contact with the physical world.