Skip to content
Open source Arduino sketch for the smart WiFi dev board ANAVI Gas Detector
Branch: master
Clone or download
leon-anavi anavi-gas-detector-sw.ino: Increase HTU21D sensitivity
Set the HTU21D temperature sensitivity to 0.3C for each update.

Signed-off-by: Leon Anavi <>
Latest commit 638d6b6 Jul 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
anavi-gas-detector-sw anavi-gas-detector-sw.ino: Increase HTU21D sensitivity Jul 28, 2019
LICENSE Initial commit May 21, 2019 Add dependencies Jul 27, 2019

ANAVI Gas Detector Default Arduino Sketch

Open source Arduino sketch for the smart WiFi dev board ANAVI Gas Detector for MQ gas sensors.

ANAVI Gas Detector is an open source, easy-to-use, Wi-Fi compatible development board for monitoring air quality and detecting dangerous gases. It supports popular analog MQ gas sensor modules such as MQ-135, MQ-2, MQ-3, etc. Furthermore, it comes with slots for mini OLED display and up to three additional I²C sensor modules, including the precise digital sensor HTU21D for measuring temperature and humidity.

Air pollution is a very serious problem. Monitoring air quality and detecting toxic gases can improve one’s quality of life. All these features make ANAVI Gas Detector appropriate for developers, makers, students and open source enthusiasts who are interested in home automation and an environmentally friendly lifestyle.

User's Manual

ANAVI Gas Detector User's Manual


The default firmware of ANAVI Gas Detector depends on the following Arduino libraries:

  • WiFiManager by tzapu (version 0.12.0)
  • ArduinoJson by Benoit Blanchon (version 6.11.2)
  • PubSubClient by Nick O'Leary (version 2.7.0)
  • Adafruit HTU21DF Library by Adafruit (version 1.0.1)
  • Adafruit APDS9960 Library by Adafruit (version 1.0.5)
  • DHT sensor library by Adafruit (version 1.3.4)
  • U8g2 by oliver (version 2.23.18)
  • OneWire (version 2.3.4)
  • DallasTemperature (version 3.8.0)
  • Adafruit Unified Sensor by Adafruit (version 1.0.2)
  • Adafruit BMP085 Unified (version 1.0.0)
  • NTPClient by Fabrice Weinberg (version 3.1.0)
You can’t perform that action at this time.