mirror of
https://github.com/miguel5612/MQSensorsLib.git
synced 2025-03-15 05:17:30 +03:00
Update README.md
This commit is contained in:
parent
555e49d31e
commit
9bfea58092
27
README.md
27
README.md
@ -42,6 +42,10 @@ float ppmCH4 = MQ4.readSensor();
|
||||
* RL Value in KOhms
|
||||
##### Graph
|
||||

|
||||
#### RS/R0 value (From datasheet of your sensor)
|
||||
* RS (Clean air - English) -> (Aire puro - Spanish)
|
||||
* **Note**: RS/R0 is equal to Ratio variable on the program
|
||||

|
||||
### Arduino
|
||||

|
||||
|
||||
@ -55,6 +59,29 @@ float ppmCH4 = MQ4.readSensor();
|
||||
|
||||
[Excel_Help_Spreadsheet (Fill only Volaje Between RL - RS - RL Values)](https://drive.google.com/open?id=1MKDcudQ7BHL_vLGi-lgPh9-pblvygRMq)
|
||||
|
||||
### Serial debug (optional)
|
||||
If your sensor is an **MQ2** (Same for others sensors):
|
||||
* To enable on setup wrote
|
||||
```
|
||||
MQ2.serialDebug(true);
|
||||
```
|
||||
* And on Loop Wrote
|
||||
```
|
||||
MQ2.serialDebug();
|
||||
```
|
||||
* Result:
|
||||
|
||||

|
||||
|
||||
**Note**:
|
||||
*  `Yellow -> Calibration status.`
|
||||
*  `Green -> Hardware and software characteristics.`
|
||||
*  `Red -> Headers of the library calculations.`
|
||||
* Only valid for **1** gas sensor readings.
|
||||
|
||||
**Usage**
|
||||
* Quick troubleshooting, since it shows everything the library does and the results of the calculations in each function.
|
||||
|
||||
### Prerequisites
|
||||
|
||||
You'll need Arduino desktop app 1.8.9 or later.
|
||||
|
Loading…
x
Reference in New Issue
Block a user