IoT Drivers  v3.3.0 (S2022)
Engineering in Software Technology
Advanced MH-Z19 driver functions

Advanced functions. These functions will not normally be used, and be very careful to know what you are doing using these functions. More...

Collaboration diagram for Advanced MH-Z19 driver functions:

Functions

mh_z19_returnCode_t mh_z19_setAutoCalibration (bool on)
 Enable/disable auto calibration of the sensor. More...
 
mh_z19_returnCode_t mh_z19_calibrateZeroPoint (void)
 Zero calibration of the sensor. More...
 
mh_z19_returnCode_t mh_z19_calibrateSpanPoint (uint16_t ppm)
 Span calibration of the sensor. More...
 

Detailed Description

Advanced functions. These functions will not normally be used, and be very careful to know what you are doing using these functions.

Function Documentation

◆ mh_z19_calibrateSpanPoint()

mh_z19_returnCode_t mh_z19_calibrateSpanPoint ( uint16_t  ppm)

Span calibration of the sensor.

Note
Don't use if you don't know what you are doing - Can destroy the module!!!!
Parameters
[in]ppmthe CO2 ppm to calibrate the sensor to.
Returns
Result of the call - see mh_z19_returnCode_t.

◆ mh_z19_calibrateZeroPoint()

mh_z19_returnCode_t mh_z19_calibrateZeroPoint ( void  )

Zero calibration of the sensor.

Note
Don't use if you don't know what you are doing - Can destroy the module!!!!
Returns
Result of the call - see mh_z19_returnCode_t.

◆ mh_z19_setAutoCalibration()

mh_z19_returnCode_t mh_z19_setAutoCalibration ( bool  on)

Enable/disable auto calibration of the sensor.

Note
This must only be used if the sensor is installed outdoor!!
Parameters
[in]ontrue: Enable auto calibration, false: Disable auto calibration.
Returns
Result of the call - see mh_z19_returnCode_t.