From 6aa418b63f59ab6e6222e0c010a79d271b03a816 Mon Sep 17 00:00:00 2001 From: bmixed <2+bmixed@noreply.localhost> Date: Thu, 26 Nov 2026 01:40:46 +0000 Subject: [PATCH] Update esp32c3-dht-mq-wifi.ino --- esp32c3-dht-mq-wifi.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32c3-dht-mq-wifi.ino b/esp32c3-dht-mq-wifi.ino index 791bf80..6ed81dc 100644 --- a/esp32c3-dht-mq-wifi.ino +++ b/esp32c3-dht-mq-wifi.ino @@ -13,7 +13,7 @@ DHT dht(DHT_PIN, DHT_TYPE); // ----------- MQ-135 ----------- static const int MQ_PIN = A2; // Analog pin for MQ-135 (GPIO2 on ESP32-C3) -static const int MQ_ADC_CALIBRATION = 1900; // ADC baseline in clean air - ADJUST THIS +static const int MQ_ADC_CALIBRATION = 10; // ADC baseline in clean air - ADJUST THIS static const float MQ_AQ_MIN = 0; // Min AQ value static const float MQ_AQ_MAX = 500; // Max AQ value (standard AQI scale) static const float MQ_ADC_MAX = 4095.0; // ESP32-C3 12-bit ADC max