FloraMood Smart Pot
A smart emotional pot with automated watering system
Author: Ana-Maria Comeaga
GitHub Project Link: https://github.com/UPB-FILS-MA/project-anamaria2004
Description
The smart flower pot that will be implemented is verifying the basic parameters of a plant, such as temperature, light or humidity, through sensors, which can evoke six distinct emotions to convey the well-being of the flower: -Thirsty: when the soil moisture is insufficient, signaling the need for water; -Hot: when the plant is experiencing high temperatures; -Freeze: when the temperature drops too low; -Sleepy: indicates low light exposure; -Savory: shows the satisfaction of the flower, after receiving water; -Happy: when al the conditions are satisfied. The proposed design of the pot has also an automatic watering system, that helps the plant to keep its humidity under control. This system is based on lower consumption, because it is working only when the humidity level goes under the threshold and after givinig the necessary ammount of water, it stops.
Motivation
Nowadays, growing a plant can be difficult, because most of its specific necessities are not easily observed. A smart pot provides an efficient care of plants by automating some maintenance aspects, like watering, soil moisture, and light exposure. This approach can be particularly appealing for individuals who have busy schedules or lack experience in plant care. On the other hand, taking into consideration the growth of concerns about the environmental sustainability and conservation, a smart pot is a good way of promoting responsible plan care practices. Through the optimization of resource usage and minimization of waste, this project aligns with the goal of reducing the environmental impact and helping the nature.
Architecture
The FloraMood Smart Pot is powered up by a battery. Then, it collects the parameters from the sensors, like humidity, temperature, and light. Based on them and on their thresholds, a specific emoji is displyed on the LCD Module, in order to transmit the state in which the plant is on that moment. The watering system is using a simple water pump with a gear, that automatically powers up when the humidity level is under the set threshold and stops after giving the plant the necessary ammount of water, and the humidity level comes back in its normal range.
The diagram depicts the functioning of FloraMood Smart Pot. Here is a breakdown of its components:
- FloraMood Smart Pot: The central element is the pink FloraMood Smart Pot. It is a smart plant pot designed to take care of plants using various sensors and modules.
- Moisture Sensor: Connected to the pot, the Moisture Sensor reads the soil humidity. It helps determine whether the soil is too dry or adequately moist for the plant.
- Temperature Sensor: Another connected component, the Temperature Sensor measures the ambient temperature. This information is crucial for understanding the plant's environment.
- Light Sensor: The Light Sensor reads light parameters. It detects the intensity and duration of light exposure, which affects plant growth and health.
- LCD Module: The pot features an LCD Module that displays specific emojis based on the plant's needs. These emojis likely represent different conditions (e.g., happy, sad, thirsty) to guide the user in caring for the plant.
- Battery: The system is powered by a battery, ensuring continuous operation of the sensors and display.
- Watering Pump with Gear: When necessary, the system activates a watering pump with gear to water the plant. This ensures that the plant receives adequate hydration. Overall, the FloraMood Smart Pot combines technology and plant care to create an intelligent and interactive gardening experience.
Log
Week 6 - 12 May
In this week I searched for the remaining components and draw the schematics. The schematic contains all the necessary components for the system and the connections between them. I purchased the pot, cut for placing the display inside it and fixing on the pot's wall. Also, I searched what each component needs to function properly, to ensure that the connections will be fine and none of them will be distroyed when I make the actual connections. This was very useful and helped me in the understanding of their working process.
Week 7 - 19 May
I made the connections between the sensors and the Raspberry Pi Pico and placed all the wires properly. I created a general view of the entire system and made the ajustations to look good. I put the sensors in thier final place and tried to hide the wires as much as possible. I discovered how the water pump should be modified in order to be controlled from the Pico and based on humidity sensor. I made a part of the necessary modification into its internal part, but still needs to be linked to a relay module.
Week 20 - 26 May
This week I made the necessary small changes in pins and write the entire cod for making the project functional. I connected the relay and set it for managing efficiently the water pump. I made the display to show frames and look like a gif. Made the final adjustments in all the wires and connections, set the code to work properly for all the components. So, the project is done is FloraMood is alive.
Hardware
The main hardware components are the Raspberry Pi Pico and the sensors. The Raspberry Pi Pico is designed for low power consumption, assuring a better approach into the efficiency of the system. It also offers flexibility and versatility for interfacing with various sensors, actuators, and peripherals. The capacitive soil moisture sensor is used for detecting the soil moisture levels, utilizing capacitive sensing. Its resistance to corrosion is due to its construction material, ensuring an extended lifespan. The temperature sensor is sensing the temperature and the LDR module is used for detecting the intensity of light. The aquarium pump is used for the watering system, together with the gear for it, in order to increase the voltage to 12V, and the batteries, to power up the system.
This is the general view of the FloraMood smart pot.
Here are the connections with the sensors and the placement inside and outside the pot.
Schematics
This is the Kicad schematic with the connection of all components.
Bill of Materials
Device | Usage | Price |
---|---|---|
Rapspberry Pi Pico W | The microcontroller | 35 RON |
LCD Module | Display | 48.37 RON |
Moisture Sensor | Sensors | 39.68 RON |
LM35 Temperatures sensor | Sensors | 41.15 RON |
LDR module | Sensors | 45.68 RON |
ADS115 ADC | Amplifier | 36.18 RON |
5V 2A adapter | Adapter | 48.72 RON |
Micro USB Breadboard 5V Power Supply Module | Power Supply | 1.50 RON |
5m 30AWG Silicone wires | Connections | 19.50 RON |
Perforated board | Board | 75.42 RON |
Watering Pump | Watering the system | 26.13 RON |
Software
Library | Description | Usage |
---|---|---|
st7789 | Display driver for ST7789 | Used for the display for the Pico Explorer Base |
embedded-graphics | 2D graphics library | Used for drawing to the display |
core | Provides core types and traits | Define asynchronous tasks, spawn futures, and manage asynchronous execution |
embedded_hal | Hardware abstraction layer for embedded systems | Used for abstracting hardware interactions |
embassy_rp | Provides abstractions and APIs | Communicate via UART, SPI, and I2C using their respective modules |
embassy_time | Provides time-related functionality | Schedule tasks to run at specific times |
embassy_executor | Provides an executor for running asynchronous tasks concurrently | Execute asynchronous tasks concurrently |
embassy_sync | Provides synchronization primitives | Create mutexes, semaphores, and barriers for coordinating access to shared resources |