Skip to main content
Version: FILS English

Home Florist Monitoring System

Plant soil moisture and surrounding's humidity and temperature monitoring system with buzzer alert and bicolor LED display.


info

Author: Aleksandar Petreski
GitHub Project Link: GitHub Repository

Description

This project is a smart plant monitor that continuously reads humidity and temperature data using a DHT22 and soil moisture data using a FC-28 sensor. It displays the status on a bicolor LED, turning red when the sensor readings fall below a set threshold and green otherwise. Additionally, the system activates a buzzer alert.


Motivation

I chose this project to apply embedded Rust programming to a real-world, practical use case. It demonstrates the use of multiple hardware peripherals and introduces IoT-friendly monitoring for plant care, which is a relatable and valuable scenario.


Architecture

The architecture consists of the following main components:

  • Soil Moisture Sensor Module (FC-28): Measures the soil moisture level using analog output.
  • Air Sensor Module (DHT22): Measures ambient temperature and humidity.
  • Display Module: Manages output to the bicolor LED screen (red / green).
  • Alert Module: Triggers a buzzer when humidity drops below the threshold.
  • Controller Module: Central logic running on the Raspberry Pi Pico W to coordinate tasks.

Diagram


Log

Initially: Brainstormed some project ideas and decided on the final one.
Week 28 April - 4 May: Defined the project scope and wrote the initial documentation.
Week 12 - 18 May: Ordered the components.
Week 19 - 25 May: Put everything together and started building the software.
Week 26 - 29 May: Completed the code and ran the tests.


Hardware

  • Raspberry Pi Pico 2W microcontroller
  • FC-28 Soil Moisture Sensor (analog output)
  • DHT22 sensor for humidity and temperature
  • Bicolor LED (red/green)
  • Active buzzer
  • Breadboard and male-to-male jumper wires

Schematics

Scheme


Bill of Materials

DeviceUsagePrice
Raspberry Pi Pico 2WThe microcontroller40 RON
FC-28 Soil Moisture SensorSoil moisture sensor35 RON
DHT22 SensorTemp & humidity sensor23 RON
Bicolor LED (3mm, common cathode)Status indicator (red / green)1 RON
Active BuzzerSound alert1 RON
BreadboardPrototyping3.5 RON
220Ω Resistors (x2)Current limiting for LED.2 RON
Male-to-male wiresPrototyping8 RON

Software

LibraryDescriptionUsage
embassy-rpPico 2W HALControl GPIO, I2C
dht-sensorDHT22 driverRead humidity & temperature
embedded-graphics2D graphics libraryRender text and graphics
embassy-timeAsync timing functionsManage delays and scheduling