Skip to main content
Version: ACS CC

Plant watering alarm

When your plant is thirsty it can't tell you that, but I can help with it.

info

Author: Pacuraru Mihai-Dorin
GitHub Project Link: https://github.com/UPB-PMRust-Students/proiect-dmihai03

Description

The "Plant Watering Alarm" is a smart monitoring system that detects when your plants need water and alerts you before they become dehydrated. The system uses a soil moisture sensor inserted into the plant's soil to continuously measure moisture levels. When the soil becomes too dry (falling below a configurable threshold), the system triggers an audio and visual alarm to notify you that your plant needs attention.

The core components include a Raspberry Pi Pico 2 microcontroller, soil moisture and air temperature sensors, a buzzer for audible alerts, a LCD Display for informations feedback and a RGB LED that shows the watering level:

  • green (normal)
  • yellow (prepare for watering)
  • red (urgent watering)

Motivation

I had a plant that i've forgot to water and died.

Architecture

Plant Watering Alarm System Architecture

Log

Week 5 - 11 May

Write documentation.

Week 12 - 18 May

Assemble hardware components and write demo source code.

Week 19 - 25 May

Add LCD Display and BMP180 temperature sensor. Finish writing code.

Hardware

  • 2x Raspberry Pi Pico 2W
    • one for flashing the program to the other
    • one for controlling input from senzor and sending output signals to buzzer and LED
  • buzzer
    • alert when plant is thirsty
  • RGB LED
    • feedback of watering level
  • voltage converter source
    • convert from 3V given out by GPIO to 12V required by buzzer
  • soil humidity sensor
    • read soil humidity
  • temperature and pressure sensor
    • read air temperature and pressure
  • 16x2 LCD display
    • display data given by sensors

Schematic

Bill of Materials

DeviceUsagePrice
2x Raspberry Pi Pico 2The microcontroller70 RON
DC DC Voltage ConverterThe transistor for buzzer3 RON
BuzzerThe buzzer2 RON
2x TransistorThe transistors6 RON
RGB LEDThe LED for feedback2 RON
RezistorsThe resistors kit15 RON
Soil Humidity SensorThe sensor for soil humidity4 RON
Temperature and Pressure SensorThe sensor for air temperature and pressure7 RON
LCD DisplayThe LCD display15 RON
BreadboardThe Breadboard17 RON
WiresThe Wires10 RON
Total151

Software

LibraryDescriptionUsage
embassy-rpAsync embedded peripheralsPeripherals access
embassy-executorAsync embedded tasksTasks manager
embassy-timeAsync embedded timeDelay time manager
lcd_lcm1602_i2cLCD 16x2 i2c driverControl LCD Display
bmp180_embedded_halBMP180 driverControl BMP180 sensor
coreRust stdlibFormat string for printing
  1. Async dev lab
  2. Serial Peripheral Interface
  3. Inter-Integrated Circuit
  4. Plants Care Guide