Module ESP32-8048S070C

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

Module ESP32-8048S070C

Post by cicciocb »

Does someone have this module?
I have a version ready to be tested.

I prepared some demos for it
A mp3 radio player that shows Weather Information at the same time (with OpenWeatherMap.org)
IMG_6940.jpg
A mp3 file player that shows Weather Information at the same time (with OpenWeatherMap.org)
IMG_6941.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2047
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1345 times
Contact:

Re: Module ESP32-8048S070C

Post by cicciocb »

I see many thanks but nobody bought it?
I know, the esp8266 is much cheaper :D
P.s. it's a joke 🤣
User avatar
PeterN
Posts: 391
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 219 times
Contact:

Re: Module ESP32-8048S070C

Post by PeterN »

:D Xmas is comming soon
BeanieBots
Posts: 344
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 182 times
Been thanked: 112 times

Re: Module ESP32-8048S070C

Post by BeanieBots »

On my wishlist but delivery after Xmas :(
User avatar
Electroguard
Posts: 858
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 273 times
Been thanked: 322 times

Re: Module ESP32-8048S070C

Post by Electroguard »

I've just received an ESP32-2432S024C
2.4-inch 240*320 Capacitive touch

Edit: Just flashed it and configure it from the list, any examples or info for it ?
User avatar
cicciocb
Site Admin
Posts: 2047
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1345 times
Contact:

Re: Module ESP32-8048S070C

Post by cicciocb »

This is the wrong post .... the module here is a 7" based on ESP32-S3 800x480 with capacitive touch :D

Have a look here : [Local Link Removed for Guests]
User avatar
cicciocb
Site Admin
Posts: 2047
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1345 times
Contact:

Re: Module ESP32-8048S070C

Post by cicciocb »

I already posted this into another discussion but these are the information required to use this module :

First of all you must use the version 1.51.8 CAN_DMT_VGA_HID_qio_opi_LFS for the ESP32-S3.

The module must be configured in "Advanced mode" as shown in the picture below :
image.png
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
option.touch 1 'set the capacitive touchscreen
touch.init 'initialise the touch
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

Demo


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.
BeanieBots
Posts: 344
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 182 times
Been thanked: 112 times

Re: Module ESP32-8048S070C

Post by BeanieBots »

Almost but not quite.
I get syntax error line 5 (touch.init) It IS the touch version. Factory firmware worked OK.
Display starts OK. Loads picture followed by sprites but then fades to black with a few bright pixels on the LHS.
If I put a wait statement after the first vga.show (line 51) I get a stable screen as per demo but obviously no interaction.
Do I need to use touch.calib?
User avatar
cicciocb
Site Admin
Posts: 2047
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1345 times
Contact:

Re: Module ESP32-8048S070C

Post by cicciocb »

Do you have the capacitive touchscreen ?
BeanieBots
Posts: 344
Joined: Tue Jun 21, 2022 2:17 pm
Location: South coast UK
Has thanked: 182 times
Been thanked: 112 times

Re: Module ESP32-8048S070C

Post by BeanieBots »

I believe so.
Is there an easy way to tell for sure?
Post Reply