Giter VIP home page Giter VIP logo

gsc-client-side-knowursoil's Introduction

KnowURSoil - Client Side Application

Overview

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.

Features

  • 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.

Hardware Requirements

  • Raspberry Pi 4
  • Color sensor with S0, S1, S2, S3, OUT pins
  • DHT11 temperature and humidity sensor
  • Necessary connecting wires

Software Requirements

  • Python 3.11
  • Tkinter for GUI
  • PostgreSQL
  • Adafruit_DHT library
  • RPi.GPIO library

Installation

  1. Clone the repository: git clone https://github.com/Quantum2511/gsc-client-side-knowURsoil.git
  2. Install required packages: pip install -r requirements.txt

Sensor Connections

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)

Configuration

  1. PostgreSQL server is setup on neon-tech
  2. Connection string is stored in .env file

Usage

Run the application using Python: python3.11 gsc-client-side-soilReader.py

Follow the on-screen instructions to sign in and use the application.

File Structure

  • 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.

Contributing

Contributions to this project are welcome. Please follow the standard GitHub workflow:

  1. Fork the repository.
  2. Create a new branch for your feature.
  3. Commit your changes.
  4. Push to the branch.
  5. Submit a pull request.

License

[Specify the license, if applicable]

Acknowledgments

  • Google Solution Challenge
  • Project contributors and maintainers

License

[Specify the license, if applicable]

Acknowledgments

  • Raspberry Pi Foundation
  • Project contributors and maintainers

gsc-client-side-knowursoil's People

Contributors

bhavya-chanana avatar denxxs avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.