mq135

package
v1.0.193 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PARA float64 = 116.6020682
	PARB float64 = 2.769034857
)

根据传感器电阻计算CO2 ppm的参数

View Source
var (
	CORA float64 = .00035
	CORB float64 = .02718
	CORC float64 = 1.39538
	CORD float64 = .0018
	CORE float64 = -.003333333
	CORF float64 = -.001923077
	CORG float64 = 1.130128205
)

建模温度和湿度相关性的参数

View Source
var (
	ATMOCO2 float64 = 414.47 // Global CO2 Aug 2021
)

用于校准目的的大气CO2水平

Functions

func GetCorrectedResistance

func GetCorrectedResistance(r float64, t float64, h float64) float64

func GetCorrectionFactor

func GetCorrectionFactor(t float64, h float64) float64

GetCorrectionFactor 获取校正系数以校正温度和湿度

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL