meshchaninov / flipper-zero-mh-z19

Application for measuring carbon dioxide (CO2) with mh-z19 sensor and Flipper zero
MIT License
42 stars 2 forks source link

Suggestion to add temperature #2

Open samxplogs opened 1 year ago

samxplogs commented 1 year ago

Hello Nikita,

This is superb implementation, may I suggest to add also the temperature as the module has a sensor too ? Thanks

Sam

harryob2 commented 11 months ago

I would love to see this also, and the ability to calibrate the sensor. I will look into this myself over christmas.

johnboiles commented 10 months ago

You'd have to move to a UART-based implementation to interface with the MHZ-19 to use the temp sensor and to trigger calibration. @skotopes has one here.

In my case though I'm already using the UART for a PMS5003 sensor, so I'd need to either remove that, or figure out a way to use UART for both devices to do that. Discussing ways forward for that here.

skotopes commented 10 months ago

@johnboiles flipper got 2 uart ports. Should be no problem to switch one of the sensors to second port and use them simultaneously.