Betreff: Modul ESP32-4848S040

If doesn't fit into any other category ....
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

For this module I have the working parameters (tried in Arduino)
found.
I can also supply the parameters for touch

It is this Panel, van use with 3 relays and it is very good.
I hope you can integrate this module into the ESP32 Basic options, because it's great to get a wall-mounted control panel including WLAN and sensors so cheaply.
I make performance video from this Display, here:
and here


https://de.aliexpress.com/item/10050063 ... pt=glo2deu

Code: [Local Link Removed for Guests]

   ///    Helmut
#elif defined(ESP32_8048S040)
#define TFT_BL 38

Arduino_ESP32RGBPanel *bus = new Arduino_ESP32RGBPanel(
  39 /* CS */, 48 /* SCK */, 47 /* SDA */,
  18 /* DE */, 17 /* VSYNC */, 16 /* HSYNC */, 21 /* PCLK */,
  11 /* R0 */, 12 /* R1 */, 13 /* R2 */, 14 /* R3 */, 0 /* R4 */,
  8 /* G0 */, 20 /* G1 */, 3 /* G2 */, 46 /* G3 */, 9 /* G4 */, 10 /* G5 */,
  4 /* B0 */, 5 /* B1 */, 6 /* B2 */, 7 /* B3 */, 15 /* B4 */
);
// ST7701 IPS LCD 480x480
    Arduino_ST7701_RGBPanel *gfx = new Arduino_ST7701_RGBPanel(
    bus, GFX_NOT_DEFINED /* RST */, 0 /* rotation */,
    true /* IPS */, 480 /* width */, 480 /* height */,
    st7701_type1_init_operations, sizeof(st7701_type1_init_operations),     true /* BGR */,
    10 /* hsync_front_porch */, 8 /* hsync_pulse_width */, 50 /* hsync_back_porch */,
    10 /* vsync_front_porch */, 8 /* vsync_pulse_width */, 20 /* vsync_back_porch */);   
Last edited by Helmut_number_one on Wed Jan 17, 2024 5:47 pm, edited 1 time in total.
User avatar
cicciocb
Site Admin
Posts: 2060
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1358 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

Have you tried this :
[Local Link Removed for Guests]

p.s.
If this don't work, I'll not be able to integrate the module
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

He took the code from your suggestion for me and switched on the display. Can you give me a short piece of content in the code, the whole web radio is too much for me.
As a test, a print command. I just want to see if there is any content there
What does the last line do?
pin(2) = 1 ?
User avatar
cicciocb
Site Admin
Posts: 2060
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1358 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

Sorry, the pin 2 is an error, should be the pin38, for the backlight

If the display is correctly configured, you should have a test image (a circle with a frame around the screen with the text 480x480 written in the middle).

For test, something very simple

vga.fill 0 ' clear the screen
vga fill red ' all screen red
vga fill green ' all screen green
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Re: Module ESP32-4848S040

Post by Helmut_number_one »

Edit: i become the Relaymodul for 30€,
I'm thrilled to have a 480x480 wall panel with 3 relays for 30 euros
Where can you get something like this cheaper?
I'm just overwhelmed with the Arduino code, thousands of error messages...
ESP Basic, that would be something good
Edit i found a Tasmota File for this Modul, It's a shame that ESP32 Basic can't do that, that would be a bit better.
You do not have the required permissions to view the files attached to this post.
Last edited by Helmut_number_one on Tue Jan 23, 2024 9:38 pm, edited 1 time in total.
User avatar
cicciocb
Site Admin
Posts: 2060
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1358 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

Unfortunately I cannot support all the devices, in particular if I do not have them.

If you consider this important for you (and for the others), you might consider [Local Link Removed for Guests]
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

I have already donated and I would do it again if the device was actually purchased. I could also send a device like that, it would be quicker than sending it from China, then I would need the address.
User avatar
cicciocb
Site Admin
Posts: 2060
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1358 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Jan 23, 2024 9:48 pm I have already donated and I would do it again if the device was actually purchased. I could also send a device like that, it would be quicker than sending it from China, then I would need the address.
For sure this will help the development because it is practically impossible to implement new devices without having it physically.
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

My offer is there, send me the address via PM and I will send you a device ;-)
Helmut_number_one
Posts: 99
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 42 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

Post Reply