GithubHelp home page GithubHelp logo

edorosh / co2-indoor-monitor Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.56 MB

CO2 Indoor Monitor based on Arduino and MH-Z19B

License: MIT License

C++ 99.10% C 0.90%
arduino mh-z19b co2 co2monitor

co2-indoor-monitor's Introduction

CO2 Indoor Monitor (MH-Z19B)

A CO2 Monitor is a device that helps you understand the environmental Carbon Dioxide (CO2) levels in an office, room and other indoor area.

PROJECT_PHOTO

It first warns and then alarms in case of CO2 level reaches a nonacceptable level. It has 4 Digit 7-Segment Display Module, a LED illumination along with a Buzzer. Currently the device is powered by a USB source only.

CO2 Levels are measured as PPM (Parts Per Million). The standard outdoor level is around 350ppm, and is the optimum level for freshness. However, it can get up to 600ppm indoor without any adverse affects. Once it gets past 600ppm people will start noticing adverse affects.

The LED is GREEN when CO2 < 700ppm. It switches to BLUE when the level is < 1200ppm and finally it changes to red for the higher levels and starts playing back a song.

Circuit Schematic

CIRCUIT_PHOTO

Upload Firmware

New to Arduino? Check this official HOWTO. Before uploading the sketch check if you have all requried libraries insalled. You may want to copy all of them inside libraries manually into %Home%/Arduino/libraries or install them all via "Manage Libraries" option.

Project Structure

Folder Description
firmware Arduino Firmware
libraries All required libraries
3d STL and Step files for the enclosure
resources Resources for the README file

List of used libraries

Bill of Materials

  • PCB Prototype Board 3x7cm
  • Arduino Nano
  • MH-Z19B
  • Female PCB pins
  • Passive Buzzer 5v (12mm)
  • 2-way switch
  • Connection wires
  • RGB LED with common Cathode
  • 4 digit 7 Segment Display TM1637
  • 220 Ohm Resistor x2
  • Hex Spacer 2M 6mm x2 with screws x2

3D Model

STL files for the enclosue are inside 3d folder. Here you may find Fusion 360 sources. I printed the parts with PETG material, 30% infill and 0.2mm layer height. PLA works worse and it easily breaks. The LED part is filled up by a Hot Glue. The Display is fixed by a Hot Glue as well. THe PCB board is fixed by 2 Hex Spacers.

INSIDE_PHOTO BACK_PHOTO

License

MIT License. Not for a commercial usage.

TODO

  • think about using platform.io
  • add settings description
  • add feature: blikning red
  • add feature: different PWN values per colour
  • add feature: repeating the melody
  • add feature: add battery support

co2-indoor-monitor's People

Contributors

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