Modul ESP32-2432S032C_I

Here you'll find the updated available
waldli
Posts: 14
Joined: Sat Sep 02, 2023 7:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: Modul ESP32-2432S032C_I

Post by waldli »

Hello Francesco,
It works great, thank you very much.

Best regards :D
Waldemar
waldli
Posts: 14
Joined: Sat Sep 02, 2023 7:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: Modul ESP32-2432S032C_I

Post by waldli »

Hello Francesco,
The driver for the TFT ST7789 #6 works perfectly
touch.jpg
all colors are displayed correctly.
I programmed something today and found it
that the coordinates for the TFT and TOUCH are not
are congruent. The origin of the TFT is at the top left
and the TOUCH at the bottom left.
Is it possible to set the coordinates using a command?
The TOUCH.CALIB does not work with capacitive TOUCH.

Best regards :D
Waldemar
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Modul ESP32-2432S032C_I

Post by cicciocb »

Yes, I'm working on in this moment.
However, if you load again the version 1.52.3 the orientation is OK (at least in landscape)
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Modul ESP32-2432S032C_I

Post by cicciocb »

Try again to download the version 1.52.3, I updated again.

As before, option,touch 1 select the capacitive touch

There is now a new function
touch.init rotation where rotation can be from 0 to 3

Please try and let me know
waldli
Posts: 14
Joined: Sat Sep 02, 2023 7:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: Modul ESP32-2432S032C_I

Post by waldli »

Hello Francesco,

I downloaded version 1.52.4 and the
TOUCH works perfectly in both directions.
With Landscape TOUCH.INIT 2
and for Portrait TOUCH.INIT 1

Good job !!!

Best regards
Waldemar
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Modul ESP32-2432S032C_I

Post by cicciocb »

Good. What is your setting in the config page?
This can be useful for other users
waldli
Posts: 14
Joined: Sat Sep 02, 2023 7:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: Modul ESP32-2432S032C_I

Post by waldli »

Hello Francesco,
My settings in the config are:
-
config1.jpg
-
Also in the program is:
OPTION.TOUCH 1--> Capacitive TOUCH
I2C.SETUP 33, 32 --> SET I2C BUS for TOUCH
TOUCH.INIT 1 --> Init TOUCH direction
PWM.SETUP 27, 1, 100 --> SET background LED for TFT
When starting the ESP32, PIN 27 is low and the
background is dark.

Best regards
Waldemar
You do not have the required permissions to view the files attached to this post.
Palm Liu
Posts: 47
Joined: Fri Jun 25, 2021 3:50 am
Has thanked: 10 times
Been thanked: 17 times

Re: Modul ESP32-2432S032C_I

Post by Palm Liu »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Fri Mar 15, 2024 5:41 pm Hello Francesco,
The driver for the TFT ST7789 #6 works perfectly

touch.jpg

all colors are displayed correctly.
I programmed something today and found it
that the coordinates for the TFT and TOUCH are not
are congruent. The origin of the TFT is at the top left
and the TOUCH at the bottom left.
Is it possible to set the coordinates using a command?
The TOUCH.CALIB does not work with capacitive TOUCH.

Best regards :D
Waldemar
Hi, I am working on 4 inch ST7796 with capacitive touch, however, TOUCH.INIT (and touch related command) not work. When I change the LCD type from ST7796 to ST7789, TOUCH.INIT come back???
User avatar
cicciocb
Site Admin
Posts: 1989
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 426 times
Been thanked: 1329 times
Contact:

Re: Modul ESP32-2432S032C_I

Post by cicciocb »

I'm not sure but I think that the capacitive touch is enabled only when the module ESP32-2432S028 is enabled.
Otherwise you must use the command
OPTION.TOUCH 1 ' enable the capacitive touch

But, this work only with the GT911 touchscreen controller.
What is the 4" TFT ? Probably your display has an FT6236 or FT6336 controller?
Palm Liu
Posts: 47
Joined: Fri Jun 25, 2021 3:50 am
Has thanked: 10 times
Been thanked: 17 times

Re: Modul ESP32-2432S032C_I

Post by Palm Liu »

When I use touch.init 1
Get Syntax Error, and “touch.init” do not change color as a command word
Post Reply