Replies: 3 comments 6 replies
-
You need PSRAM on the esp32 to allow using |
Beta Was this translation helpful? Give feedback.
1 reply
-
4Sadly the esphome display driver works different then the TFT_eSPI. When you do the test could you use the test script for here: |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I have a problem with Esphome + Wemos ESP32-S2 Mini + Rpi 3.5inch Display. I have been searching for a long time but I could not find a solution.
My problem is as follows;
I can run the hardware i mentioned above with the TFT_eSPI library using Arduino IDE or VsCode without any problems. The chip of the display is ILI9486. However, when I want to use it in EspHome with the same hardware and pin structure, the image on the screen is divided into vertical or horizontal pixels depending on the orientation of the screen and half of them are positioned in separate places.
For example, in the picture I attached, there should be only one filled square, but it appears on the screen vertically in two parts, one column up and the other column down.
By the way, the Touch feature works smoothly.
EspHome codes are as follows;
``captive_portal:
spi:
clk_pin: 36
mosi_pin: 35
miso_pin: 37
touchscreen:
platform: xpt2046
id: my_touchscreen
cs_pin: 17
on_touch:
- lambda: |-
ESP_LOGI("cal", "x=%d, y=%d, x_raw=%d, y_raw=%0d",
id(my_touchscreen).x,
id(my_touchscreen).y,
id(my_touchscreen).x_raw,
id(my_touchscreen).y_raw
);
binary_sensor:
name: Top Left Touch Button
x_min: 0
x_max: 100
y_min: 0
y_max: 100
display:
model: ILI9486
rotation: 90
dc_pin: 38
cs_pin: 34
reset_pin: 18
lambda: |-
it.filled_rectangle(50, 60, 30, 42); ``
I would be grateful for any help on this issue.
The wiki page of LCD
Beta Was this translation helpful? Give feedback.
All reactions