tobiasschuerg / MH-Z-CO2-Sensors

Arduino imeplementation for CO2 sensors of the MH-Z series (Intelligent Infrared CO2 Module)
MIT License
77 stars 40 forks source link

Pin configuration for Wemos D1 mini #30

Closed Boerny41 closed 2 years ago

Boerny41 commented 2 years ago

Hi,

all I am getting as output is

17:45:17.352 -> .................................. 17:48:07.348 -> 17:48:07.348 -> ----- Time from start: 180 s 17:48:08.567 -> PPMuart: n/a

I have tried every combination of pins I could think of and tried to change them. Besides that the code is unchanged. Controller is a D1 mini.

Is there anything I am doing wrong?

tobiasschuerg commented 2 years ago

Is there anything I am doing wrong?

That's not enough information. Actually you are just saying "it's not working" ...

I once also used a Wemos and from a look at some quite old code, I can tell that I used pins RX_PIN 13 amd TX_PIN 15 - but if you really tried every combination of pins I could think of then there will be some other issue.

Maybe the sensor is broken?

tobiasschuerg commented 2 years ago

Maybe check out some Blog posts from other people about the correct wireing. For example https://esp8266-server.de/MQTT/CO2-Sensor.html

Boerny41 commented 2 years ago

I was unable to figure out what was wrong but I still guess something with the pinout. In the end I used esp-easy.