Betreff: Modul ESP32-4848S040

If doesn't fit into any other category ....
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Feb 04, 2024 11:48 am Is this link usefull ?
https://github.com/rzeldent/platformio- ... 0CIY3.json
Thanks Helmut for your donation, I received the module yesterday and I was able to implement the support for it into Annex32 for ESP32-S3.

The module is cute, with a plastic housing suitable for domestic use. It can be directly powered at 220V and can supply up to 3 A/C devices as it contains 3 relays controllable via software. The display is very bright, and the 480x480 resolution is truly appropriate for its use. The capacitive touch screen is very precise, and the module also includes a power controller chip for an external battery and an internal I2S audio amplifier.
In the photos below, you can see the details.

An example of a "vintage clock" done with Annex
IMG_7056.jpg
The module seen from the top
IMG_7044.jpg
The module disassembled : the core unit (up) and the power supply/relay unit (down)
IMG_7054.jpg
The same with the plastic protections removed
IMG_7048.jpg
The Main Board
IMG_7052.jpg
The power supply / relay unit
IMG_7049.jpg
The power supply / relay unit (bottom)
IMG_7050.jpg
The power supply / relay unit (top)
IMG_7051.jpg
Edit:
The module supports 3 relays connected on the GPIO1, GPIO2 and GPIO40 but these are shared with the I2S audio amplifier.
If audio functionality is required, the 0 ohm resistors R25, R26, and R27 should be relocated to R21, R22, and R23.
For testing, I've just shorted R21, R22 and R23 with a blob of solder so I can confirm that the audio works also great (but the relays are switched at the same time in this case :D ).
audio_fix.JPG
You do not have the required permissions to view the files attached to this post.
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

Very good, I'm thrilled. The module can actually be used very well for a home installation.
I hope more users find use for it, GREAT for the ~30 €.
I'm looking forward to an example file

I can't put everything back together that I took apart ;-)

AND thank you again for your time
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Feb 04, 2024 3:34 pm Very good, I'm thrilled. The module can actually be used very well for a home installation.
I hope more users find use for it, GREAT for the ~30 €.
I'm looking forward to an example file

I can't put everything back together that I took apart ;-)

AND thank you again for your time
You can load the firmware version Annex32-S3 CAN DMT VGA HID 1.52.1 qio opi LFS already available online.

Then you must select this in the config page :
image.png
You can connect an SDCARD, if you want, as it is supported.

Then you can upload this zip file, it contains some examples :
ESP32-8048S040.zip
The integration is not yet terminated but you can already use it.
You do not have the required permissions to view the files attached to this post.
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

Thankyou
I want to play with it right now
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

I try any thing with Checkbox, but how read the status?

r1 = vgagui.checkbox(150, 260, 30,30,0, RADIO,0, red, yellow)
vgagui.setevent r1, TOUCH, goTouch

and in goTouch i use this

goTouch:
wlog vgagui.GetValue(r1)

but in this case i become the "1" status, not the "0" status.
And i want switch the background from
vgagui.image 0,0,0,0, "/img//EG_480.bmp"
to
vgagui.image 0,0,0,0, "/img//OG_480.bmp"
and in this window i will set new Button
Did a user can help with example?
Thankyou in advance

Edit:
I can now load the new floor plan, but then the old buttons have to hide and newly created ones become active and again when I switch back.
Must i do this by writing everything from the ground floor into a subprogram, i.e. processing the floors with subprograms?
Or is it possible load a specivic bas-File for a floor?
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

If you use the gui all the images are loaded automatically.

You must use VGAGUI.buttonImage and define the 2 images when the button value is 0 or 1
[Local Link Removed for Guests]

For the setevent, you must use CHANGE instead of TOUCH

[Local Link Removed for Guests]
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

Thankyou, i will try it out.
I'm trying my hand at it, what ESP32 Annex can do is really amazing. something kills me
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

I did a little copy and paste, in the top corner I get the touch data for my lights so that I can place them precisely in the editor
Please take a look at what can be removed or what is not good
Maybe someone has a tip on how I can get to the next floor, i.e. all this in a subprogram?
Thankyou
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: Betreff: Modul ESP32-4848S040

Post by cicciocb »

HI Helmut,
put here a picture of all your floors and I'll show you how implement a multi page GUI.

I'll show you also how simplify a little bit the code
Helmut_number_one
Posts: 97
Joined: Fri Dec 09, 2022 10:03 am
Has thanked: 41 times
Been thanked: 9 times

Re: Betreff: Modul ESP32-4848S040

Post by Helmut_number_one »

Thankyou in advance.
In most of the pictures I add temperature texts, they should be added with MQTT and or UDP.
But I'm still trying, only the tips are important if I get stuck.
Post Reply