Skip to main content

GreenGuardian

A smart plant monitoring system

info

Author: Ana-Maria Adascalitei
GitHub Project Link: https://github.com/UPB-FILS-MA/project-AnaAdascalitei

Description

My project aims to keep track on the plants effortlessly. It provides comprehensive tracking of evironmental parameters such as soil moisture, ph levels, if there any bugs on the plant or inside it, but also ambient temperature and light intesity. By this, you can have optimal care for your plant and ensure the thrive of it with minimal effort.

Motivation

The occasions when I've neglected plant care, or when my mother overlooked unfavorable room temperatures for plants, inspired me to seek a more convenient method for plant maintenance and reminders for when care is forgotten.

Architecture

Main components:

Raspberry Pi Pico W - This is the microcontroller I will use for this project. It is responsible for gathering data from the sensors, processing it, and sending it to the server (which will eventually send it to the app).

Server - A component that receives the data from the microcontroller and stores it in a database. It will also send it to the app.

App - A mobile application that receives the data from the servers and informs the user about the plant. It will send alerts in case the plant needs water or if there should be a change in the plant's location.

SOIL MOISTURE SENSOR, HYGROMETER - It measures the soil moisture to determine if the plant needs water.

BMP180 Temperature and Pressure sensor module - This component provides crucial environmental data by measuring both temperature and atmospheric pressure. By monitoring changes in atmospheric pressure, we can detect alterations in weather patterns or room conditions, such as sudden temperature drops or fluctuations in air pressure, which could impact plant health and growth.

Ambient light sensor TEMT6000 - This component will help us realize if there is enough light in the place for the plant during the day. If not, we will change the location.

Analogue Piezoelectric Vibration Sensor - This component detects vibrations. These vibrations will determine whether a bug has entered the plant or if a pet has disturbed the soil.

DHT22 Temperature and Humidity Sensor Module - This will give us the temperature and humidity of the place where the plant is. The temperature is not really needed since we already have BMP180, but the humidity will tell us if the place is humid enough.

Architecture photo

The sensors from both the plant (humidity, vibration) and from the room (light, pressure, temperature, humidity) will be connected directly to the Raspberry Pi Pico W. The data will then be sent to the server and finally to the app.

The microcontroller is connected to a power supply so we can continuously receive data about the conditions of the plant.

Log

Week 6 - 12 May

This week was dedicated to advancing the GreenGuardian project. After thorough research to gather inspiration, I meticulously selected the necessary components and acquired a suitable plant for testing. Additionally, I commenced the schematic design using KiCad, a pivotal step towards materializing the project.

Week 7 - 19 May

However this week, during the implementation phase, an unforeseen challenge arose. Upon realization that the Raspberry Pi Pico W lacked the required pins to connect to the breadboard, I promptly took corrective action by procuring the correct microcontroller. Despite proactive measures, there was a delay in the delivery of essential wires, which were expected to arrive by May 14th but were unfortunately still pending.

This setback necessitated a pause in the physical execution of the project, as the absence of crucial components hindered progress. Nonetheless, this period provided an opportunity for reevaluation and meticulous planning to ensure seamless project execution once all components are available.

Week 7 - 19 May

Week 20 - 26 May

Hardware

The hardware setup for the GreenGuardian project encompasses a comprehensive array of components tailored to ensure effective plant monitoring.

Key components include various sensors responsible for monitoring critical parameters such as soil moisture, temperature, humidity, atmospheric pressure, ambient light, and vibrations. These sensors, in conjunction with the Raspberry Pi Pico W microcontroller, form the backbone of the monitoring system.

Additionally, a dedicated power supply unit is incorporated to ensure uninterrupted operation of the system. This power supply is meticulously designed to provide continuous power, enabling real-time updates and notifications regarding the plant's health status. Whether it's alerting about the need for watering or detecting potential pest intrusions, the power supply ensures that the system remains operational around the clock, safeguarding the well-being of the plant.

Schematics

KiCad photo

Detail in a few words the hardware used.

Schematics

Place your KiCAD schematics here.

Bill of Materials

DeviceUsagePrice
Rapspberry Pi Pico WThe microcontroller34.5 RON
Alimentator micro-usb 5V/3AThe power supply29 RON
SOIL MOISTURE SENSOR, HYGROMETERSensor7.29 RON
Analogue Piezoelectric Vibration SensorSensor9.39 RON
BMP180 Temperature and Pressure sensor moduleSensor6.98 RON
Ambient light sensor TEMT6000Sensor9.54 RON
DHT22 Temperature and Humidity Sensor ModuleSensor23.12 RON
Set of 40 Arduino wire, Male-Male, 30 cm, MulticolorElectrical connections15.59 RON
RESISTORS KIT 30 VALUES, 600 PIECES, 1/4W, 10R-1MThe power supply22.61 RON

Software

LibraryDescriptionUsage
embassy-netNetworking for embedded systemsThis library will help me send data from the Rapspberry Pi Pico W to the app
embassy_rpGPIO library for Raspberry Pi PicoThis will help me access GPIO pins such as SPI, I2C, PWM.
dht-sensorLibrary for dht sensorRust library designed for interfacing with DHT sensors.
  1. Garduino
  2. lPlant Watcher
  3. Sistem Monitorizare Plante
  4. Sistem intretinere plante