Giter Club home page Giter Club logo

co2-sensor's Introduction

CO2-Sensor with ESP8266


Content of this repository:


Credits

First things first, I didn't create this project on my own. It was planned and built in a German workshop for young technicians by our instructor (who 3D-printed the housing and wrote the basic software) and a handfull of electronic and mechatronic trainees, including me. The jobs that I did only were soldering the PCBs and overwriting the software, so please don't praise only me, if you even want to.

If you want to know more about this workshop, visit their website (German).


General information

As you hopefully already noticed, the microcontroller for this project is a ESP8266 running the operating system NodeMCU. As it is programable via the Arduino IDE, we'd choose it for the CO2-sensor project. If you want to use the software for your own sensor and choose a different µC, don't forget to update the software.

Powering. The circuit is getting powered through a tiny hole on the side of the housing, were the Micro-USB port of the µC is located. The power for all external compenents is served through that port, so you won't need a second power supply. Please note that the ESP8266 only serves 3,3 Volts on its power pins. As the MHZ19B sensor has an operating volate of 5 Volts, it gets powered through the Vin pin of the µC.
Note that you can't power this circuit via your PCs USB port. Because of.. high power consumption thingy..


Used parts & components

Component Name Purpose Documentation
Microcontroller ESP8266 NodeMCU Controlls the circuit via software Link
Display LCD I2C 128x64p NoName Displays messages while operating Link
Siren 3,3-5V Piezo Buzzer Honks when you have to ventilate Link
CO2-Sensor MHZ-19B Measures the current CO2 on a spot Link

LEDs. When using LEDs in circuits, always be sure to calculate the current limiting resistor properly.
RRESISTOR = ( UOUT - ULED ) / IMAX
UOUT = 3,3V
ULED ≈ 2V (Insert the nominal voltage of your LED)
IMAX = 10mA


Other components. Perforated boards, dupon cables, hot glue and some basic electronic tools.


Circuit diagram

Notes. If your piezo buzzer has a nominal current flow that is higher then the digital pin IOUT, you need to limit the current with a resistor.
Also, this circuit diagram was made using Microsoft Paint and Microsoft Excel. Again, please don't hit me.


License

This repository is covered by the GNU General Public License 3.

co2-sensor's People

Contributors

itsdkiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

alex410a

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.