How to Start a School Garden

A checklist for Bay Area teachers

If you teach in the Bay Area, you have a head start most of the country doesn’t: you can grow food outdoors almost all year. Fall is the best time to begin. The rains do some of your watering, cool-season crops are forgiving, and you’ll harvest before spring testing season takes over the calendar.

Most school gardens don’t fail because of soil or pests. They fail because one teacher carries everything, then summer arrives and no one waters. This checklist is built to prevent that. It covers six phases, from getting a yes from your principal to serving your first harvest.

At Climate Roots, we’ve built three gardens and grown several culinary, medicinal, and ornamental plant varieties. Everything below comes from what worked, and what we’d do differently.

Phase 1: Build your team and get approval

A garden needs a core team of at least three adults before the first shovel goes in. One person is a project. Three people is a program.

  • Recruit your core team. Aim for two teachers plus one parent or community volunteer. Add a custodian or facilities lead early; they control water access, keys, and weekend security.
  • Recruit student leaders. Ask 4 to 6 students to own specific jobs: watering schedule, seed inventory, social media, harvest log. Ownership is what keeps a garden alive.
  • Write a one-page proposal. Cover the purpose, location, size, cost, who maintains it, and how it connects to what students are already learning.
  • Meet with your principal. Bring the proposal. Ask for three things: a site, a small budget line or permission to fundraise, and a named point of contact in the front office.
  • Loop in district facilities. Many Bay Area districts require facilities sign-off for anything built on campus, including raised beds and irrigation. Ask now; it can take weeks.
  • Check your district’s volunteer rules. Parents and outside mentors often need a volunteer application, TB clearance, or fingerprinting before working with students.

Phase 2: Choose and prepare the site

The right site gets 6 or more hours of direct sun, sits within reach of a hose bib, and is visible from classrooms. Visibility matters more than people expect: a garden students walk past every day gets cared for.

  • Map sun and shade. Check the spot at 9 a.m., noon, and 3 p.m. Watch for shadows from portables and buildings, which get longer in winter.
  • Confirm water access. Find the nearest spigot and confirm it’s on and unlocked. Carrying water across campus will end your garden by October.
  • Test the soil before growing in the ground. Bay Area campuses near older buildings or busy roads can have lead in the soil. Send a sample to a soil lab, or skip the question entirely by building raised beds with clean soil.
  • Default to raised beds. They drain well in our clay soils, keep little feet off the plants, and can be built at wheelchair height for accessibility.
  • Plan for security. A simple fence or gate deters weekend visitors and animals. Ask facilities what’s allowed.
  • Start small. Two or three 4 x 8 ft beds is plenty for year one. You can always expand; it’s much harder to shrink a garden that’s overwhelming your team.

Phase 3: Plan what to grow

Plant for the school calendar, not the garden catalog. The classic mistake is planting tomatoes in May that ripen in July, when no one is on campus to eat them. In the Bay Area, cool-season crops are your best friend: they grow from fall through spring, exactly when students are there.

Between Sep – Nov, you can plant lettuce, radishes, kale, chard, peas, carrots, fava beans, and garlic.

  • Pick 5 to 8 crops for year one. Favor fast growers (radishes in about 4 weeks) so students see results early.
  • Grow at least one thing students already eat.
  • Use a local planting guide. Microclimates vary between San Francisco fog and San Jose heat. Our Fremont Planting Guide is a good starting point for the East Bay and South Bay.
  • Add native plants and flowers. Pollinator plants bring bees and butterflies, and give science classes something to observe year-round.

Phase 4: Fund it

A starter garden of two or three raised beds typically costs $500 to $1,500 (our estimate), and small grants can cover most of it. Stack two or three small grants rather than waiting on one large one.

  • Apply for grants closing this fall first. These two grants close in early October: WaterWise Garden Grant and CalCoastCU Cares Foundation Grant.
  • Ask your school nutrition director about the cafeteria fund. California guidance lets schools use cafeteria funds for garden supplies when the garden supports the school meal program (CDE).
  • Ask your PTA or PTO. A garden is an easy yes for parent groups: visible, hands-on, and photogenic.
  • Request in-kind donations. Local nurseries and hardware stores often donate soil, lumber, or seeds for school projects.
  • Take photos from day one. Nearly every grant asks for them, and so will your next funder.

Phase 5: Plant, water, and sustain through summer

Water is the single biggest reason school gardens die. Solve it with automation, then build a people plan for the weeks automation can’t cover.

  • Install drip irrigation on a timer. A basic drip kit and a battery timer on the hose bib keeps beds alive over weekends and breaks. Mulch the beds to cut water use further.
  • Turn watering into a tech project. Soil moisture sensors and a simple microcontroller let students track, graph, and eventually automate watering. This is where gardening meets coding, and it’s the kind of project our students built into the Climate Roots greenhouse.
  • Post a weekly job chart. Rotate classes or student teams through watering, weeding, and harvest checks.
  • Start a compost bin. Use fruit and vegetable scraps and garden trimmings only. Keep meat, dairy, and cafeteria waste out; USDA guidance warns animal products can introduce pathogens (USDA).
  • Make a summer plan by April. Choose one: recruit “garden families” to adopt a week each, partner with a summer program on campus, or put the beds to rest with a cover crop and thick mulch.
  • Set garden rules with students. Closed-toe shoes, tools pointed down, wash hands after, ask before you eat. Post them at the gate.

Phase 6: Harvest safely and connect it to learning

The USDA does not prohibit serving school garden produce in school meals, but your school nutrition director makes the call (USDA). Talk to them before your first harvest, not after.

  • Agree on harvest rules with food services. Clean, food-grade bins only; never trash bags or containers that held chemicals. Toss produce with bird droppings or animal bites.
  • Check with your county health department. Some local policies add requirements for classroom tastings or cafeteria use.
  • Use California’s food safety toolkit. CDFA’s Farm to School Food Safety Toolkit includes a section on school gardens.
  • Map the garden to standards. Plant life cycles, soil and water systems, and ecosystems (NGSS life and earth science), measurement and data (math), and nutrition (health).
  • Keep a harvest log. Students weigh and record every harvest. It’s real data for math class and powerful proof for your next grant.
  • Celebrate. A harvest tasting, a salad day, or a family garden night turns a class project into a school tradition.

Phase 6: Harvest safely and connect it to learning

The USDA does not prohibit serving school garden produce in school meals, but your school nutrition director makes the call (USDA). Talk to them before your first harvest, not after.

  • Agree on harvest rules with food services. Clean, food-grade bins only; never trash bags or containers that held chemicals. Toss produce with bird droppings or animal bites.
  • Check with your county health department. Some local policies add requirements for classroom tastings or cafeteria use.
  • Use California’s food safety toolkit. CDFA’s Farm to School Food Safety Toolkit includes a section on school gardens.
  • Map the garden to standards. Plant life cycles, soil and water systems, and ecosystems (NGSS life and earth science), measurement and data (math), and nutrition (health).
  • Keep a harvest log. Students weigh and record every harvest. It’s real data for math class and powerful proof for your next grant.
  • Celebrate. A harvest tasting, a salad day, or a family garden night turns a class project into a school tradition.

You don’t have to do this alone: start a Climate Roots School Chapter

Climate Roots School Chapters turn your garden into a student-led climate hub, backed by our curriculum, resources, and mentors. You bring the students and the site. We bring the playbook.

What chapters can build

  1. School gardens and hydroponic greenhouses
  2. Composting programs
  3. Student-led climate fairs
  4. AgTech workshops that combine growing food with sensors, automation, and coding

Who it’s for

Bay Area K to 12 teachers, administrators, and student leaders who want hands-on climate education on their campus. No gardening experience required.

How to start

Tell us about your school via the Contact Us form and we will be in touch with next steps.

Inside Tree Gleaning: How Backyard Fruit Reaches Families in Need

Every fall, Bay Area backyards fill up with more fruit than any one family can eat. Lemons pile up on patios. Persimmons split on the branch. Apples drop and rot in the grass. Meanwhile, families a few streets away are stretching grocery budgets and going without fresh produce.
Tree gleaning closes that gap. Here is how it works, who makes it happen, and what we have rescued so far this year.

This year, our Tree Gleaning Team has picked 812 pounds of fresh fruit that would otherwise have gone to waste and mobilized 11 volunteers from across the Bay Area.

To put 812 pounds in perspective: using Feeding America’s benchmark of about 1.2 pounds of food per meal, that is roughly 676 meals’ worth of fresh fruit delivered to local families. Every pound came from a tree that already existed. No new land, water or fertilizer required.

How It Works: From Branch to Food Bank
Gleaning is simple: we harvest surplus fruit from trees and donate it to food banks serving our community. Here is the path a single lemon takes.

  1. A homeowner reaches out. A neighbor with more fruit than they can use fills out our Tree Gleaning request form. The service is completely free.
  2. We schedule a pick. Our team follows up to learn what kind of tree it is, how much fruit is ready and when we can visit.
  3. Volunteers harvest. A small crew arrives with picking poles, ladders, gloves and bins. We pick only sound, ripe fruit and leave some behind for the homeowner if they want it.
  4. We sort and weigh. Bruised or damaged fruit goes to compost. Everything else is weighed so we can track exactly how much we rescue.
  5. We deliver. The same day, the fruit goes to the TCV food bank, where it reaches families within days.
  6. We log the impact and every pound is added to our running total.

The whole visit usually takes 1-3 hours. For the homeowner, the only job is saying yes.

Why This Matters
Food waste and food insecurity are two sides of the same problem. When fruit rots on the branch, the water, soil nutrients and sunlight that grew it are lost too. When it reaches a family, it becomes nutrition that food banks often struggle to stock: fresh, whole produce.

Gleaning also fits the bigger picture at Climate Roots. We believe health is downstream from nutrient-dense food, and that the best solutions work with the systems nature already built. A backyard tree is one of those systems. Gleaning just makes sure its harvest reaches the people who need it.

Get Involved
Fall is peak season, and there is more fruit out there than our team can pick. Here is how you can help:

  1. Have a fruit tree? Request a free glean and we will harvest your surplus for a local food bank.
  2. Want to pick? Sign up to volunteer. No experience needed, and hours count toward service requirements.
  3. Already volunteered? Submit your hours so we can keep our impact numbers accurate.
  4. Can’t pick? Donate to help cover ladders, poles, bins and gas for delivery runs.

Tomatoes Without Soil: Is Hydroponic Greenhouse Farming More Sustainable?

Author: Ananya Emma Malik

it depends almost entirely on how the greenhouse is heated and powered. Fossil-fuel-heated hydroponic tomatoes can carry a larger carbon footprint than field tomatoes. Powered by renewables, they can be among the lowest.

Why tomatoes are a tougher test than lettuce

Lettuce grows fast and stays small. Tomatoes are long-season, heat-loving vines that need warmth for months to set fruit. In cooler climates or seasons, that means heating a greenhouse, and heating is where most of the environmental cost hides.

Comparing tomatoes fairly

Scientists use a life cycle assessment (LCA) to compare farming methods. It adds up every input, from building the greenhouse and making fertilizer to running pumps and heaters, and divides by the harvest. The result is usually expressed as kilograms of carbon dioxide (CO2) emitted per kilogram of tomatoes.

What the studies found

StudySetupCarbon footprintBiggest driver
Japan, 2024High-tech hydroponic greenhouse heated with propane gas3.67 kg CO2 per kgHeating fuel: 55.6% of emissions
Northern SpainHydroponic greenhouse heated with waste biomass, solar-powered irrigation1.4 to 2.5 kg CO2e per kgFertilizer and greenhouse structure
Abu Dhabi, 2018Hydroponic vs. open-field vs. organic greenhouseHydroponic highest in most impact categoriesGreenhouse structure (57%) and electricity (36%)

Three lessons stand out:

  1. Energy source is the biggest lever. In the Japanese study, switching from gas to wood chips could cut emissions by up to about half, though the total still stayed above conventional farming.
  2. Clean energy changes the picture. The Spanish greenhouse, using a waste product for heat and solar for pumps, landed well below the gas-heated example.
  3. The building itself counts. Steel, glass, and plastic have their own footprint, which is why long-lasting structures and reused materials matter.

What soil-free tomatoes do well

Hydroponic greenhouses still use water and nutrients more efficiently, protect plants from extreme weather, and can produce fruit year-round close to where people live. In cold countries that import most of their winter tomatoes, a local greenhouse running on clean power can beat a tomato trucked or shipped thousands of miles.

The climate connection

This is the lesson for our Garden Rx mini-lesson on climate and food: “high-tech” does not automatically mean “green.” A summer tomato grown in a raised bed, in season, with sunlight as its only heater, is hard to beat. Greenhouse hydroponics earns its place when it fills gaps in season or location, and when its energy comes from the sun, wind, or waste.

The bottom line

Ask where a tomato’s heat comes from. Soil-free farming can be a climate win or a climate cost, and the energy source decides which.

Sources

Can Hydroponic Farms Make Fresh Food More Sustainable?

Author: Ananya Emma Malik

TLDR; yes, on water and land, often dramatically. The catch is energy. A hydroponic farm is only as sustainable as the power that runs its pumps, lights, and climate control.

What hydroponics is

Hydroponics grows plants without soil. Roots sit in water carrying dissolved nutrients, and a pump keeps that water moving. Because the water is recirculated instead of soaking into the ground, very little is lost. Plants can also be stacked or packed closer together, so more food grows on less space.

Where hydroponics wins

  1. Water: a widely cited Arizona State University study of lettuce in Yuma, Arizona found hydroponics used roughly ten times less water than conventional field farming.
  2. Land: higher yields per square foot mean less farmland for the same harvest, which matters as cities grow and farmland shrinks.
  3. Fewer inputs leaking out: closed systems reuse nutrients rather than letting fertilizer run off into rivers.
  4. Food close to home: hydroponic farms can sit on rooftops, in warehouses, or next to schools, cutting the distance food travels.

Where it struggles

  1. Energy: the same Yuma study found hydroponics needed far more energy per head of lettuce, mostly for heating, cooling, and lighting. A 2023 review of the research reached the same conclusion: water and land savings, but higher energy demand.
  2. Cost and know-how: setup is expensive, and systems need regular monitoring. A pump failure can wipe out a crop in a day.
  3. Crop limits: leafy greens and herbs do best. Staple crops like wheat or potatoes are not practical.

The researchers’ conclusion is useful: hydroponics makes the most sense where water is scarce and clean energy, especially solar, is plentiful.

What we learned building one: Project StartDown

I saw these trade-offs firsthand through Project StartDown, a student-led greenhouse project run by the nonprofit Climate Roots. In the summer of 2022, a small team of high school students, including me, began designing and building a hydroponic greenhouse at the LEAF community garden.

We chose a geodesic dome because its triangles spread stress evenly, making it resilient to strong winds. We salvaged wood for the walls, wrapped the dome in plastic shrink wrap for insulation, and added an outdoor bed to grow alongside the hydroponic system. It did not always go to plan: our first shrink-wrap attempt failed, and winter winds in 2023 blew the roofs off several greenhouses in the garden, including ours.

In 2025, a new team took over and connected a solar panel and battery to power the pump, so the system could circulate water without drawing from the grid. That small change answers the biggest weakness in the research: hydroponics gets far more sustainable when the sun pays its energy bill.

The lesson that carried into Garden Rx: the most sustainable food system is not one technology. It is the right method for the place, built and maintained by people who care about it.

The bottom line

Hydroponic farms can grow more food with much less water and land. Whether they are truly greener depends on energy. Powered by renewables and placed where water is scarce, they are a strong tool for a hotter, more crowded planet.

Sources

What Does Science Say About Aloe Vera?

Author: Ananya Emma Malik

TLDR; aloe gel on the skin may help minor burns and scrapes heal, and it is generally safe there. Swallowing aloe is a different story: the evidence is weak and some forms carry real risks.

The easiest medicinal plant to keep alive

Aloe vera is a succulent that thrives on neglect: bright light, well-drained soil, and water only when the soil is dry. That makes it a perfect take-home plant for Garden Rx participants. Snap off a leaf, and the clear gel inside is the part most people use.

Two parts of one leaf

The distinction matters for safety.

  1. The gel: the clear, jelly-like center of the leaf. This is what goes into lotions and after-sun products.
  2. The latex: a thin yellow layer just under the skin of the leaf. It is a strong laxative and the source of most safety concerns.

What the evidence says

  1. Minor burns and scrapes: early studies suggest topical aloe gel may help them heal. It has not been shown to work better than standard wound care.
  2. Skin conditions: aloe has been studied for acne, psoriasis, and some mouth conditions, with limited evidence. It is not a replacement for standard treatment.
  3. Radiation skin damage: aloe gel has not been shown to prevent skin burns from radiation therapy.
  4. Drinking aloe: evidence for oral aloe benefits is limited. NIH’s NCCIH says short-term use of oral aloe gel, up to 42 days, appears safe in studies, but there is no strong case for taking it.

The safety story

  • Aloe latex can cause cramps and diarrhea. In 2002 the FDA removed aloe from over-the-counter laxatives because manufacturers did not provide safety data.
  • Whole-leaf extract: a two-year U.S. National Toxicology Program study found that a non-decolorized whole-leaf aloe extract caused intestinal tumors in rats. Most consumer products are not this form, but it is a reason to be cautious with aloe drinks.
  • Medication concerns: oral aloe may lower blood sugar and its laxative effect can reduce how well other medicines are absorbed. This matters for older adults managing several prescriptions.
  • On the skin: aloe is generally well tolerated, though some people get irritation or an allergic reaction.

The bottom line

Keep an aloe plant on the windowsill, and use the gel on a small kitchen burn or sunburn if it feels soothing. Skip aloe juices and supplements unless your doctor recommends them, and see a professional for any serious burn.

Sources

More Than a Minty Flavor: The Science Behind Peppermint as Medicine

Author: Ananya Emma Malik

TLDR: the best evidence for peppermint is a specific form, enteric-coated peppermint oil capsules, for irritable bowel syndrome (IBS). Evidence for most other uses is thin, and peppermint tea has barely been studied in Western medicine but widely use as a digestive across several Eastern and Middle-Eastern countries.

A garden plant that wants to take over

Anyone who has planted mint knows it spreads fast. That is why we, at Garden Rx, grow ours in its own container pot. Peppermint is a natural cross between spearmint and watermint, and its leaves and oil have been used for stomach complaints for centuries.

The active ingredient: menthol

Menthol gives peppermint its cooling feel. In the gut, researchers think menthol relaxes the smooth muscle of the intestines and dulls oversensitive pain nerves. That combination is why scientists focused on IBS, a condition marked by cramping, bloating, and changes in bowel habits.

What the evidence says

  1. IBS: the strongest case. NIH’s NCCIH reports that a small body of research suggests enteric-coated peppermint oil capsules may improve IBS symptoms in adults. The coating matters: it lets the capsule pass the stomach and release the oil in the intestines, where it is needed.
  2. Tension headaches: limited. A few studies suggest peppermint oil rubbed on the forehead and temples may ease tension headaches.
  3. Everything else: not enough evidence. NCCIH says there is not enough research to draw conclusions for other conditions.
  4. Peppermint tea: unstudied. The research focuses on measured oil capsules. A cup of tea contains much less menthol and has not been tested the same way. It may still feel soothing, as widely claimed across Eastern and Middle-Eastern countries going back centuries.

Why early research was cautious

A 1998 review of eight trials found results that looked promising but flagged serious flaws in most of the studies, and concluded efficacy was not yet proven beyond reasonable doubt. Later, better-designed trials have strengthened the case for IBS, which is a good example of how science updates its answers over time.

The bottom line

Peppermint is more than a flavor. Long before clinical trials, people around the world learned which mints soothed the body by growing them, using them, and passing that knowledge down. Greek and Roman healers wrote about mint. Ayurvedic practitioners in India use pudina for digestion, traditional Chinese medicine uses bo he, and many Indigenous nations across North America brewed native wild mint for colds, fevers, and upset stomachs.

That knowledge did not need science to make it real. Often it pointed science in the right direction: researchers studied peppermint for the gut because generations of healers already used it that way. Clinical trials add something valuable, showing which forms and doses work, for whom, and with what risks. But science is a process, not a final verdict. A remedy that has not been well studied is not a remedy proven useless, and today’s answers will keep changing as better research arrives.

So when we sip mint tea at the end of a Garden Rx session, we join a very old conversation. Honor the wisdom that brought the plant to our table, use the research to stay safe, and keep asking questions.

Sources

From Garden to Gut: Can Ginger Help Relieve Nausea?

Author: Ananya Emma Malik

TLDR; ginger has real but modest evidence for easing nausea, strongest in pregnancy and weaker for other causes. It is a reasonable kitchen remedy for mild nausea, not a replacement for medical care.

A root with a long resume

Ginger is the knobby underground stem (a rhizome) of a tropical plant. Ancient Sanskrit, Chinese, Greek, Roman, and Arabic texts all describe it as a remedy, especially for upset stomachs. In our Garden Rx sessions, it shows up most often as a warm cup of ginger tea during the social close.

But “people have used it for thousands of years” is not the same as “it works.” So what does modern research say?

What is inside ginger

The compounds that give ginger its bite, called gingerols and shogaols, are also the ones scientists think act on the gut. Researchers believe they may calm stomach muscle activity and affect the signals that trigger the urge to vomit. The exact mechanism is still being studied.

What the evidence says

  1. Pregnancy nausea: the best evidence. Several clinical trials and reviews find ginger reduces morning sickness more than a placebo. Obstetricians often list it as a non-drug option worth trying. A 2023 Cochrane review still rated the overall study quality as low, so the benefit is likely real but modest.
  2. Chemotherapy nausea: mixed. Some studies show ginger helps when taken alongside standard anti-nausea medicine. Others find little added benefit. It is an add-on to discuss with the care team, never a substitute.
  3. Motion sickness and other causes: unclear. The NIH says there is not enough evidence to know whether ginger helps nausea from motion sickness or other causes.

Fresh root vs. supplements

Most studies used measured ginger capsules, not tea or candy. A cup of fresh ginger tea contains far less, and the amount varies from cup to cup. That does not make tea useless, but it means research results do not translate directly to your kitchen.

Growing ginger in the garden

Ginger loves warmth, humidity, and partial shade. Plant a fresh, plump piece of store-bought root with visible “eyes” just under the soil surface, keep it moist, and harvest in 8 to 10 months. It is a fun, slow project for teen and senior partners to tend together.

Safety notes

  • Ginger can cause mild heartburn, gas, stomach discomfort, or diarrhea.
  • Talk with a doctor before using ginger supplements if you are pregnant, take blood thinners, or have diabetes.
  • Nausea that lasts more than a day or two, or comes with severe pain or vomiting, needs medical attention.

The bottom line

Ginger is one of the better-studied garden remedies. For mild nausea, especially in pregnancy, it is a sensible thing to try. For anything serious, it belongs alongside medical care, not in place of it.

Sources

The Science of Lavender: Can a Garden Plant Influence Sleep and Anxiety?

Author: Ananya Emma Malik

TLDR; one specific lavender oil capsule, sold as Silexan, has solid trial evidence for reducing anxiety, and better sleep seems to follow from that calmer state. Lavender aromatherapy, sachets, and sprays have much weaker evidence.

Why lavender belongs in the garden

Lavender is tough, drought-tolerant, and loved by bees. For Garden Rx, it is also a sensory plant: brushing your hand across it releases its scent, which makes it a natural conversation starter between teen and senior partners. Its reputation as a calming herb goes back centuries. The question is whether science backs that up.

Two very different kinds of lavender research

  1. Lavender you smell (aromatherapy). NIH’s NCCIH says it is unclear whether lavender aromatherapy helps anxiety, stress, depression, pain, or sleep. Studies tend to be small, and it is hard to run a fair test when everyone can smell which group got the lavender.
  2. Lavender you swallow (Silexan). Silexan is an 80 mg capsule of standardized oil from Lavandula angustifolia, studied in multiple randomized, placebo-controlled trials, offers a much stronger evidence.

What the Silexan trials found

  1. Anxiety: a 2019 meta-analysis found a meaningful calming effect in people with milder, below-diagnosis anxiety over 10 weeks. Other trials found benefits in diagnosed generalized anxiety disorder, with one review reporting results comparable to a low starting dose of the prescription drug lorazepam.
  2. Sleep: sleep improved in these trials, but an analysis found that over 98% of the sleep benefit came through reduced anxiety. In other words, lavender helped people worry less, and they slept better as a result. It does not act like a sleeping pill.
  3. No grogginess: the trials did not find sedation, and side effects were mostly mild burping and stomach upset.

Much of this research was funded by or connected to the manufacturer, and the authors noted that the results cannot be assumed for other lavender products.

What this means at home

A lavender sachet on your pillow is unlikely to cause harm and may be pleasant, but it has not been shown to treat anxiety or insomnia. Good sleep habits, daylight, movement, and social connection, the same things Garden Rx is built around, have stronger evidence for both.

Safety notes

  • Lavender oil is not safe to drink straight; only use products designed to be taken by mouth.
  • Lavender oil on the skin can cause irritation in some people.
  • Anyone with ongoing anxiety or sleep problems, or who takes sedatives or other mental health medications, should talk with a doctor before adding a supplement.

The bottom line

Lavender is a beautiful garden plant with a surprisingly real research story, but only for one carefully studied form. Enjoy the scent in the garden; leave treatment decisions to you and your doctor.

Sources

Build a Raspberry Pi Soil Moisture Monitor

A Beginner Project for Teens

In one afternoon, you can build a sensor that tells you exactly when your plants need water, and prints it to your screen every few seconds.
At Climate Roots, we grow food in community gardens and a student-built greenhouse. One lesson keeps coming up: plants don’t die from lack of care, they die from guessing. Too much water drowns roots. Too little and your lettuce wilts before harvest. A soil moisture monitor replaces guessing with data.
This project is built for beginners. If you can plug in a USB cable and copy a line of code, you can do this. By the end, you will have:

  1. A working soil moisture sensor wired to a Raspberry Pi
  2. A Python program that reads moisture as a percentage (0% dry, 100% wet)
  3. An alert that tells you when it’s time to water
  4. A log file you can graph to see how your soil dries out over time

Time: 1 to 2 hours.
Cost: about $15 in parts if you already have a Pi.
Skill level: beginner.

What you’ll need
Any Raspberry Pi with the 40-pin header works (Pi 3, 4, 5, or Zero 2 W). Prices are typical US retail and will vary.

Tip: Buy a capacitive sensor, not the cheap two-prong resistive kind. Resistive probes pass current through the soil and corrode within weeks. Capacitive sensors are sealed and last much longer.

Some ADS1115 boards arrive with loose header pins. If yours does, ask a mentor or teacher to help you solder them on. It’s a great first soldering job.

How it works
The sensor sends out a voltage that drops as the soil gets wetter. Water changes how electricity behaves around the sensor’s sealed probe (its capacitance), and the sensor turns that into a voltage between roughly 1 and 3 volts.
Here’s the catch: the Raspberry Pi can only read digital signals, meaning on or off. It has no built-in way to read a voltage in between. That’s why we add the ADS1115. It measures the voltage and sends the Pi a number over a two-wire connection called I2C.

So the data flows like this:

Soil--> Sensor(voltage)--> ADS115(number)--> RPi(Python)--> Your screen

One important detail: this sensor reads higher when dry and lower when wet. It feels backwards at first. Our code flips it so 100% means soaked.

Step-by-step build

Step 1: Set up your Pi and turn on I2C

Start with Raspberry Pi OS installed and your Pi connected to a screen or reachable over SSH. Open a terminal and run:

sudo apt update
sudo apt install -y i2c-tools python3-venv
sudo raspi-config nonint do_i2c 0
sudo reboot

Step 2: Wire it up

Unplug the Pi’s power before wiring. Connecting wires to a powered board is the fastest way to fry something.

Place the ADS1115 on the breadboard, then make these connections. Pin numbers are the physical pin numbers on the Pi’s 40-pin header (pin 1 sits on a square solder pad; type pinout in the terminal to see a map of your board)

Use the breadboard’s power rails to share 3.3V and GND between the ADC and the sensor. We power everything from 3.3V (not 5V) so the signal stays in a safe range for the Pi.

Step 3: Check that the Pi can see the ADC

Power the Pi back on and run:

i2cdetect -y 1

You should see 48 in the grid. That’s your ADS1115 saying hello.

Step 4: Install the Python library

We’ll keep the project in its own folder with its own virtual environment, a private box for this project’s Python packages:

mkdir ~/soil-monitor
cd ~/soil-monitor
python3 -m venv .venv
source .venv/bin/activate
pip install adafruit-blinka adafruit-circuitpython-ads1x15

You’ll see (.venv) at the start of your terminal line. That means the environment is active. Run source .venv/bin/activate again any time you open a new terminal.

Step 5: Take your first reading

Create a file called test.py and paste this in:

import time
import board
from adafruit_ads1x15 import ADS1115, AnalogIn, ads1x15
i2c = board.I2C()
ads = ADS1115(i2c)
sensor = AnalogIn(ads, ads1x15.Pin.A0)
while True:
print(f"raw: {sensor.value:6d} voltage: {sensor.voltage:.3f} V")
time.sleep(1)

Run it with python test.py. Numbers should scroll by once per second. Press Ctrl+C to stop.

Step 6: Calibrate your sensor

Every sensor is slightly different, so you need to teach your code what “dry” and “wet” look like for yours. Run test.py again and record two voltages:

  1. Dry: hold the sensor in the air (or push it into bone-dry soil). Write down the voltage.
  2. Wet: dip the sensor into a cup of water. Write down the voltage.

Only dip the probe up to the white line printed on it. The electronics at the top must stay dry.

Your numbers might look something like 2.50 V dry and 1.20 V wet. Yours will differ, and that’s fine. That’s the whole point of calibrating.

Step 7: Write the monitor program

Create soil_monitor.py and paste in the code below. Change DRY_VOLTAGE and WET_VOLTAGE to your numbers from Step 6.

"""Soil moisture monitor.
Reads a capacitive soil sensor through an ADS1115 ADC,
prints moisture as a percentage, and logs every reading to a CSV file.
"""
import csv
import time
from datetime import datetime
from pathlib import Path
import board
from adafruit_ads1x15 import ADS1115, AnalogIn, ads1x15
# ---- Settings: put YOUR calibration numbers here ----
DRY_VOLTAGE = 2.50 # sensor in dry air or bone-dry soil
WET_VOLTAGE = 1.20 # sensor in water (up to the line) or soaked soil
WATER_BELOW = 35 # show an alert when moisture drops below this %
READ_EVERY = 10 # seconds between readings
LOG_FILE = Path("moisture_log.csv")
# -----------------------------------------------------
i2c = board.I2C()
ads = ADS1115(i2c)
sensor = AnalogIn(ads, ads1x15.Pin.A0)
def read_voltage(samples=10):
"""Average several quick readings to smooth out noise."""
total = 0.0
for _ in range(samples):
total += sensor.voltage
time.sleep(0.05)
return total / samples
def to_percent(voltage):
"""Turn a voltage into 0-100% moisture (dry = 0, wet = 100)."""
percent = (DRY_VOLTAGE - voltage) / (DRY_VOLTAGE - WET_VOLTAGE) * 100
return max(0, min(100, round(percent)))
def log_reading(timestamp, voltage, percent):
"""Add one row to the CSV log, writing a header the first time."""
new_file = not LOG_FILE.exists()
with LOG_FILE.open("a", newline="") as f:
writer = csv.writer(f)
if new_file:
writer.writerow(["timestamp", "voltage", "moisture_percent"])
writer.writerow([timestamp, f"{voltage:.3f}", percent])
def main():
print("Soil monitor running. Press Ctrl+C to stop.")
while True:
voltage = read_voltage()
percent = to_percent(voltage)
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
status = "Time to water!" if percent < WATER_BELOW else "Soil looks good."
bar = "#" * (percent // 5)
print(f"{now} {percent:3d}% [{bar:<20}] {status}")
log_reading(now, voltage, percent)
time.sleep(READ_EVERY)
if __name__ == "__main__":
try:
main()
except KeyboardInterrupt:
print("\nStopped. Your data is saved in", LOG_FILE)

What each part does:

  1. Settings hold your calibration numbers and alert level, all in one place so they’re easy to change.
  2. read_voltage() takes 10 quick readings and averages them. Single readings jump around a little; averaging smooths that out.
  3. to_percent() flips and scales the voltage so dry is 0% and wet is 100%. The max/min keeps the result between 0 and 100 even if a reading goes past your calibration points.
  4. log_reading() saves every reading to moisture_log.csv, which opens in Google Sheets or Excel.
  5. main() loops forever: read, convert, print a little bar graph, save, wait.

Step 8: Plant it and run it

Push the sensor into your plant’s soil, up to the white line, a few centimeters from the stem. Then run:

python soil_monitor.py

You’ll see output like this:

2026-04-25 14:02:10 62% [############ ] Soil looks good.
2026-04-25 14:02:20 61% [############ ] Soil looks good.

Test it: water the plant and watch the number climb.

Want it to start automatically when the Pi turns on? Run crontab -e and add this line at the bottom:

@reboot sleep 30 && cd ~/soil-monitor && .venv/bin/python soil_monitor.py >> monitor.out 2>&1

Now the Pi logs moisture day and night, even without a screen attached.

Level up

Once your monitor works, here’s where to take it next. Each idea builds on the code you already wrote.

  1. Graph your data. Open moisture_log.csv in Google Sheets and make a line chart. You’ll see how fast your soil dries on hot days versus cool ones.
  2. Add more plants. The ADS1115 has four inputs (A0 to A3). Wire three more sensors and track a whole garden bed.
  3. Add a light. Connect an LED to a GPIO pin and turn it on when it’s time to water.
  4. Automate watering. Add a relay and a small pump so the Pi waters the plant itself. This is exactly the kind of system our greenhouse team builds.
  5. Enter a competition. Turn your monitor into a project for a Climate Roots youth competition. Judges love real data from real gardens.

Grow with us

This project is a small version of what Climate Roots students do every week: combining sustainable food gardening with robotics, automation and data. Want to build bigger things with a team? Get involved or check out our programs.

As always, keep calm and keep growing!