WLED/usermods/Enclosure_with_OLED_temp_ESP07/readme.md

38 lines
1.0 KiB
Markdown
Raw Normal View History

2020-01-18 22:06:26 +01:00
# Almost universal controller board for outdoor applications
This usermod is using ideas from @mrVanboy and @400killer
## Features
- SSD1306 128x32 and 128x64 I2C OLED display (optional)
2020-01-18 22:15:37 +01:00
- On screen IP address, SSID and controller status (e.g. ON or OFF, recent effect)
2020-01-18 22:14:32 +01:00
- Auto display shutoff for saving display lifetime
2020-01-18 22:06:26 +01:00
- Dallas temperature sensor (optional)
2020-01-18 22:14:32 +01:00
- Reporting temperature to MQTT broker
2020-01-18 22:06:26 +01:00
## Hardware
![Hardware connection](assets/controller.jpg)
2020-01-18 22:16:51 +01:00
## Functionality
checked with:
2020-01-18 22:06:26 +01:00
- ESP-07S
- PlatformIO
- SSD1306 128x32 I2C OLED display
- DS18B20 (temperature sensor)
- KY-022 (infrared receiver)
- Push button (N.O. momentary switch)
2020-01-18 22:16:51 +01:00
### Platformio requirements
2020-01-18 22:06:26 +01:00
Uncomment `U8g2@~2.27.3`,`DallasTemperature@~3.8.0`,`OneWire@~2.3.5 under` `[common]` section in `platformio.ini`:
```ini
# platformio.ini
...
[common]
...
lib_deps_external =
...
#For use SSD1306 0.91" OLED display uncomment following
U8g2@~2.27.3
#For Dallas sensor uncomment following 2 lines
DallasTemperature@~3.8.0
OneWire@~2.3.5
...
```