Updated Wemos D1 Mini (markdown)

Raymond Mouthaan 2018-03-23 17:26:32 +01:00
parent 5d51d8a1c7
commit efcaea2ece
1 changed files with 29 additions and 1 deletions

@ -115,4 +115,32 @@ In the Configuration -> Configure Module page, select the following:
After reboot of the device the displays the status of relay1 aka switch1. After reboot of the device the displays the status of relay1 aka switch1.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_pir_hc-sr501_main_marked.png" width=350> <img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_pir_hc-sr501_main_marked.png" width=350>
## TSL2561 luminosity Sensor
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/tsl2561-adafruit-lux-sensor.jpg" align=right width=225>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/tsl2561-lux-sensor-front.jpeg" align=right width=225>
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/tsl2561-lux-sensor-back.jpg" align=right width=225>
Connecting the TSL2561 to a Wemos Mini D1.
| Wemos | TSL2561 |
|---|---|
|GND |GND |
|3.3V |VCC |
|D2 (gpio04) |SDA |
|D1 (gpio05) |SCL |
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_tsl2561_config_marked.jpg" width=300>
In the Configuration -> Configure Module page, select the following:
1. **Module Type : 18 Generic**
2. **D2 GPIO04 : 06 I2C SDA**
3. **D1 GPIO05 : 05 I2C SCL**
After reboot of the device the displays the TSL2561 Illuminance.
<img src="https://github.com/arendst/arendst.github.io/blob/master/media/wemos/wemos_tsl2561_main_marked.jpg" width=300>