Skip to content

Sensors

Compatible sensors

ModulePurposeWhere to Buy
DHT11Temperature, Humidity-
DHT22Temperature, Humidity-
HCSR501PIR-
BH1750Digital light-
BME280Temperature, Humidity, Pressure-
BMP280Temperature, Pressure-
C-37, YL-83, HM-RDLeak, Water-
HTU21Temperature, Humidity-
GPIO InputInputs-
GPIO KeyCodeKeycode-
INA226Current, Voltage-
MQ2Gas (flammable)-
TEMT6000Luminosity-
TSL2561Luminosity-

Pinout

ModuleArduino PinESP8266 PinESP32 Pin
Analog readingA0A0A0
BH1750 SDAA4D221
BH1750 SCLA5D122
BME280/BMP280 SDAA4D221
BME280/BMP280 SCLA5D122
C-37, YL-83, HM-RDA0 + D14A0 + D14A7 + D14
DHT11/22D8D116
HC-SR501/HC-SR5057D55
HTU21 SDAA4D221
HTU21 SCLA5D122
INA226 SDAA4D221
INA226 SCLA5D122
MQ02A0 + D4A0 + D4A0 + D4
TEMT6000A0A0A0
TSL2561 SDAA4D221
TSL2561 SCLA5D122

Vcc pin of the board and the Module to a 3.3V or 5V supply source depending on sensor voltage requirement. Ground pins of the board and the Module to the ground of the supply source.