diff --git a/Wemos-D1-Mini-and-DH1750-Luminosity-Sensor.md b/Wemos-D1-Mini-and-DH1750-Luminosity-Sensor.md new file mode 100644 index 00000000..e64dd752 --- /dev/null +++ b/Wemos-D1-Mini-and-DH1750-Luminosity-Sensor.md @@ -0,0 +1,29 @@ +## DH1750 Luminosity Sensor (I2C) + + + + +The BH1750 is a digital ambient light sensor module which uses I2C to communicate. The BH1750 provides you with a digital value in lux (Lx) over a range of 1 - 65535 lx. See [Digital 16bit Serial Output Type +Ambient Light Sensor IC](http://cpre.kmutnb.ac.th/esl/learning/bh1750-light-sensor/bh1750fvi-e_datasheet.pdf) for more information. + +### Connecting the DH1750 to a Wemos Mini D1 + +| Wemos | DH1750 | +|---|---| +|GND |GND | +|5V |VCC | +|D3 (gpio0) |SDA | +|D4 (gpio2) |SCL | + +### Tasmota Configuration +In the Configuration -> Configure Module page, select the following: +1. **Module Type : 18 Generic** +2. **D3 GPIO0 : 06 I2C SDA** +3. **D4 GPIO2 : 05 I2C SCL** + + + +### Tasmota Main +After reboot of the device the displays the DH1750 Illuminance. + + \ No newline at end of file