Browse Source

add mhz19 5v info comment

master
interfisch 2 years ago
parent
commit
5acd91bf34
  1. 14
      src/main.cpp

14
src/main.cpp

@ -104,9 +104,21 @@ struct sensordata @@ -104,9 +104,21 @@ struct sensordata
// SW Serial
//SW Serial RX: to mhz19 tx (green cable)
//SW Serial TX: to mhz19 rx (blue cable)
//co2 sensor needs 5v
//co2 sensor needs 5v. Connect USB 5V directly (not through wemos d1 onboard diode which gives only 4.7V!)
//if ABC is disabled (see in setup function) sensor should be calibrated manually. leave outdoors (=400ppm) with no direct sunlight for >20min, then connect HD pin to GND for at least 7 seconds.
/* Pinout (view from top, connector at the bottom)
* Vin, GND, NC, PWM
* | | | |
* /-----------------\
* | |
* | |
* | |
* | |
* \-----------------/
* | | | | |
* Vo Rx Tx NC HD
*/
#include <SoftwareSerial.h>

Loading…
Cancel
Save