Oled display with D1 mini Esp8266: Difference between revisions
Jump to navigation
Jump to search
m (→Specifications) |
m (→Software setup) |
||
Line 54: | Line 54: | ||
* Configure the I2C adress for the oled display | * Configure the I2C adress for the oled display | ||
< | <syntaxhighlight> | ||
DisplayAddress 60 | DisplayAddress 60 | ||
</ | </syntaxhighlight> | ||
* Configure the type for the display | * Configure the type for the display | ||
< | <syntaxhighlight> | ||
DisplayModel 2 | DisplayModel 2 | ||
</ | </syntaxhighlight> | ||
* Configure the dimming to be always on [https://github.com/arendst/Tasmota/wiki/Commands#displays Tasmota display commands] | * Configure the dimming to be always on [https://github.com/arendst/Tasmota/wiki/Commands#displays Tasmota display commands] | ||
< | <syntaxhighlight> | ||
DisplayDimmer 100 | DisplayDimmer 100 | ||
</ | </syntaxhighlight> | ||
* Configure the tasmota firmware to receive DisplayText commands | * Configure the tasmota firmware to receive DisplayText commands | ||
< | <syntaxhighlight> | ||
DisplayMode 0 | DisplayMode 0 | ||
</ | </syntaxhighlight> | ||
* Check that the OLED display works | * Check that the OLED display works | ||
< | <syntaxhighlight> | ||
DisplayText [s1l1c1]Hello how are you? | DisplayText [s1l1c1]Hello how are you? | ||
</ | </syntaxhighlight> |
Revision as of 09:55, 3 January 2020
Features
Oled display with D1 mini Esp8266 |
|
https://bogza.ro/index.php/Oled_display_with_D1_mini_Esp8266 |
Specifications
HW wiring
D1 mini pin | Oled Pin | Comment |
---|---|---|
D1 | SCL | SCL |
D2 | SDA | SDA |
5V | VCC | 5V power |
G | GND | Ground connection |
Dimensions
Software setup
Software required | Link to software | Description |
---|---|---|
Tasmotizer | Tasmotizer github link | Tasmotize releases |
Tasmota Device Manager | TDM github link | TDM releases |
Tasmota firmeware | Tasmota github link | Tasmota releases - choose the displays release |
Steps
- Write the latest tasmota displays firmware
- Configure the wifi and the mqtt server
- Configure the device as generic
- Configure the pins as in the above HW schematic
- Configure the SW platform by sending the following commands as mentioned in the page Tasmota configuration of displays
- Configure the I2C adress for the oled display
<syntaxhighlight> DisplayAddress 60 </syntaxhighlight>
- Configure the type for the display
<syntaxhighlight> DisplayModel 2 </syntaxhighlight>
- Configure the dimming to be always on Tasmota display commands
<syntaxhighlight> DisplayDimmer 100 </syntaxhighlight>
- Configure the tasmota firmware to receive DisplayText commands
<syntaxhighlight> DisplayMode 0 </syntaxhighlight>
- Check that the OLED display works
<syntaxhighlight> DisplayText [s1l1c1]Hello how are you? </syntaxhighlight>