Skip to content

carlesfg/MicroPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython

Micropython code to work with my students

CO2 Sensor / MH-Z19B

This program allows you to measure the CO2 concentration in the air with the MH-Z19B sensor. I have added two images with the connections between ESP32 and MH-Z19B, and between WeMos D1 ESP32 and MH-Z19B. The Mhz19b class used in the program is a simplification of esp32-weather-google-sheets.

Modify the line
SensorCO2 = Mhz19b (16, 17) # rx_pin = 16 and tx_pin = 17
to change the position of rx and tx

About

Micropython code to work with my students

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages