Konfig for AZ-Touch with ESP32?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
gudi
New user
Posts: 3
Joined: 18 Oct 2021, 19:15

Konfig for AZ-Touch with ESP32?

#1 Post by gudi » 18 Oct 2021, 21:07

Hi there,

I have an AZ-Touch MOD display with ESP32 from AZ-Delivery. I flashed this with the current ESP Easy. Unfortunately I cannot find the correct port assignment for the display.
Does anyone have the configuration for the display and maybe a few examples for the control.

kindly regards
Gudi

TD-er
Core team member
Posts: 8608
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Konfig for AZ-Touch with ESP32?

#2 Post by TD-er » 18 Oct 2021, 21:36

I assume it is this display: https://www.hwhardsoft.de/english/proje ... touch-esp/

On that page you have the schematics: Schematic AZ-Touch V01-03

Looks like the backlight is a bit different between ESP8266 and ESP32.
So for ESP32 you need to look for "LED32" and for ESP8266 the "LED" pin.

T_IRQ = GPIO-2
T_CS = GPIO-14
MISO = GPIO-19
SCK = GPIO-18
MOSI = GPIO-23
DC = GPIO-4
RESET = GPIO-22
CS = GPIO-5
LED32 = GPIO-15

Beeper = GPIO-21

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: Konfig for AZ-Touch with ESP32?

#3 Post by ThomasB » 19 Oct 2021, 03:26

and maybe a few examples for the control.
Some basic examples are found in the _P095_ILI9341.ino source code file (available on GitHub).

- Thomas

User avatar
Ath
Normal user
Posts: 3386
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Konfig for AZ-Touch with ESP32?

#4 Post by Ath » 19 Oct 2021, 11:53

A more readable version of commands supported is in the RTD documentation: https://espeasy.readthedocs.io/en/lates ... #p095-page
/Ton (PayPal.me)

gudi
New user
Posts: 3
Joined: 18 Oct 2021, 19:15

Re: Konfig for AZ-Touch with ESP32?

#5 Post by gudi » 19 Oct 2021, 21:30

Thank you for your tips. I had already found the pages and implemented the port configuration as follows. Unfortunately the commands don't work. The display remains dark.
I was hoping that someone would already use the display. I would like to use it to build a level measurement for my cistern. With a ToF sensor VL53L0X.
Can you recognize my mistake?

Image
Image
Image
Image

User avatar
Ath
Normal user
Posts: 3386
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Konfig for AZ-Touch with ESP32?

#6 Post by Ath » 19 Oct 2021, 22:19

Does it light up if you submit this command from the tools page?

Code: Select all

gpio,15,1
That should turn on the backlight for the display, as without it it can be very dark.
/Ton (PayPal.me)

gudi
New user
Posts: 3
Joined: 18 Oct 2021, 19:15

Re: Konfig for AZ-Touch with ESP32?

#7 Post by gudi » 19 Oct 2021, 23:13

Thank you, that was the right hint. The display starts with gpio,15,0
Then I can write the first "Hello World".
I think I can continue to work with that. I think that should work with tftcmd,on

Thanks!

User avatar
Ath
Normal user
Posts: 3386
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Konfig for AZ-Touch with ESP32?

#8 Post by Ath » 19 Oct 2021, 23:37

You can also use the pwm command to put a pulse signal on that gpio to get less backlight than 100%

Code: Select all

pwm,15,<duty> // <duty> is a numeric value from 0..1023, giving a range from 0 to 100%
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests