HOWTO using SPI+I2C multi display (software mode). #13222
TrDA-hab
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
0. About using SPI + I2C multi display (software mode).
Clearing ESP32 / ESP8266 memory.
esptool
utility:c:\users\admin>pip install esptool
c:\users\admin\appdata\local\programs\python\python38-32\python.exe -m pip install --upgrade pip
c:\users\admin\appdata\local\programs\python\python38-32\Scripts\esptool.py -p COM12 -b 115200 erase_flash
Other projects where multi display is used:
Important information:
program mode
, you can connect a maximum of three displays (different or the same).slot 1
, you can connect any Tasmota supported display (non-universal display). You must make all the necessary connections as usual.universal driver
toslot 2
andslot 3
. You can see the list of universal display in this folder.1. ESP32 + E-Papper (slot 1) + SSD1306 (slot 2).
How to use it.
Video of the display`s work:
https://youtu.be/DtdU9AR7CBk
user_config_override.h
:#ifdef USE_RULES
#undef USE_RULES
#endif
#ifndef USE_SCRIPT
#define USE_SCRIPT
#endif
#define USE_I2C
#define USE_SPI
#define USE_DISPLAY
#define USE_DISPLAY_MODES1TO5
#define USE_DISPLAY_EPAPER_29
#define USE_UNIVERSAL_DISPLAY
#define USE_MULTI_DISPLAY
platformio_override_sample.ini
file toplatformio_override.ini
and save.platformio_override.ini
file, comment outtasmota
and uncommenttasmota32
.Consoles/Manage File system
select and load theSD1306_display.ini
file for the display in slot 2 (from the ...tasmota / displaydesc
folder).Consoles/Edit Script
, insert thedisplay script
, setScript enable
andSave
.2. Other variants that have been tested (09/30/2021).
!!! Attention: !!! the multi-display software mode is currently in testing mode.
ESP32 + E-Papper (slot 1) + SSD1306 (slot 2)
= works well.ESP32 + LCD1602 (slot 1) + SSD1306 (slot 2)
= works well.ESP32 + LCD1602 (slot 1) + SH1106 (slot 2) + ILI9341 (slot 3)
= works well (by gemu2015).ESP32 + SSD1306 (slot 1) + E-Papper (slot 2)
= more tests needed.ESP32 + E-Papper (slot 1) + E-Papper (slot 2)
= more tests needed.!!! For your information only !!!
2.1 ESP32 + E-Papper (slot 1) + SSD1306 (slot 2) + BME280.
2.2 ESP32 + LCD1602 (slot 1) + SSD1306 (slot 2).
2.3 ESP32 + LCD1602 (slot 1) + SH1106 (slot 2) + ILI9341 (slot 3).
Best regards,
TrDA.
Beta Was this translation helpful? Give feedback.
All reactions