KnowURSoil is a client-side application for a plant monitoring system. It is designed to run on a Raspberry Pi 4 and interfaces with various sensors to monitor soil conditions. The application provides features for user authentication and records environmental data to a PostgreSQL database.
- User Authentication: Secure sign-in to access the application.
- Soil Data Recording: Captures soil condition data and sends it to a database.
- Environmental Monitoring: Records temperature and humidity data.
- Raspberry Pi 4
- Color sensor with S0, S1, S2, S3, OUT pins
- DHT11 temperature and humidity sensor
- Necessary connecting wires
- Python 3.11
- Tkinter for GUI
- PostgreSQL
- Adafruit_DHT library
- RPi.GPIO library
- Clone the repository: git clone https://github.com/Quantum2511/gsc-client-side-knowURsoil.git
- Install required packages: pip install -r requirements.txt
Connect the sensors to the Raspberry Pi GPIO pins as follows:
- Color Sensor:
- S0 -> GPIO 20
- S1 -> GPIO 21
- S2 -> GPIO 22
- S3 -> GPIO 23
- OUT -> GPIO 24
- DHT11 Sensor: Connect the data pin to GPIO 4 (D4)
- PostgreSQL server is setup on neon-tech
- Connection string is stored in .env file
Run the application using Python: python3.11 gsc-client-side-soilReader.py
Follow the on-screen instructions to sign in and use the application.
gsc-client-side-soilReader.py
: Main Python script for reading soil sensor data..env
: Environment variables for database configuration.requirements.txt
: Lists all Python dependencies.
Contributions to this project are welcome. Please follow the standard GitHub workflow:
- Fork the repository.
- Create a new branch for your feature.
- Commit your changes.
- Push to the branch.
- Submit a pull request.
[Specify the license, if applicable]
- Google Solution Challenge
- Project contributors and maintainers
[Specify the license, if applicable]
- Raspberry Pi Foundation
- Project contributors and maintainers