All projects

The Sprout Guardian

A smart garden system that monitors soil moisture over Wi-Fi and waters the plants automatically, with a JavaFX interface.

Read
1 min
Source code
Public repository (opens in a new tab)
  • Java
  • JavaFX
  • Wi-Fi
  • Sensors

The problem

Plants don't tell you when they are thirsty until it is too late. I wanted a garden that watches the soil and waters itself.

What I built

A smart garden monitoring and irrigation system:

  • soil moisture sensors report their readings over Wi-Fi;
  • a JavaFX desktop interface shows the moisture in real time;
  • a pump is controlled automatically, so the plants are watered when the soil gets too dry.

The interesting part

Closing the loop. Showing a sensor value is easy; acting on it safely is the real work. Deciding when to water (and when to stop) turns a dashboard into an automation system.

What I learned

  • Automation needs sensible limits, not just a single threshold.
  • A clear UI builds trust in what the system is doing on its own.
  • The same ideas (sensors, a network, a live UI) came back in my later .NET projects.
An unhandled error has occurred. Reload 🗙