← Capstone projects

Smart plant monitor

Design a monitor that warns when a pot plant needs water: a soil moisture sensor, an alarm, and a display of the reading, tested at its threshold.

The garden club loses plants every holiday. Can a microcontroller tell them which pot is dry before it is too late?

Client: the school garden club. Context: pot plants in a classroom, checked twice a week.

Brief: a soil moisture sensor on A0 reads low when the soil is dry. The monitor must blink an LED when the reading is 300 or below, stay off otherwise, and show the reading (LCD or serial monitor). It must use only parts from the kit (or Tinkercad's parts), run on 4 × AA or USB, and fit in a box no bigger than a pencil case.

InquireRead the brief: who it is for, what it must do (criteria) and the limits (constraints).

Inquire: the brief

Sort each line of the brief: a criterion (what it must do, which you can test) or a constraint (a limit you must work within)?

Blinks the LED at a reading of 300 or below
Stays off above 300
Shows the current reading
Only parts from the kit
Runs on 4 × AA or USB
Fits in a pencil-case-sized box

DevelopPlan before you build: parts, circuit, code and the tests you will run.

Develop: plan before you build

Try it yourselfYour edits are saved in this browser.
Which test table checks the threshold best?

Prototype the decision: write the sketch so all five tests pass.

Use the board. This ticks when you get there.

CreateBuild it, first in the simulator, then for real if you have the kit. Expect a few tries; that is normal.

Create: build it

TestRun your tests and record what happened, including what failed.

Test: run your table

EvaluateJudge it against each criterion, and say what you would change.

Evaluate: against the brief

Which is the strongest evidence that the design meets a criterion?

For teachers

A Years 8–9 design project: a plant monitor with a soil sensor, an alarm at a threshold and a display, planned with a test table, prototyped on the board, built in Tinkercad and optionally on hardware, tested and evaluated against the brief. About 180 minutes.

Open the teacher guide: answers, solutions, slides and a worksheet.

Students will be able to

Before class

Builds on Arduino › A small system (the same alarm logic and boundary tests). Real soil sensors read differently in different soils: calibrate the threshold with real dry and wet soil, and say so in the evaluation. Resistive soil probes corrode if powered all the time; powering the sensor from a pin only while reading is a good extension.

If you assess with MYP Design, the steps line up with the criteria:

Running the lesson

  1. Inquire: ask which criterion will be hardest to test.
  2. Develop: no wiring until the test table is written.
  3. Evaluate: insist on a test result for every criterion.

The hard part (on purpose)

Students build first and plan never. Hold the test table as the ticket to start building.

When students get stuck

Stretch and support

Stretch: Add a second threshold (very dry: steady on) or a buzzer, and stop the alarm flickering near 300.

Support: A partly filled test table and the A small system sketch as a starting point.

Where it leads

Other Years 8–9 projects: Parking assistant, Reaction game.

Sources

What each step is for

Now you can
Next lesson2. Parking assistantDesign a distance warning: an ultrasonic sensor and a buzzer or LED that warns sooner and harder as something gets closer, tested at each band edge.