Git Product home page Git Product logo

yskooo / ambiance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marvinjameserosa/ambiance

0.0 0.0 0.0 2.25 MB

Ambiance is an air quality monitoring system developed by PUP Hygears for our university. Designed to be user-friendly, it offers comprehensive web interfaces without compromising accuracy. This project served as a testing ground for my embedded system skills and provided an opportunity to teach my members about embedded systems, web design, github

JavaScript 0.71% C++ 43.59% Python 5.93% CSS 17.58% HTML 32.20%

ambiance's Introduction

Ambiance

Project Description

Ambiance is an air quality monitoring system developed by PUP Hygears for the Polytechnic University of the Philippines. It boasts a user-friendly interface tailored to operate seamlessly on a Raspberry Pi 4. Utilizing Lorawan technologies, data from ESP32-connected sensors is efficiently transmitted for comprehensive analysis and real-time monitoring.

Sensors:

  1. Adafruit BME680

    • Temperature
    • Pressure
    • Humidity
    • Biogenic Volatile Organic Compound (Gas Sensor)
  2. Adafruit SGP30

    • Total Volatile Organic Compound
    • ECO2
  3. Plantower PMS7003

    • PM 1.0
    • PM 2.5
    • PM 10.0

Installation

  1. Clone the project repository from GitHub:

    git clone https://github.com/marvinjameserosa/ambiance.git  
    
  2. Navigate to the project folder:

    cd \Ambiance
    
  3. Install python (Note: Python v11 was used for development):

    https://www.python.org/downloads
    
  4. Install project dependencies:

    For web app interface:

    pip install flask
    

    For recieving the data:

    pip install pyserial
    
  5. Start the development server:

    python3 web.py
    

Sensor Initialization

  1. Clone the project repository from GitHub:

    git clone https://github.com/marvinjameserosa/ambiance.git  
    
  2. Navigate to sketch-files folder:

    For all the sensors:

    cd \Ambiance\sketch-files\all-sensors
    

    For the Adafruit BME680 sensor:

    cd \Ambiance\sketch-files\adafruit-bme680
    

    For the Adafruit SGP30 sensor:

    cd \Ambiance\sketch-files\adafruit-sgp30
    

    For the Plantower PMS7003sensor:

    cd \Ambiance\sketch-files\plantower-pms7003
    
  3. Open the .ino file for the chosen sensor:

    cd \Ambiance\sketch-files\
    
  4. Install project dependencies using Library Manager:

    Sensor Library Name Author
    Adafruit BME680 Adafruit BME680 Library Adafruit
    Adafruit SGP30 Adafruit SGP30 Sensor Adafruit
    Plantower PMS 7003 PMS Library Mariusz
  5. Connect the pins to the board. (Note: Ambiance was designed for the ESP32, so the pin configurations may differ for your specific board.):

    Sensor Pin Label (I2C) Pin Number (Default)
    Adafruit BME680 VCC VIN
    GND GND
    SCK 22
    SDI 21
    Adafruit SGP30 VCC VIN
    GND GND
    SCL 22
    SDA 21
    Plantower PMS 7003 VCC VIN
    GND GND
    RX TX
    TX RX
  6. Upload the chosen code on to the board.

LoRa Initializaation

  1. Clone the project repository from GitHub:

    git clone https://github.com/marvinjameserosa/ambiance.git  
    
  2. Navigate to sketch-files folder:

    cd \Ambiance\sketch-files
    
  3. Open the .ino file for both sender and receiver.

    For Sender:

    cd \Ambiance\sketch-files\lora-sender
    

    For Receiver:

    cd \Ambiance\sketch-files\lora-receiver
    
  4. Install project dependencies using Library Manager

    LoRa by Sandeep Mistry
    
  5. Connect the pins to the board. Pins are same for both Sender and Receiver. (Note: Ambiance was designed for the ESP32, so the pin configurations may differ for your specific board.):

    Pin Label (SPI) Pin Number (Default)
    VCC VIN
    GND GND
    MISO 19
    MOSI 21
    SCK 18
    CS 17 (any pin can be used)
    RESET 14 (any pin can be used)
    CS 26 (any pin can be used)
  6. Upload both the sender and receiver to their respective board.

Contributors

ambiance's People

Contributors

marvinjameserosa avatar xeshido avatar reinejames avatar rcnfbc-spdr 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.