Skip to content

Written in python, uses a arduino's serial to read sensors and determine when to water a plant, this data is also mapped to a website

License

Notifications You must be signed in to change notification settings

AnthonyBebek/PlantLifeMonitor

Repository files navigation

Contributors Forks Stargazers Issues


Plant Life Monitor

These are the files for a small plant life monitor project
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Circut Diagram
  4. Flow Chart and Supporting Documents
  5. Webpage
  6. Contributing
  7. Contact

About The Project

These are the files needed to create your own plant life monitor system.

What Do I Need?

(back to top)

Built With

This project was built with

  • Python
  • MariaDB
  • Flask
  • Arduino
  • jQuery

(back to top)

Main Contributiors

Anthony Bebek

  • LinkedIn

Getting Started

Prerequisites

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

Installation

This installation process assumes that you have a basic raspbarian installation on your raspberry Pi. All linux commands happen on the Pi.

  1. 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
  2. Install python imports

    python3 -m pip install pyserial
    python3 -m pip install chartjs
    python3 -m pip install croniter
  3. 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

(back to top)

Circut Diagram

Running the server is half the project, here is the circut diagram for the physical part.

alt text

Here is the circut diagram in another form

alt text

(back to top)

Flow Chart and Supporting Documents

Here is the flow chart the system uses to determin when to water the plant alt text

Heres a drawing on how the different files internconnect alt text

(back to top)

Webpage

This is a photo of the webpage during development

alt text

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact

Anthony Bebek - ante@viagi.com

  • LinkedIn

Project Link: https://github.com/AnthonyBebek/PlantLifeMonitor

(back to top)

About

Written in python, uses a arduino's serial to read sensors and determine when to water a plant, this data is also mapped to a website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published