WLED/usermods/Wemos_D1_mini+Wemos32_mini_shield/readme.md

72 lines
2.1 KiB
Markdown
Raw Normal View History

2020-02-21 02:46:00 +01:00
# Wemos D1 mini and Wemos32 mini shield
2020-04-08 14:35:32 +02:00
- Installation of file: Copy and replace file in wled00 directory
- For BME280 sensor use usermod_bme280.cpp. Copy to wled00 and rename to usermod.cpp
2020-02-24 22:48:01 +01:00
- Added third choice of controller Heltec WiFi-Kit-8. Totally DIY but with OLED display.
2020-02-21 02:46:00 +01:00
## Project repository
- [Original repository](https://github.com/srg74/WLED-wemos-shield) - WLED Wemos shield repository
2020-02-21 02:50:38 +01:00
- [Wemos shield project Wiki](https://github.com/srg74/WLED-wemos-shield/wiki)
2020-02-21 02:53:17 +01:00
- [Precompiled WLED firmware](https://github.com/srg74/WLED-wemos-shield/tree/master/resources/Firmware)
2020-02-21 02:46:00 +01:00
## Features
2020-02-21 04:43:59 +01:00
- SSD1306 128x32 or 128x64 I2C OLED display
- On screen IP address, SSID and controller status (e.g. ON or OFF, recent effect)
- Auto display shutoff for extending display lifetime
2020-02-21 04:43:59 +01:00
- Dallas temperature sensor
- Reporting temperature to MQTT broker
- Relay for saving energy
2020-02-21 02:46:00 +01:00
## Hardware
![Shield](https://github.com/srg74/WLED-wemos-shield/blob/master/resources/Images/Assembly_8.jpg)
## Functionality checked with
2020-02-21 04:43:59 +01:00
- Wemos D1 mini original v3.1 and clones
- Wemos32 mini
- PlatformIO
- SSD1306 128x32 I2C OLED display
- DS18B20 (temperature sensor)
- BME280 (temperature, humidity and pressure sensor)
2020-02-21 04:43:59 +01:00
- Push button (N.O. momentary switch)
2020-04-08 14:40:44 +02:00
### Platformio requirements
For Dallas sensor uncomment `U8g2@~2.27.3`,`DallasTemperature@~3.8.0`,`OneWire@~2.3.5 under` `[common]` section in `platformio.ini`:
2020-04-08 14:40:44 +02:00
```ini
# platformio.ini
...
[platformio]
...
; default_envs = esp07
default_envs = d1_mini
...
[common]
...
lib_deps_external =
...
#For use SSD1306 OLED display uncomment following
U8g2@~2.27.3
#For Dallas sensor uncomment following 2 lines
DallasTemperature@~3.8.0
OneWire@~2.3.5
...
```
For BME280 sensor uncomment `U8g2@~2.27.3`,`BME280@~3.0.0 under` `[common]` section in `platformio.ini`:
```ini
# platformio.ini
...
[platformio]
...
; default_envs = esp07
default_envs = d1_mini
...
[common]
...
lib_deps_external =
...
#For use SSD1306 OLED display uncomment following
U8g2@~2.27.3
#For BME280 sensor uncomment following
BME280@~3.0.0
...
```