# Sensors ## Compatible sensors |Module|Purpose|Where to Buy| |-|-|-| |DHT11|Temperature and Humidity|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |DHT22|Temperature and Humidity|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |HCSR501|PIR|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |BH1750|Digital light|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |BME280|Temperature, Humidity and pressure|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |HTU21|Temperature, Humidity|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |GPIO Input|Inputs|-| |GPIO KeyCode|Keycode|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |INA226|Current and voltage|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| |TSL2561|Luminiosity|[parts list](https://compatible.openmqttgateway.com/index.php/parts)| ## Pinout |Module|Arduino Pin| ESP8266 Pin|ESP32 Pin| |-|-|-|-| |DHT11/22|D8|D1|16| |HC-SR501/HC-SR505|7|D5|5| |Analog reading|A0|A0|A0| |BH1750 SDA|A4|D2|21| |BH1750 SCL|A5|D1|22| |BME280 SDA|A4|D2|21| |BME280 SCL|A5|D1|22| |HTU21 SDA|A4|D2|21| |HTU21 SCL|A5|D1|22| |INA226 SDA|A4|D2|21| |INA226 SCL|A5|D1|22| |TSL2561 SDA|A4|D2|21| |TSL2561 SCL|A5|D1|22| Vcc pin of the board and the Module to a 5V supply source Ground pins of the board and the Module to the ground of the supply source.