Comments (6)
The temperature and humidity influence has been designed based on data sheet details on page 4.
The formulas have been designed based on the sensitivity curves.
from arduino-mq131-driver.
Additional comment on this, @nitram147 fixed some bugs in the calculation of the environmental correction. Please use the v1.4.0 to have the last version.
from arduino-mq131-driver.
Hello @nitram147. Could You explain to me why the value of resistance is divided by the value of getEnvCorrectRatio()
? As in the line code correctedValueR0 = _valueR0 / getEnvCorrectRatio();
. My doubt is about how the resistance ratio is corrected, is the code to correct the ratio only a mathematical artifice?
PS.: I'm doing a study about MQ Sensors and the more details I get, the better will be my study.
from arduino-mq131-driver.
The idea is to compare apples with apples. ;-)
According to the data sheet, the resistance of the sensor is affected by the temperature and humidity. This impact is implemented with the corrective ratio coming from getEnvCorrectRatio()
.
But... this should be in the calibrate()
function and not in the setR0()
.
from arduino-mq131-driver.
It is quite a good question...
At the moment, the correctedValueR0
is defined when the setR0()
function is called. According to me, it is not exactly correct.
The R0 should be adjusted when we calibrate the sensor and when we get the R0 value (because the R0 value evolved with the environment).
from arduino-mq131-driver.
I dig a bit deeper in this and there was an error in the code uploaded before. Sorry about this.
If we look carefully to the data sheet, we can see that the environmental corrective ratio has to be applied on the Rs/R0 ratio and not on the measurements of the resistances.
It is fixed in v1.4.1.
from arduino-mq131-driver.
Related Issues (20)
- Collection of data points in the data sheet to define equation HOT 1
- MQ131 analog out less than 1V HOT 1
- doesn't print correctly HOT 1
- Ozone Analyser (03) HOT 1
- Additional processing during the heating/reading process HOT 1
- live data HOT 1
- PPB values HOT 1
- confusing wiring diagram HOT 3
- MQ131 and ESP32 HOT 4
- high concentration mq131 HOT 1
- MQ131 module.
- Ground connection in schematics HOT 1
- Load resistance with 3.3V microcontroller HOT 1
- Unusual Sensor Reading HOT 3
- Low Concentration Qualitative Detection MQ131 with ESP32 HOT 2
- Wrong Readings PPB HOT 1
- Always on? HOT 1
- control temperature HOT 1
- Bluetooth hc-05 HOT 1
- Library compatibility with Nano ESP32 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-mq131-driver.