Smart plant watering with a phone dashboard
Measure soil moisture with an ESP32, switch a small pump when the soil is dry, and see the readings and control the pump from your phone over MQTT.
What this proves to recruiters
- You can build a complete IoT system.
- You understand sensors, actuators and control.
- You can use MQTT, a standard IoT protocol.
Skills you will use
- ESP32
- MQTT
- Sensors and relays
- IoT
Parts list
You can buy the listed parts online here:
| Part | Qty | Approx. price | Shop |
|---|---|---|---|
| ESP32 DevKit V1 board | 1 | ₹400 | Find on Amazon |
| Capacitive soil moisture sensor | 1 | ₹90 | Find on Amazon |
| 5 V relay module | 1 | ₹70 | Find on Amazon |
| Mini 5 V submersible pump with tube | 1 | ₹120 | Find on Amazon |
| Breadboard, 830 points | 1 | ₹90 | Find on Amazon |
| Jumper wire set (male-male and male-female) | 1 | ₹120 | Find on Amazon |
| Total, about | ₹900 | ||
Prices are rough online prices in India and change with the seller. You may already have some parts, or find them in your college lab.
As an Amazon Associate I earn from qualifying purchases. Buying through these links costs you nothing extra and helps keep this site free.
Free software
- Arduino IDE
- A free public MQTT broker for testing
- An MQTT dashboard app for your phone
Steps
- Calibrate the soil sensor: note the reading in dry soil and in wet soil.
- Convert readings to a 0–100% moisture value.
- Drive the relay from a GPIO; the relay switches the 5 V pump.
- Water for 3 seconds when moisture falls below 30%, then wait 10 minutes before checking again.
- Publish moisture every minute to an MQTT topic and subscribe to a “water now” topic.
- Build a phone dashboard with a gauge and a button.
Make it stand out
- Run it from a solar panel and a battery.
- Add a water-level sensor so the pump never runs dry.
Put it on your resume
Built an ESP32 plant-watering system with soil sensing, relay-driven pump and an MQTT phone dashboard.
Replace each [x] with a number you measured. Real numbers make a line believable.
Keep going
This project fits stage 1, “C and your first microcontroller”, of the Embedded systems and firmware roadmap. See also how freshers get into embedded C developer jobs.
More Embedded systems and firmware projects
- Wi-Fi thermometer with an OLED displayBeginner1 weekend~₹1,050
- Bare-metal I²C driver on STM32Intermediate2–3 weekends~₹1,900
- FreeRTOS data logger with SD card and web viewIntermediate2–3 weekends~₹1,050
- Line-following robot with PID controlIntermediate2–3 weekends~₹1,850
- Linux character driver for an LED on Raspberry PiAdvanced3–4 weekends~₹5,900