mirror of
https://github.com/1technophile/OpenMQTTGateway.git
synced 2026-03-03 05:54:23 +01:00
2.1 KiB
2.1 KiB
Sensors
Compatible sensors
| Module | Purpose | Where to Buy |
|---|---|---|
| DHT11 | Temperature, Humidity | parts list |
| DHT22 | Temperature, Humidity | parts list |
| HCSR501 | PIR | parts list |
| BH1750 | Digital light | parts list |
| BME280 | Temperature, Humidity, Pressure | parts list |
| BMP280 | Temperature, Pressure | parts list |
| C-37, YL-83, HM-RD | Leak, Water | parts list |
| HTU21 | Temperature, Humidity | parts list |
| GPIO Input | Inputs | - |
| GPIO KeyCode | Keycode | parts list |
| INA226 | Current, Voltage | parts list |
| MQ2 | Gas (flammable) | parts list |
| TEMT6000 | Luminosity | parts list |
| TSL2561 | Luminosity | parts list |
Pinout
| Module | Arduino Pin | ESP8266 Pin | ESP32 Pin |
|---|---|---|---|
| Analog reading | A0 | A0 | A0 |
| BH1750 SDA | A4 | D2 | 21 |
| BH1750 SCL | A5 | D1 | 22 |
| BME280/BMP280 SDA | A4 | D2 | 21 |
| BME280/BMP280 SCL | A5 | D1 | 22 |
| C-37, YL-83, HM-RD | A0 + D14 | A0 + D14 | A7 + D14 |
| DHT11/22 | D8 | D1 | 16 |
| HC-SR501/HC-SR505 | 7 | D5 | 5 |
| HTU21 SDA | A4 | D2 | 21 |
| HTU21 SCL | A5 | D1 | 22 |
| INA226 SDA | A4 | D2 | 21 |
| INA226 SCL | A5 | D1 | 22 |
| MQ02 | A0 + D4 | A0 + D4 | A0 + D4 |
| TEMT6000 | A0 | A0 | A0 |
| TSL2561 SDA | A4 | D2 | 21 |
| TSL2561 SCL | A5 | D1 | 22 |
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.