Arduino Smart Garden Basics
Environmental ScienceSustainabilityElectrical EngineeringComputing SystemsImpact of ComputingEngineering DesignEcosystem Interactions

Arduino Smart Garden Basics

Grades 9–12
1 hr 55 min
11 steps
Groups of 5
STELGrades 3, 4, 5Earth Science: Grades 9, 10, 11, 12NGSS+6

Standards Alignment

STEL

  • 9-12-1N: Explain how the world around them guides technological development and engineering design.
  • 9-12-4Q: Critique whether existing or proposed technologies use resources sustainably.
  • 9-12-5H: Evaluate a technological innovation that arose from a specific society’s unique need or want.
  • 9-12-7BB: Implement the best possible solution to a design.
  • 9-12-8P: Apply appropriate methods to diagnose, adjust, and repair systems to ensure precise, safe, and proper functionality.

Grades 3, 4, 5

  • Students demonstrate a sound understanding of the nature and operation of technology systems.
  • Students employ technology in the development of strategies for solving problems in the real world.

Earth Science: Grades 9, 10, 11, 12

  • Give instances of how technological advances have influenced the progress of science and how science has influenced advances in technology.
  • Select and use appropriate technological instruments to collect and analyze data.
  • Plan and conduct experiments in which students may:
  • Analyze data, check it for accuracy and construct reasonable conclusions.
  • Observe objects, events and patterns and record both qualitative and quantitative information.

Related NC CTE courses

  • Animal Science (ANSC)
  • Equine Science (EQSC)
  • Food Products and Processing Systems (FPPR)
  • Natural Resources (NARE)
  • Plant Systems (PLSV)
  • Power, Structural, and Technical Systems (PSTE)
  • Sustainable Agriculture (SUAG)
  • Drafting Engineering (DREN)
  • PLTW Engineering (PLWE)
  • SREB Aerospace Engineering (AEEN)
  • SREB Clean Energy Technology (CENT)
  • SREB Energy and Power (ENPO)
  • SREB Innovations in Science and Technology (INST)
  • Technology Engineering and Design (TEND)

Showing 12 of 36 standards.

Lesson Steps

1

Before You Begin

Not listed

Before you begin, please clear yourself a workspace, gather your Arduino Workbench, Arduino Smart Garden Add-On, garden supplies from your teacher, and get your computer. A notebook and writing utensil are recommended, but not required.

Teaching tips

Before you begin, you will need to get soil for the project if your kit does not come with soil. Most communities that have a composting program may have soil available. Alternatively, you could have students bring in their own soil samples (perhaps enough to fill a quart-size baggie) to compare the growing capabilities of different soils. 

If you have not completed the Arduino Essentials classbox, parts of this project may be linked to resources from that project. If you have completed that project, feel free to jump over those sections.

If you have not used Arduino Web Editor before, please consult your IT department about installing the Arduino Create Agent so the web editor can interface with the Arduino board.

Each group needs: (asterisk denotes that the item is included in the Arduino Workbench)

1x Arduino Workbench Organizer with Phasedock Topper *
1x Arduino Uno on Phasedock interface *
1x Breadboard on Phasedock interface *
1x Photoresistor *
1x 10K Ohm Resistor *
Assorted Male-Male Jumper Wires *
1x Capacitive Soil Moisture Sensor
1x 5V Relay Module
1x Submersible Water Pump
1x 1 Meter of Vinyl Tubing
At least 15-20 Male-Female jumper wires
Tiny Phillips screwdriver (PH00) for relay hookup.

Materials for the project (again, per student group):

3x 16 ounce party cups

Approximately 2 cups of soil

Approximately 1/2 cup of gravel

3 Pinto Beans

Approximately 1" of 3/4 inch adhesive-lined shrink tubing per soil moisture sensor. (I made a video below about shrink-tubing your soil moisture sensor)

If you don't have access to shrink tubing, I have some alternative suggestions in Step 2 on how you can help make your sensor more water-resistant!
 

2

Overview

5 min

Image Source: Canva

Welcome to the Arduino Smart Garden: Basics Course! You will be using an Arduino microcontroller and other components to:

  • Wire and code a photoresistor sensor
  • Use the photoresistor sensor to measure lighting conditions in different growing locations
  • Wire and code a capacitive soil moisture sensor
  • Use the capacitive soil moisture sensor to control a relay/pump
  • Incorporate soil moisture and relay/pump system into a growing system to water pinto beans

While gardening and agriculture have been around as long as civilization, the automation of these systems is quite a new advancement. Smart gardening uses technology to provide and manage light, water, nutrients, temperature, and a wide variety of other factors that can influence the growth of plants. This can be done with many readily available and inexpensive devices like an Arduino, Raspberry Pi, or similar controller.

Smart gardening has these benefits over traditional gardening methods:

  • Added convenience - Gardening can be a chore. With smart gardening devices, you can automate much of it.
  • Improved energy efficiency - You can optimize your garden to conserve power and water.
  • Better productivity - Smart gardening optimizes everything plants need to live, so you should get a better yield from crops.
  • Digital Green Thumb - If you're a novice gardener, a smart garden can help you keep your plants alive

In this project, we will design and build a smart garden to grow readily available pinto beans. We will be using this guide for growing pinto beans and we will refer back to it when we are making decisions about growing conditions and automation. 

 

Teaching tips

Welcome to the Arduino Smart Garden: Basics Course!

In this project, students will be using an Arduino microcontroller and other components to:

  • Wire and code a photoresistor sensor
  • Use the photoresistor sensor to measure lighting conditions in different growing locations
  • Wire and code a capacitive soil moisture sensor
  • Use the capacitive soil moisture sensor to control a relay/pump
  • Incorporate soil moisture and relay/pump system into a growing system to water pinto beans

We will be using this guide for growing pinto beans and we will refer back to it when we are making decisions about growing conditions and automation. 

One thing that will be stressed here is that even though we are using an Arduino to monitor and water plants, water and electronic components don't mix well.

One area of particular concern is the Soil Moisture Sensor here is an instructable with some ideas on how to make the sensor more water resistant. My favorite option is using shrink tubing. I found that a 3/4" (19.1mm) width, adhesive-lined piece of shrinkwrap fits the sensor very well. I cut a 1 and 3/4" piece and heated it slightly to cover the components. While it was still hot, I squeezed things gently to make sure there was good adhesion between the tubing and the sensor's surface mount components. Here is a link to some tubing I used. Since you're likely not going to need several feet of this tubing, I would buy something like this kit (I have the same one). Once you find how useful shrink tubing is, you will find uses for all the different sizes available in that kit!

If the guide for growing pinto beans is ever unavailable, here is a PDF printout of the Spruce website. It is much less pretty, but has the relevant information!

3

Here comes the...Photoresistor!

10 min

In this step, you will learn about the photoresistor and then create a circuit to help determine the best spot for you to place your Arduino Smart Garden!

EE Tech Media, https://eepower.com/resistor-guide/resistor-types/photo-resistor/#, No Date

This is a photoresistor. If you are a fan of your Greek and Latin words, you can probably figure out that this is a resistor that is augmented by light. When placed in the dark, photoresistors have very high resistance. But, when interacting with light, they have very low resistance. The little, zig-zag band between the two sides of the photoresistor is very sensitive to light. So as the light increases, it allows more current to flow from one side to another. But, when that light shuts off, the material no longer allows current to flow as freely.

The Arduino can read the change in resistance and tell us how bright something is! And, we are going to be using an analog input. So the values we will get can range from 0 (absolute darkness) to 1023 (super duper bright). 

Notice how the photoresistor has a flat side (the side with the zig-zag metal part)? That is most effective when that "face" is pointed directly at a light source. We will do a quick demonstration of that with your cell phone in the next step!

Follow the wiring diagram and video below to wire your photoresistor:

Once you have your circuit set up, then we can move on to coding and testing!

 

Teaching tips

In this step, students will be wiring up a simple circuit using the photoresistor.

Side note on Arduinos in the classroom: If you are looking at labware (if you're into data collection) there are some really nice sets of data collectors and probes available from Vernier, Pasco, etc. But, Those get spendy! If you have an Arduino, you have access to a large catalog of hundreds of sensors. Most sensors are a few bucks apiece. So not only could you save on costs, but you can inexpensively expand your data collecting and sensing library. Plus, you get the added benefit of having students wire up and better understand the sensors you're using!

4

Seeing the Light: Photoresistor Code and Testing

10 min

In this step, you will upload your code and test the circuit you made. You will use this information to find the best spot for growing your bean plants.

Below is the code, a short video discussing the code (it is only a few lines, so it isn't extensive), and testing the setup to see how much light the photosensor detects!

If you're not familiar with the Arduino Web Editor:

  1. Click on the dark green ‘Open Code’ button in the top right of the box below

  2. Once in the Arduino Web Editor, click ‘Add to my Sketchbook’

  3. If you have not previously made an account, you will be prompted to sign in and create an account. Once you put in your birthday, you will be asked to provide an email and username

  4. Once you have created an account and signed in, watch the video below

 

Testing your Photoresistor

Before you go collecting data, we should test our photocell at our workspace. This works best in a dim room.

  1. Set your Arduino Workbench on a flat surface
  2. Make sure the photoresistor "face" is pointed straight up (you may have to bend it slightly)
  3. Using a cell phone (or other bright light source), turn on the flashlight and hold it at a low angle (close to the desk) with the light pointing toward the photoresistor
  4. Record the value of the photoresistor
  5. Keeping roughly the same distance away from the photoresistor, slowly move the phone up until it is straight above the photoresistor (make sure the phone flashlight is pointing at the photoresistor
  6. How does the value of the photoresistor compare when the phone is at a low angle versus a high angle?  

Photoresistor Test Results and Solar Panels

The quick test you did above shows the photoresistor gets the highest values when the 'face' is perpendicular to the source. This same phenomenon is how installers determine what angle to install solar panels. When a solar panel is perpendicular to the sun, it gets its highest value. This means that it can take the most advantage of the sunlight hitting it to turn those photons into energy.

If a solar panel was installed flat against the ground, it would only be effective near the equator when the sun is overhead. In the northern hemisphere, a solar installer will angle the panels south depending on your latitude. If you have a fancy solar system, the panels can even track the sun as it moves across the sky!

Getting data for the Arduino Smart Garden

When you find the location where you are going to set up your Arduino Smart Garden, make sure to record the analog sensor value for brightness. Like in the above example, make sure your photoresistor is pointed in the direction your group thinks will get the most light!

This data may come in later if your teacher has you write a laboratory report on your Arduino Smart Garden. If you want to collaborate with other groups, you could set up some gardens in a darker location and some gardens in a lighter location. You could compare your growth results with the other groups to see the effect of ambient light on plant growth!

Now it is time to begin using the soil moisture sensor!

Teaching tips

In this step, students will be uploading code to their circuit, testing the photoresistor sensitivity at different angles, and then measuring light around the classroom to find the best location (or just collect data on their chosen location) to grow their plant. 

 

In the student notes, I suggested an experimental setup to test the effect of ambient light intensity on plant growth. This is totally optional. But, if you want to bring in some scientific method, you would really need to only change one variable. If you had students all with different watering thresholds or watering methods, that would throw things off. 

What I would do is this:

1. Have students grow their plants in a variety of locations.  They really could all grow in the brightest windowsill if they want.

2. Have students record their luminosity readings from their sensors.

3. Proceed through the Arduino Smart Garden Project as normal. (Include the requirement of a lab notebook to record any changes to code, the position of soil probes, relevant observations, etc)

4 Once plants germinate, record the date and growth. Record these daily observations on a shared document (a Google Sheet would be best).

5. See if there is a correlation between growth rate and luminosity between all the student data.

6. Do a massive discussion about all the confounding variables between each group (don't forget that each sensor for the soil moisture is likely to have some variance too!)

7. Publish this paper in some sort of fancy educational journal giving me credit for such an awesome idea.

5

Setting up your Input: Soil Moisture Hookup

10 min

Joshua Hrisko, https://makersportal.com/blog/2020/5/26/capacitive-soil-moisture-calibration-with-arduino, 2020

Your soil moisture sensor will be the last input for the Arduino Smart Garden. The soil moisture sensor works by measuring the moisture content of the soil through a property called capacitance. As the moisture level increases, so does its capacitance. 

Hookup Guide

Below is the hookup diagram as well as a video to walk you through how to connect your Arduino and your Soil Moisture Sensor.

 

In the next step, we will upload code to make your soil moisture sensor send data back to your computer.

Teaching tips

This one will be a bit trickier. Inherently, the soil will have some moisture content (unless you live in the Sahara or a similar climate).

If you provided soil, this would be a lot more homogenous between the groups. A bag of potting soil is often made with a high amount of organic matter. Some brands mix loamy soil into the organic material. Potting soils also often have fertilizers as well. A true loamy soil, probably best for this project, would be 33% clay, 33% sand, and 33% silt. But, use what you have available! 

If you have students bring in soil, look at the soil composition. According to this site, which will be linked in the student section as well, The squish test and ball test will give students a rough idea of what kind of soil they brought in. If you had the extra 24-48 hours and a bunch of jars, you could do the jar test too. 

This site talks about Field Capacity, essentially how much water remains in the soil a few days after it has been watered, and Wilt Point, where the water in the soil is inaccessible to the plants. This site, which will be linked for the students in the content section, has a very nice chart showing the range where water is available to the plants depending on soil type.

6

Setting up your Input: Soil Moisture Code

10 min

Now that you have the soil moisture sensor connected to the Arduino, you need to upload the code to tell the Arduino to send soil moisture data to your computer.

If you're not familiar with the Arduino Web Editor:

  1. Click on the dark green ‘Open Code’ button in the top right of the box below

  2. Once in the Arduino Web Editor, click ‘Add to my Sketchbook’

  3. If you have not previously made an account, you will be prompted to sign in and create an account. Once you put in your birthday, you will be asked to provide an email and username

  4. Once you have created an account and signed in, watch the video below

Below is the code and further below is a video explaining the code.

 

Now that you have the code uploaded, we can test the sensor!

Teaching tips

 

This will come into play later, but make sure students are really reading the comments in the code and understanding what is happening in each line. Later, they will be asked to make their own comments in the code and it helps to know what is going on to make those comments!

7

Setting up your Input: Soil Moisture Testing

10 min

In this step, you will be testing and calibrating your soil moisture probe and understanding the data that comes out.

Notes:

1. The soil moisture sensor does not give you a percentage or precise amount. It gives a voltage related to the capacitance that the soil moisture sensor senses. The basic principle is:

  • The more water in the soil, the better the conductivity and the lower the resistance.
  • The less water in the soil, the lower the conductivity and thus the higher the resistance.
  • Since the sensor generates an analog output voltage proportional to the soil moisture level:
    • A higher level results in a higher voltage
    • A lower level results in a lower voltage.
  • Thus, a lower number means more water is in the soil!

2. Don't get the soil moisture sensor wet. This might sound counterintuitive, but the pointy end of the soil moisture sensor is fine to put in the ground/get wet. The top part (above the white line that has all the surface mount components), should definitely not get wet. If those get wet, you're gonna have a bad time!

3. Each soil moisture sensor is a little different. If you find that 450 is a good moisture level for your plants with one sensor, you might find that 500 is a good moisture level with a different senor. So take readings like in the video (note, the soil moisture in the video ended up leveling out around 516 after about 15 minutes, so you might need to take some time to get an accurate data reading!)

 

Below is a video showing how to test your soil moisture sensor. 

Next, we will include a pump and relay to be controlled by your soil moisture sensor!

Teaching tips

This section is pretty quick and easy. But, here are some tips:

1. The soil moisture sensor takes a few seconds (and sometimes up to 15 minutes) to "level out." If you move the sensor from the dry air and then dunk it in water, it will instantly change in reading. But, sometimes water will permeate the PCB and it may take some time to dry out completely and return to the dry air reading. 

2. I also suggest that if you want to test in soil, have students set up their double cup experimental setups (minus seeds) in step 11. That way, they can add water, let it drain, and then they can get a good reading for what their saturated soil should read on the soil moisture sensor. Obviously, if you do this, you will need to increase the allotted time for this step. 

8

Setting up your Output: Relay/Pump

10 min

A relay is an interesting type of switch used in electronics. Depending on the type of relay, you can use a relay to turn on and off a lamp in your house. A standard incandescent bulb is about 60 watts at 120 volts at a rate of about 0.5 amps. Your Arduino, in the best-case scenario, can only output 5 volts at around 800 milliamps (mA) (0.8A (amps)). This means, at best, your Arduino can deliver about 4 watts of power (oh that poor power regulator!).

A relay basically allows a relatively low voltage to easily control higher power circuits. A relay accomplishes this by using the 5V outputted from an Arduino pin to energize the electromagnet which in turn closes an internal, physical switch to turn on or off a higher power circuit.

For example, below you can see how an Arduino uses a relay to 'interrupt' the flow of current. When the relay is switched on, the current passes through the relay and does not pass through the Arduino. This allows the Arduino to turn on a lamp with such amounts of power! 

No Author, https://osoyoo.com/2017/08/28/arduino-lesson-1-channel-relay-module/, 2017

Now you might be thinking, "If the pump is a 5-volt pump, why do we have to use a relay? Why can't we just run it off the pin like we do everything else?" Well, smartypants, that is a valid question. The answer lies in how the Arduino is constructed and how it distributes power. Remember when I said that the maximum current the Arduino can output is about 800mA (0.8A)? Well, that is enough to run the pump, but, the digital pins on the Arduino can only output 40mA (0.04A). That is definitely not enough to run the pump. So, we use a relay to control the flow of current from the 5-volt pins on the Arduino! 

The pump is a small, submersible pump. Inside the plastic casing of the pump is a small DC motor and a propeller. The motor turns the propeller and pushes water up the tubing. One downside is that the motor creates Electromagnetic Interference (EMI). In the videos, it is called RFI (radio frequency interference). EMI is a more accurate term for what the motor is doing. There are several options for dealing with EMI. The simplest (and the option implemented here) is to put distance between the source of the interference and the Arduino. It is amazing what a difference a few extra lengths of jumper cables can make!

Below is the hookup guide and below that is a video explaining how to connect your soil moisture sensor, relay, and pump: 

 

 

After your soil moisture sensor and pump are connected, we can move on to coding the Arduino!

 

Teaching tips

This step does have a lot of information related to the power, current, and limitations of the Arduino. I thought it was interesting as I had to do a lot of this fundamental research on the Arduinos to troubleshoot my problems in creating the project. If this is something that you do not want to introduce to your students (might be better served in a physics class, perhaps), it would still be good to relate that the Arduino can control (output) small currents. With the relay, it can use that small current to control larger currents (like the lightbulb example). 

Relays are fun. And they are also electromagnets (magnetic fields, electric fields, etc are some deeper topics you could go down the rabbit hole on). But we are using one to control the switching on/off of a pump. The pump, frustratingly enough, generates enough electromagnetic interference to cause issues with the Arduino. Students need to use male-female jumper wires to build some distance between their pump and the rest of the Arduino and sensor package. Otherwise, you're going to have a bad time...trust me.

9

Setting up your Output: Coding your Arduino

10 min

Now that you have your circuit made, you can move into coding it. 

Below is some example code and a video going over it. Don't forget to change the variables (like the threshold moisture level) to meet the needs of your plant! When you do that, make sure you add comments to your code so you can easily see what you changed!

 

Once you have uploaded your code, you can test it out!

Teaching tips

This step is pretty straightforward. The only thing is that students should comment on the code anytime they make any changes (particularly to the soil moisture threshold). 500 is the default I set, but they will need to change this for their own soil moisture readings. 

10

Testing your Pump/Relay with your Soil Moisture Probe

10 min

Now it is time to test your setup! 

Below is a video going through and testing the inputs and outputs of the pump/relay and soil moisture sensor. 

Things to keep in mind:

  • Did your set point for your soil moisture sensor work for your particular soil? If not, you might set the pump to run too often and oversaturate the soil. If you set it too low, it might dry the plant out too much!
  • When your pump turns on, are you getting weird characters in the serial monitor? Did your soil moisture sensor values go way off from normal? Did everything freeze up? If so, you might be experiencing Electromagnetic Interference (EMI) from the pump!
    • To remedy this, add more distance between the pump and the Arduino/Soil Moisture sensor with male-female jumper wires.
  • Your soil moisture sensor will not get the correct value immediately. You might have to wait a few to several minutes to get the most accurate readings!

 

Now that you have the inputs and outputs, we need to determine the optimal location for your plant-watering system!

Teaching tips

In this part, I give students suggestions on troubleshooting

Things to keep in mind:

  • Did your set point for your soil moisture sensor work for your particular soil? If not, you might set the pump to run too often and oversaturate the soil. If you set it too low, it might dry the plant out too much!
  • When your pump turns on, are you getting weird characters in the serial monitor? Did your soil moisture sensor values go way off from normal? Did everything freeze up? If so, you might be experiencing Electromagnetic Interference (EMI) from the pump!
    • To remedy this, add more distance between the pump and the Arduino/Soil Moisture sensor with male-female jumper wires.
  • Your soil moisture sensor will not get the correct value immediately. You might have to wait a few to several minutes to get the most accurate readings!

But, one thing to watch out for is EMI from other group's pumps! If you have a group that has added physical distance between their pump and Arduino but are still getting weird readings, make sure they are not too close to other sources of EMI (like another group's pump).

EMI shielding is an interesting topic. Nearly everything in a modern home or school generates some EMI. The ballasts of the fluorescent lights? Check! The switching power supply converting AC to DC to power your computer? Check! The cell phone that should probably not be in the classroom but happens to conveniently be in your pocket? Check! 

So what are we to do? Think of a satellite dish. Several students probably have one on their house (I don't know, I haven't had cable or satellite, so I might just be dating myself). Do they know what that does? 

How Stuff Works, https://static.sciencelearn.org.nz/images/images/000/002/739/full/SAT_SCI_ART_04_CommunicatingWithSats_Transmitting_Receiving.jpg?1674168788, 2002

Well, it's a parabolic dish! It uses materials (generally metal) to block and reflect incoming and outgoing information. So, since we can direct electromagnet waves, it is possible to redirect them way from the Arduinos! You could have students use aluminum foil to try different methods of shielding their Arduino (or the source of the EMI) to see if they can get their pumps and Arduino to play nicely at a closer distance.

11

Putting the Arduino Smart Garden to Use

30 min

Now that you have your watering setup created, you can put it to the test! We are going to be using the simple but effective "double cup method" of growing your beans 

From your teacher collect:

  • 3 cups
  • Enough soil to fill one cup to 1" below the rim
  • Enough small gravel to fill the second cup with 1 to 2 inches of gravel
  • A poking implement
  • 3 pinto beans

Instructions:

1. Using your poking implement, please CAREFULLY make 5-6 small holes in the bottom of your first cup. 

2. Fill the cup you just made holes in with soil so that the cup has about 1 inch of space at the top.

3. Add approximately 1 inch of gravel/rocks into the bottom of the second cup.

4. Put the first cup inside the second cup.

5. Plant your beans so that the uppermost part of the bean is approximately 1/2 to 3/4 of an inch below the surface.

 

Now that you have your beans planted, now is the time to add in your Arduino Smart Garden Components!

With your group members, discuss the best location to insert the soil moisture sensor and your water hose. Think about how the water hose may interact with the soil moisture sensor and how their positioning can affect readings. Don't forget that the probe is not 100% waterproof, so take that into consideration!

 

Check with your teacher before adding any water to your setup!

 

Once you have instructor approval, add water to the third cup and add in your submersible pump. Use tape or other tools to secure the wires and/or hose. Take your entire setup to the window (or the location you decided in Step 4) and plug in your Arduino.

Does it operate as it should? Do you need to adjust your soil moisture threshold? Assuming that nobody will maliciously interfere with your smart garden, are there any hazards or things you see that someone could inadvertently trip over?

Data Collection

Once you set up your Arduino Smart Garden, what data are you going to collect? How will you collect it?

This is something your group needs to decide. If you are going to compare data with another group, you should be collecting the same data so you're comparing apples to apples as the phrase goes.

In your notebooks (or a spreadsheet), create a chart with spaces for each observation day as well as each variable you're measuring. 

An example log could look like: 

Group 1 Log Day 1 Day 2 Day 3 Day 4 Day5 Day 6 Day 7 Day 8 Day 9 Day 10 Day 11 Day12 Day 13 Day 14
Growth Height of Bean Plants                            
Color                            
Number of Leaves                            
Size of the largest leaf                              
Soil Moisture Reading                            

 

Reflection

You have spent a lot of time around your Arduino and learning to wire and code different circuits. 

What are three other ways you could use an Arduino either around your house or at school (besides just caring for plants)?

1.

2.

3.

What are three things you learned about through your journey with this project?

1. 

2. 

3. 

Teaching tips

We will be using the double-cup method to grow the pinto beans. This is a good method using the 16-ounce plastic party cups that are also space-saving if you have several groups growing beans simultaneously. 

Depending on how...rambunctious your students are, you may want to pre-poke the holes in the bottoms of the cups. I suggest something sharp with a relatively small diameter, like the point of a compass. I don't see many of the "math-stiletto" style compasses anymore, so that may not be an option. A good couple of jabs with the tip of a scissors is a good backup too. 

I am recommending planting 3 pinto beans in the cup. This is overkill because I have had a high rate of germination even with a bag of pinto beans that was several years old. But, I would rather lean toward the side of having success rather than the statistical unlikelihood that all three seeds are duds. With that, if your students are planning on keeping the project going longer, having multiple plants in the same cup will be detrimental. So, once germination has occurred, you can have students cull the plants down to the strongest seedling. 

But, after the double cup is set up, the students will be adding the soil moisture probe and the pump to the setup. I would recommend having them play/experiment with a few different setups and check in with you BEFORE they add water to the system. Even if you take some of the soil moisture probe precautions as discussed earlier, they are at best water-resistant, not waterproof! Make sure students are not splashing water onto those sensitive components.

For any group that gets done early, discuss with them how long they think this system would run before needing human interaction. Since excess water drains into the bottom cup, it would be interesting to see if students would think of creating a drain hose from the bottom cup to the pump to recirculate "waste" water. Maybe even see if they could filter that water (with something as simple as a coffee filter rubberbanded over the tube) to keep the pump from getting clogged. 

At the end of this step, students have some reflection questions. I suggest using this as an exit ticket at the end of class! 

Materials

  • Circuit Components Box — 5 per group
  • ELEGOO UNO — 5 per group
  • Phase Dock Workbench — 5 per group

Related Supply Kit

Arduino Workbench

All the hands-on materials you need for this lesson, delivered to your classroom.

Ready to bring this lesson to your classroom?

Sign up to save this lesson, order supplies, and track student progress.