Kids build a plant pot that lights a lamp when the soil dries, and they learn how to test that lamp fairly.
Title and one-line promise
Kids will make a smart plant-watering reminder and learn what a fair test looks like. The LED is not the point. The point is knowing whether the light means “dry” because they checked, or because they hoped.
This is a different session from a garden that asks an AI when to water. Here the group builds the reminder and tests the sensor. They change one thing at a time.
Learning goals
Kids will be able to:
- Show that the light behaves differently in dry soil and in damp soil.
- Explain one reason a sensor reading might be wrong.
- Describe a fair test: one change, everything else held as still as they can.
Age and time
About 70 minutes, six to eight kids, one pot between two. Keep a dry table and a soil table apart.
- 5–7: The adult handles any tool, wire or battery, and kids explore, touch and describe dry soil, damp soil and the light going on or off.
- 8–11: Kids build with supervision and follow a simple test routine written on the board: dry, damp, back to dry.
- 12–15: Kids plan, measure and document where the sensor sits and what the light did, and they can use AI for research with an adult nearby.
- 16+: Kids lead the design, run fair tests and critique their own results, including a threshold they can justify.
Materials
Basic list
- Two or three small pots of soil. One kept dry, one watered the day before, one as the “mystery” pot.
- A soil-moisture sensor.
- A microcontroller board and one LED, or the LED already on the board.
- Jumper wires, tape, a battery pack made for the board.
- A card that says DRY and a card that says DAMP, placed only after a finger test by the adult.
Low-cost or reused
One sensor for the room. Pots from a previous planting. If you have no LED, the board can show a word on a screen, or you call the reading out and move a paper clip along a drawn scale. The fair test still stands.
Prepare in advance
Prove the sensor on your dry pot and your damp pot the day before. Note the two readings. If they are almost the same, the soil samples are not different enough, or the sensor is not in the soil. Fix that before the session. Pre-wire younger groups. Put paper towels between the wet pots and the board.
How to run it
Step 1. Feel first. Each pair touches the dry sample and the damp sample and says which is which. The adult confirms. The sensor stays on the table until the words are agreed.
Step 2. Connect with the adult. Power on. Probe the dry sample, hold still, write the light and the number if you have one. Probe the damp sample the same way: same depth, same wait. If the light does not change, use the failure script and change one thing. Depth is a good first change.
Step 3. Write the fair test before the mystery pot. On the board: “We change only the soil. We keep the sensor, the depth, the wait and the light the same.” Kids read it aloud.
Step 4. Mystery pot. They predict from touch, then measure. They say whether the light agrees with their fingers. Disagreement is useful. Find one reason: sensor against the wall, soil just watered on top, finger test in a different spot.
Step 5. Set a reminder rule in words. Example: “If the light is on and the soil feels dry, we tell an adult and water with a small cup.” The light alone never starts the watering. Hands are dry before anyone touches the board again.
Facilitator script: opening.
“Today we’re going to make a plant-watering reminder. By the end, I want us to answer one question: how do we know the light means the soil is dry? There are no wrong first tries. We’ll test, notice what happens, and change something.”
Facilitator script: when something fails.
“Great, that didn’t work. What did you expect, and what happened instead? What’s one small thing we could change?”
Facilitator script: using AI live with kids.
“Let’s ask the AI together. First we decide exactly what to ask. Then we read the answer out loud. Then we check it: does it match what we see? Can we find the same information somewhere else? Can an adult confirm it?”
Three questions to ask the kids
- What changes when the soil is different? Push for something they saw: the light, the number, the feel. “It knows” is not an observation.
- How do you know the sensor is right? The honest answer uses the samples you already labelled by touch. A sensor that matches dry and damp once is a start, not a finished instrument.
- What would a fair test look like? One change. Same depth. Same wait. A second try. If they want to change the pot and the sensor and the code together, ask which single change they will make first.
Common mistakes
- Changing several things at once. When the light misbehaves, pick one change: depth, or soil, or the wire. Write it down. Then look again.
- Water on the connectors. Wipe spills before anyone touches the board. Dry hands are part of the routine, not a scolding after the fact.
- Testing only the top crust. Water sits on top for a while. Probe the soil the roots would use, and use your finger at the same depth.
- A threshold copied from the internet. A number that worked on another board may be backwards on yours. Set the light from your dry pot and your damp pot.
- Leaving the sensor in the pot overnight without a plan. Remove it at the end unless an adult has chosen a safe powered setup. Corrosion and flat batteries are common by the next club.
Safety first
Keep liquids away from connectors. Dry hands before touching electronics. Low-voltage power only. Water with a cup, away from the board. No mains plugs, no pumps from the hardware shop, no cutting sensor probes down to “make them fit”.
Safety comes first. An adult supervises every session. Check tools, batteries, heat and sharp edges before kids touch them. If a project feels unsafe for the age group, simplify it or skip it. Never let anyone solder, use hot tools, or handle mains electricity without proper supervision and training.
Wash hands after soil. If a pot tips, power comes off first, cleaning second.
Finding answers with AI
Teach this routine for checking any answer: Ask, read, test, compare, confirm. If an answer affects safety, an adult makes the final call.
Sample prompt:
“I’m 10 and building a plant-watering reminder with a soil moisture sensor, an LED and a micro:bit. Explain how to test whether the light really means the soil is dry in simple words. Give me two ways to test your answer, and tell me what could go wrong.”
One thing to check. If the answer tells you to change the code, the depth and the soil together, it has failed the fair-test idea even if every step sounds clever. Run the two labelled pots first. The light should differ. If it does not, fix the setup before you trust any threshold the AI suggested.
AI can help you find answers fast, but it doesn’t know everything. It can be wrong, outdated, or confidently mistaken. Treat its answers as a starting point. Check them against a trusted source, test them in real life, and ask an adult when safety is involved. Don’t share names, photos, addresses or school details with an AI tool.
Questions? Reach out.
Stuck or unsure? Send your question to eran@goldmanmalka.com, or search for it live with an AI tool and check the answer using the routine above.
If you want people who already run sessions like this, start with Code Club Luxembourg and STEM.lu. The Code Club network, from the Raspberry Pi Foundation, publishes club formats you can adapt. There is more about school and club work on the about page.
