Guided tutorial

Smart Plant Monitor

Build a soil moisture monitoring system that alerts you when your plant needs water.

beginner · 25 Sept 2026

Difficulty

beginner

Learning complexity

Sections

6

Structured content blocks

Topics

10

Linked learning concepts

Related links

6

Next steps and references

1. What you will build

Build a soil moisture monitoring system that alerts you when your plant needs water.

2. Wire the Soil Sensor

Connect the soil moisture sensor signal to A0, with VCC and GND connected to the Arduino.

3. Add the Threshold Control

Connect a potentiometer to A1 so you can tune the dry-soil threshold for different plants.

4. Add Status Outputs

Connect green and red LEDs to pins 10 and 11 through resistors, then connect a buzzer to pin 8.

5. Program the Plant States

Read moisture and threshold values, show green when the plant is hydrated, and show red with an alert when it is dry.

6. Test and Calibrate

Change the simulated moisture level and threshold to verify both states before choosing the final setting.

FAQ

Can I try Smart Plant Monitor in the simulator?

Yes. Use the Open in Lab action to load the guided build in the browser-based simulator.

Next step

Open this tutorial in the lab

Load the guided build in Ayantrik Lab and follow the same components and steps inside the simulator.