Modul ESP32-8048S070

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

Modul ESP32-8048S070

Post by waldli »

Hallo Francesco,
Du hast vor 3 Wochen ein DEMO für den MODUL ESP32-8048S070 auf YouTube vorgestellt

ESP32-S3 Annex32 RDS - Demo Gui with LCD RGB 800x480


wo kann man die Konfiguration für den Modul laden ?
oder den Demo Programm.

mit freundlichen Grüßen
Waldemar
User avatar
cicciocb
Site Admin
Posts: 2197
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 470 times
Been thanked: 1462 times
Contact:

Re: Modul ESP32-8048S070

Post by cicciocb »

Do you have the module?
waldli
Posts: 16
Joined: Sat Sep 02, 2023 7:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: Modul ESP32-8048S070

Post by waldli »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Dec 28, 2023 8:21 pm Do you have the module?
Hallo Francesco,
Ja habe ich Heute bekommen frisch aus China... ;)

Grüße
Waldemar
User avatar
cicciocb
Site Admin
Posts: 2197
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 470 times
Been thanked: 1462 times
Contact:

Re: Modul ESP32-8048S070

Post by cicciocb »

OK but, please, try yo write in English as this is an English forum ... :D

To enable this module you must use the following lines of code :

Code: [Local Link Removed for Guests]

vga.pinout 14, 21, 47, 48, 45, 9, 46, 3, 8, 16, 1, 15, 7, 6, 5, 4, 39, 40, 41, 42 'set the pinout
vga.delete 'delete the previous session

i2c.setup 19, 20  'set the i2c pinout for the touchscreen
touch.init 'initialise the touch
option.touch 1 'set the capacitive touchscreen
touch_p = 0

vga.init 12  ' set the mode at 800x480 (aggressive)

pin.mode 2, output  ' backlight
pin(2) = 1
You can then use all the functions for the VGA ... check in the help
User avatar
cicciocb
Site Admin
Posts: 2197
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 470 times
Been thanked: 1462 times
Contact:

Re: Modul ESP32-8048S070

Post by cicciocb »

Hi,
this is the code for the demo shown on youtube.

Code: [Local Link Removed for Guests]

vga.pinout 14, 21, 47, 48, 45, 9, 46, 3, 8, 16, 1, 15, 7, 6, 5, 4, 39, 40, 41, 42
vga.delete

i2c.setup 19, 20
touch.init
touch_p = 0

vga.init 12

pin.mode 2, output  ' backlight
pin(2) = 1
tft.loadfont "/fonts/FreeSansBold20pt7b.bin", 10
tft.loadfont "/fonts/FreeMonoBold24pt7b.bin", 11

vga.spritesheet "/sprites/buttons5_128x128.bmp"
vgagui.setsprite 0,0,128,128,128,0

vga.show
vgagui.init 50

vgagui.image 0,0,0,0, "/img_800x480/01698_betweenthemountains_800x480.jpg"

dim sprites(10)
for z = 0 to 4
  b = vgagui.sprite(40 + z*150, 220,128,128, z+11, z, toggle, 1)
  vgagui.SetEvent b, TOUCH, goTouch
next z
for z = 0 to 4
  b = vgagui.sprite(40 + z*150, 350,128,128, z+16, z+5, momentary)
  vgagui.SetEvent b, TOUCH, goTouch
next z

b1 = vgagui.button(320,10,150,70, "Button", 10, 30)
t1 = vgagui.textline (10,10,300, 70, "textbox", 10)
sld1 = vgagui.slider(10,160, 300, 50, 50, horizontal)
bar1 = vgagui.ProgressBar 10, 90, 300, 50, 50, horizontal)
gau1 = vgagui.gauge(650, 10, 100,100,50)
a1 = vgagui.arc(500,10,100,100,50, 15)
a2 = vgagui.arc(650,120,100,100,50, 20)
c1 = vgagui.checkbox(350, 90, 50,50,0)
c2 = vgagui.checkbox(450, 90, 50,50,0)
r1 = vgagui.checkbox(350, 160, 50,50,0, RADIO, 1)
r1 = vgagui.checkbox(450, 160, 50,50,0, RADIO, 1)

vgagui.setcolor a2, cyan, gold
vgagui.setstyle sld1, 20,0,0

vgagui.SetEvent sld1, CHANGE, sliderChange

vgagui.refresh
vga.show

for z= 1 to 10000000
  vgagui.setvalue gau1, z/100
  vgagui.setvalue a2, z/10 mod 100
  'vgagui.setText t1, str$(z)
  touch.read
  vgagui.refresh 1, touch.x, touch.y, touch.z
  vga.show
next z

end

goTouch:
print "touched",vgagui.target
vgagui.setText t1, str$(vgagui.target,"touched %d", 1)
return

sliderChange:
vgagui.setValue bar1, vgaGUI.GetValue(sld1 )
vgagui.setValue a1, vgaGUI.GetValue(sld1 )
return


All the files are in the zip file below :
ESP32-8048S070C_demo1.zip
You can simply upload it using the file manager page the Zip Files Upload

Enjoy
You do not have the required permissions to view the files attached to this post.
rmsta
Posts: 36
Joined: Sat Feb 20, 2021 9:36 am
Location: Sindelfingen, Germany
Has thanked: 146 times
Been thanked: 10 times

Re: Modul ESP32-8048S070

Post by rmsta »

Just to be on the save side, this is the right module ?

https://de.aliexpress.com/item/10050066 ... ry_from%3A

Rainer
User avatar
cicciocb
Site Admin
Posts: 2197
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 470 times
Been thanked: 1462 times
Contact:

Re: Modul ESP32-8048S070

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Apr 16, 2024 7:25 pm Just to be on the save side, this is the right module ?

https://de.aliexpress.com/item/10050066 ... ry_from%3A

Rainer
I think so but take care to buy the one with capacitive touch
EasyRider
Posts: 33
Joined: Sat Jun 05, 2021 1:27 am
Has thanked: 7 times
Been thanked: 5 times

Re: Modul ESP32-8048S070

Post by EasyRider »

Tips to anyone that may have a problem starting with this module.

1. After Flashing firmware, disconnect and reconnect power to module. Otherwise, it may not start after flashing firmware?
2. Make sure that it is connected to USB power source that has enough current to operate the module when backlight pin 2 is turned ON.
If PC USB port does not have enough current. When you turn ON backlight through pin2, module will turn off/reset and wont work.

Mine works OK now as I connected to higher current power source and with Francesko's demo in above post with zip files that he provided.

Hope this helps if you have a problem like I had above.
BeanieBots
Posts: 361
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 197 times
Been thanked: 115 times

Re: Modul ESP32-8048S070

Post by BeanieBots »

Some good points EasyRider. It's very easy to forget power issues when supplied from a PC USB port.
These displays can be quite thirsty!
Post Reply