These are the files for a small plant life monitor project
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
These are the files needed to create your own plant life monitor system.
- 1x Arduino UNO
- 1x 5V Water Pump
- 1x 5V Relay
- 1x Soil Moisture Sensor
- 1x Temperature Sensor (DH11)
- 1x Thermistor
- 1x LDR
- Wiring
- Breadboard
- Diodes
- Resistors (1K)
- NPN Transistor (2N222 Recommended)
- Raspberry Pi (3/4/400/5 Any Model) (3 Recommended)
- 1x USB Camera (Any works)
This project was built with
Anthony Bebek
Run these commands before running anything else
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update-
Python
sudo apt-get install python3.8
-
Git
sudo apt install git
-
MariaDB
sudo apt install mariadb-server
-
Apache
sudo apt install apache2
This installation process assumes that you have a basic raspbarian installation on your raspberry Pi. All linux commands happen on the Pi.
-
Setup MariaDB
sudo mysql_secure_installation
Start the server with
sudo systemctl start mariadb.service
Now setup the root account
sudo mariadb GRANT ALL ON *.* TO 'admin'@'localhost' IDENTIFIED BY '{Your Passowrd}' WITH GRANT OPTION; FLUSH PRIVILEGES; exit
Check if mariadb is configured correctly
sudo systemctl status mariadb
-
Install python imports
python3 -m pip install pyserial python3 -m pip install chartjs python3 -m pip install croniter
-
Create the website folder
mkdir Website git clone https://github.com/AnthonyBebek/PlantLifeMonitor
run the website with
python3 application.py
Navigate to http://localhost to see the webpage
If there is an error in the script, the website doesn't show up or you see the default apache page. Report the issue here Report Bug
If you are still having issues with everything, try using the prebuilt OS instead. Which can be Found Here
Running the server is half the project, here is the circut diagram for the physical part.
Here is the circut diagram in another form
Here is the flow chart the system uses to determin when to water the plant

Heres a drawing on how the different files internconnect

This is a photo of the webpage during development
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Anthony Bebek - ante@viagi.com
Project Link: https://github.com/AnthonyBebek/PlantLifeMonitor


