Plant Saver – SCOPES-DF

Lesson Details

Age Ranges *

Author

Yelena Prokofeva
Yelena Prokofeva
K-12 teacher
Born and raised in Dilijan, Armenia, she is married and has three sons. Loves learning new things and exploring the world. Considers working with children her calling.  “Even after a heavy rain, there’s a rainbow in the sky” Read More

Summary

During the lesson, students learn the basics of physical programming.

The objective: create a simple system that will inform us about the condition of the soil in houseplants.

 

assesment protocol

 

 

 

What You'll Need

Hardware:

  • Computer
  • Microcontroller Board (Arduino Uno)
  • Capacitive Soil Moisture Sensor v1.2
  • Wires
  • 2 Led(green&red)
  • Breadboard
  • 2 Current-Limiting Resistors
  • 2 potted houseplants
  • Water

Software:

  • Arduino IDE 2.3.4

 

Learning Objectives

Learning objectives:

 

  • Identify Plant Transpiration Requirements: Understand how environmental factors (light, heat, humidity) affect a plant’s water loss through its leaves.

 

  • Analyze Soil-Water Relationships: Explain how different soil types (sand vs. clay) retain moisture and how that affects sensor readings.

 

  • Determine Species-Specific Thresholds: Research and define the specific “wilting point” for a chosen plant species to set accurate irrigation triggers

 

  •  Understand the role of a microcontroller (Arduino) in an electronic system.

 

  • Learn how to complete a simple circuit using an LED and a resistor.

 

  • Explain the Input-Output Model: Demonstrate how an analog signal from the soil is translated into a digital signal to light up specific LEDs.

 

  • Perform Sensor Calibration: Determine the specific “Dry” and “Wet” numerical constants for their soil sample by testing the sensor in open air versus saturated soil.

 

  • Program a capacitive soil sensor to trigger visual alerts based on environmental data.

 

 

 

Reflection

Some of the concepts were challenging for students of this age. Despite this, the lesson successfully transitioned students from passive data reading to active system design. By removing the screen and relying on two LEDs, students were forced to determine “healthy soil” logically, rather than simply by reading a number. The most important takeaway was the students’ understanding that human-defined context (calibration) is essential for sensors to operate effectively.

The Instructions

Introduction to the

Objective: Discussion on basic Arduino knowledge.

Discussing and introducing questions:

 

  • What is Arduino? Explain that it is the “brain” of the project. Like a human brain receives signals from the skin (touch) and tells the hand to move, Arduino receives signals from sensors and tells LEDs to light up.
  • Input vs. Output: * Inputs: Sensors (Soil moisture, buttons, light sensor
  • Outputs: Actuators (LEDs, buzzers, motors).

 

  • The Software: Introduce the Arduino IDE. Explain that we use “sketches” (code) to tell the brain what to do.
  • Key Terminology:
  • Digital: Only two states—ON (High) or OFF (Low).
  • Analog: A range of values (e.g., 0 to 1023) used for measuring “how much” moisture is in the soil.

 

Lighting the Way - The Simple Circuit (25 Mins)

Objective: Building and programming a single LED circuit. The Task: Connect a single LED to Pin 13 and Ground (GND).

Safety First: Explain why we use resistors (to prevent the LED from “blowing up” from too much current).

Polarity: Teach students that LEDs have a long leg (Positive/Anode) and a short leg (Negative/Cathode).

 

The Code: Introduce the Blink sketch.

void setup() {

 pinMode(13, OUTPUT);

}

void loop() {

 digitalWrite(13, HIGH); // Turn LED on

 delay(1000);      // Wait 1 second

 digitalWrite(13, LOW); // Turn LED off

 delay(1000);

}

 

Activity: Students must successfully make their LED blink before moving to the main project.

Part 3: Building the Plant Saver (1 hour)

Constructing the Plant Saver full system.

1. The Hardware Setup

Students will now expand their circuit to include:

 

  • The Sensor: A Capacitive Soil Moisture Sensor (v1.2). Unlike resistive sensors, these don’t corrode as quickly.

 

  • Two LEDs: Green (Moist) and Red (Dry).

 

  • Wiring Guide: Sensor: VCC to 5V, GND to GND, and AUOUT to Analog Pin A0. LEDs: Green to Digital Pin 2, Red to Digital Pin 3 (using resistors for both).

 

2. The Logic (Programming)

Explain the if/else logic: If the soil is dry, then turn on the Red LED. Otherwise, turn on the Green LED.

 

const int sensorPin = A0;

const int redLED = 3

const int greenLED = 2;

void setup() {

Serial.begin(9600);

 pinMode(redLED, OUTPUT);

 pinMode(greenLED, OUTPUT);

}

 

void loop() {

int sensorVal = analogRead(A0);

Serial.println(sensorVal);

if( sensorVal > 450) {

   digitalWrite(redLED, HIGH);

  digitalWrite(greenLED, LOW);

}

else{

   digitalWrite(redLED, LOW);

  digitalWrite(greenLED, HIGH);

}

}

Lesson Feedback

Contact us

Having trouble? Let us know by completing the form below. We'll do our best to get your issues resolved quickly.

"*" indicates required fields

This field is for validation purposes and should be left unchanged.
Name*
Email*
?