Giter VIP home page Giter VIP logo

octo-palm-tree's Introduction

Octo-Tree

This project is a web application that interfaces with an Arduino Uno board to monitor and control various sensors and actuators. The backend is built with Python, using Flask for the web framework, Socket.io for real-time communication, and SQLite for data storage. The frontend is developed with TypeScript, React, Socket.io, and TailwindCSS.

Table of Contents

Features

  • Real-time data visualization from Arduino sensors.
  • Control actuators connected to the Arduino from the web app.
  • Store and retrieve sensor data using SQLite.
  • Responsive and modern UI with React and TailwindCSS.

Hardware Requirements

  • Arduino Uno board
  • USB cable for Arduino
  • Various sensors (e.g., temperature, humidity, light, etc.)
  • Actuators (e.g., LEDs, relays, motors, etc.)
  • Breadboard and jumper wires

Software Requirements

  • Python 3.x
  • Node.js and npm
  • Arduino IDE

Installation

Backend Setup

  1. Clone the repository:

    git clone https://github.com/asterki/octo-tree.git
    cd octo-tree
  2. Navigate to the server directory:

    cd server
  3. Set up a virtual environment and install dependencies:

    python -m venv venv
    source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
    pip install -r requirements.txt
  4. Run the Flask server:

    python index.py

Frontend Setup

  1. Navigate to the frontend directory and install dependencies:

    cd client
    npm install
  2. Start the development server:

    npm run dev

Arduino Setup

  1. Open the Arduino IDE and upload the provided sketch (arduino/index.ino) to your Arduino Uno board.
  2. Ensure the correct serial port is selected.

Usage

  1. Ensure the Flask backend and React frontend servers are running.
  2. Open your web browser and navigate to http://localhost:5173.
  3. You should see the web app interface where you can monitor sensor data and control actuators.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure your code adheres to the project's coding standards and include appropriate tests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Authors

octo-palm-tree's People

Contributors

asterki avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar

octo-palm-tree's Issues

Feat: Implement Soil Detection System

  • Get the keys from Azure
  • Train the model on Azure
    • Create the necessary services
    • Upload the labeled data
    • Create a COCO file
    • Manage the model
  • Implement a small program that can read images and get an output
    • Connect to Azure
    • Read the image
    • Upload the image
    • Show the result
  • Add an API route that can expose that program

Feat: Implement Panel Status System

Tasks:

  • Azure config
    • Upload the dataset
    • Train a new model
    • Review the model with existing data
  • App coding
    • Create the service
    • Add the Azure client
    • Make an API to expose the client

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.