Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
documentation:microcontroleurs:arduino:modules:mq135:index [2024/10/12 11:15] – [SPECIFICATIONS] f1sls | documentation:microcontroleurs:arduino:modules:mq135:index [2024/10/12 12:06] (Version actuelle) – [ESP8266/ESP32 CODE EXAMPLES] f1sls | ||
---|---|---|---|
Ligne 27: | Ligne 27: | ||
{{: | {{: | ||
+ | |||
+ | ===== CALIBRATION ===== | ||
+ | < | ||
+ | |||
+ | Initial preparation of the module shouldn’t present any undue difficulties if you strictly follows the procedure lined here. Well, first of all power up the module alone with a regulated 5VDC power supply. The heater of the MQ-135 sensor requires 5V and have 33Ω±5% resistance, so your power supply must render a minimum 200mA of current for the sensor part. Remember that at first the MQ-135 gas sensor have to be kept on continuously for its preheating time (over 24 hour) before you can actually play with it. Thereafter, introduce the MQ-135 sensor to the gas you want to detect and slowly adjust the trimpot until DO gets low. | ||
+ | |||
+ | Now every time your sensor gets introduced to that gas at predefined concentration, | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== SCHEMATICS ===== | ||
+ | {{: | ||
+ | |||
===== PINOUT ===== | ===== PINOUT ===== | ||
Ligne 33: | Ligne 47: | ||
===== WIRING ===== | ===== WIRING ===== | ||
+ | ==== ARDUINO ==== | ||
{{: | {{: | ||
\\ | \\ | ||
{{: | {{: | ||
+ | |||
+ | ==== ESP9266/ | ||
+ | {{: | ||
+ | ---- | ||
+ | {{: | ||
===== ARDUINO CODE EXAMPLE ===== | ===== ARDUINO CODE EXAMPLE ===== | ||
Ligne 67: | Ligne 87: | ||
</ | </ | ||
- | === NORMAL VALUES === | ||
- | * Normal air returns approximately 100-150 | ||
- | * Alcohol returns approximately 700 | ||
- | * Lighter gas returns approximately 750 | ||
==== EXAMPLE #2 ==== | ==== EXAMPLE #2 ==== | ||
Ligne 95: | Ligne 111: | ||
</ | </ | ||
- | ===== SENSOR DATA ===== | + | ===== ESP8266/ |
+ | * https:// | ||
+ | * {{ : | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== VALUES ===== | ||
+ | |||
+ | <WRAP left round info 33%> | ||
+ | * Normal air returns approximately 100-150 | ||
+ | * Alcohol returns approximately 700 | ||
+ | * Lighter gas returns approximately 750 | ||
+ | </ | ||
+ | |||
+ | <WRAP left round tip 33%> | ||
+ | |||
+ | * 400ppm – 750ppm: Good for health | ||
+ | * 750 ppm – 1200 ppm: Take care | ||
+ | * 1200 ppm (and above): Harmful to health | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== DOCUMENTATION | ||
* {{ : | * {{ : | ||
+ | * {{ : | ||
+ | * {{ : |