Giter Club home page Giter Club logo

diy-air-sensor's Introduction

diy-air-sensor

Repository containing the code for my personal DIY air sensor.

My initial version was based on the hello_world example from esp_idf. It uses the Panasonic SN-GCJA5 air sensor reading off of UART. The code runs on the ESP32-PICO-DEV board which has a UART driver and header pins for easy dupont contacts/housing.

Note, you need the ESP-IDF framework to build this project: https://github.com/espressif/esp-idf/

To build:

source esp-idf/export.sh
cd diy-air-sensor/esp32_and_sn_gcja5/
idf.py -p /dev/cu.usbserial-1450 build flash monitor

You will probably need to change the path to the serial port for your machine. I'm not sure if an automatic way to discover it.

If it works, this outputs the AQI for each PM range:

PM 1.0: 41, PM 2.5: 70 PM 10: 113
PC 0.5: 299, PC 1.0: 116, PC 2.5: 226, PC 5.0: 10, PC 7.5: 3, PC 10: 2
Status: 0

Notes were taken here: https://docs.google.com/document/d/1-P4PwsVpQIHHqxWCL41UcA0uUCThu2CVc9HfpG2WEOw/

diy-air-sensor's People

Contributors

nguyenmp avatar

Watchers

James Cloos 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.