Logo
Explore Help
Register Sign In
Raspberries/upm
Public Access
2
0
Fork 0
You've already forked upm
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
e7c80217c2f5bdd49eb1687aa2e727051b284281
upm/src/gas/CMakeLists.txt

9 lines
323 B
CMake
Raw Normal View History

mqx: C gas sensors mq2-mq9 Implement a single source file for the following: * mq2: H2/LPG/CH4/CO/alcohol/smoke/propane/etc * mq3: Alcohol/benzine/CH4/hexane/LPG/CO * mq4: CNG (mostly methane) * mq5: H2/LPG/CH4/CO/alcohol * mq6: LPG (mostly propane/butane) * mq7: CO * mq8: H * mq9: CO/CH4/LPG The documentation for these sensors notes that they do not read an exact gas concentration. Some of the sensors have examples for how to calibrate with a 'clean air environment' for outputing ppm, but this is not the case for all mqx sensors. Because of this, the output can be read as a normalized output (0.0->1.0), raw volts (normalized * aRef), or a scaled/offset voltage. Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-06 08:40:37 -07:00
upm_mixed_module_init (NAME gas
DESCRIPTION "Gas sensors"
C_HDR mqx.h
C_SRC mqx.c
CPP_HDR gas.hpp mq2.hpp mq3.hpp mq4.hpp mq5.hpp mq6.hpp mq7.hpp mq8.hpp mq9.hpp tp401.hpp
CPP_SRC gas.cxx mq2.cxx mq3.cxx mq4.cxx mq5.cxx mq6.cxx mq7.cxx mq8.cxx mq9.cxx tp401.cxx
FTI_SRC mqx_fti.c
REQUIRES mraa)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 53ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API