Code Monkey home page Code Monkey logo

mh-z19b's Introduction

MH-Z19b

ESP32 with CO2-Sensor (MH-Z19B) and publish data on mydevice Cayenne

Cayenne

Hardware:

  1. Lolin D32 (with ESP32 4MB and WIFI) https://wiki.wemos.cc/products:d32:d32
  2. MH-Z19B - CO2 - Sensor https://www.winsen-sensor.com/sensors/co2-sensor/mh-z19b.html

Wireing:

MH-Z19b Lolin D32
GND <-> GND
VI V <-> BAT
RX <-> SDA Pin 21
TX <-> SCL Pin 22

Implementation

  • Registration at https://accounts.mydevices.com
  • Add new Device -> select "Bring your own Thing"
  • Copy the credentials MQTT - Name / Password and Device-ID from Webpage into the code
  • flash and run the code -> Cayonne will create channals automatically
  • create a Slider on channel 4 to manipulate the transfer frequency (new Widget - Slider Controller)
    • Data Analog = Acturator / Unit = Anlalog / Channel = 4 / Min = 5 / Max = 60

mh-z19b's People

Contributors

sfeli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wfdl

mh-z19b's Issues

Channel 1 and a Request

Hello SFeli,

I did managed to get it running on a ESP32 DEVKIT V1 (ESP-Wroom-32) and it works Great! 👍
I wonder why I see the Channel 1 showing temperature of around 90 to 100 grad C. As far as I know the MH-z19b sensor dose not have a temperature sensor perhaps the Lolin board has and since I use a diffrent board that´s why is showing this value?

I noticed you have a sketch for the BME280 sensor which sits besides waiting to be integrated :) I would like to have them both on the same sketch so I can get all the data. Do you think is possible to merge the two sketches? since the one for BME280 is made with Platform.io?

Thank you,
Catalin

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.