PPLC
(Michael)
December 22, 2025, 1:24pm
1
Hi community!
I have the following issue:
I bought a TFT-Panel with integrated ESP32 from viewedisplay.com ,
part-number is UEDX80480070E-WB-A .
I have tried a dozen of configurations to create an output on the screen,
but still failing the gaol.
Now I need some help for an initial configuration of the display.
Is anybody out there who can give me a clue or an example of
source code?
Thx a lot!
Michael
PPLC
(Michael)
December 22, 2025, 3:32pm
3
After some testing my code is
psram:
mode: octal
speed: 80MHz
spi:
- id: lcd
clk_pin: GPIO42 #14
# mosi_pin: GPIO13
miso_pin: GPIO12
output:
- platform: ledc
pin: GPIO21
id: backlight
- platform: ledc
id: output_red
pin: GPIO4
inverted: true
- platform: ledc
id: output_green
pin: GPIO16
inverted: true
- platform: ledc
id: output_blue
pin: GPIO17
inverted: true
color:
- id: my_red
red: 100%
green: 0%
blue: 0%
- id: my_yellow
red: 100%
green: 100%
blue: 0%
- id: my_green
red: 0%
green: 100%
blue: 0%
- id: my_blue
red: 0%
green: 0%
blue: 100%
- id: my_gray
red: 50%
green: 50%
blue: 50%
- id: my_orange
red: 100%
green: 50%
blue: 0%
- id: my_teal
red: 0%
green: 100%
blue: 100%
- id: my_white
red: 100%
green: 100%
blue: 100%
- id: my_black
red: 0%
green: 0%
blue: 0%
light:
- platform: monochromatic
output: backlight
name: "Display Backlight"
id: back_light
restore_mode: ALWAYS_OFF
- platform: rgb
name: LED
red: output_red
id: led
green: output_green
blue: output_blue
restore_mode: ALWAYS_OFF
display:
- platform: ili9xxx
model: ili9341
dimensions:
height: 480
width: 800
spi_id: lcd
invert_colors: true
dc_pin: GPIO02
lambda: |-
auto black = Color(0, 0, 0);
auto red = Color(255, 0, 0);
auto green = Color(0, 255, 0);
auto blue = Color(0, 0, 255);
auto white = Color(255, 255, 255);
it.filled_circle(20, 32, 15, black);
it.filled_circle(40, 32, 15, red);
it.filled_circle(60, 32, 15, green);
it.filled_circle(80, 32, 15, blue);
it.filled_circle(100, 32, 15, white);
The backlight is working now but there are no circles displayed.
What am I doing wrong?
Greetings
Michael