HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32
https://www.openhasp.com
MIT License
731 stars 187 forks source link

Sunton 2432S028R or similar to Touch not work at all #767

Open Szymon-ek opened 4 months ago

Szymon-ek commented 4 months ago

Perform all steps below and tick them with [x]

Blow developmen build esp32-2432s028r_full_4MB_v0.7.0-rc12_cd34d89.bin in. Similar efect with Buided from Source code via Visual Studio Code

Describe the bug

New openHASP Nightly Development Build Sunton 2432S028R, LCD work OK , www, all working fine, but Touch not work at all. With original Firmware LVGL demo touch work OK

To Reproduce

Reprogram Board with: esp32-2432s028r_full_4MB_v0.7.0-rc12_cd34d89.bin

Expected behavior

Workin touch

Screenshots or video

image image

fvanroie commented 4 months ago

2432S028R is for resistive touchreens only.

Szymon-ek commented 4 months ago

Yes and this is resistive touchscreen, chip is xpt2046, is connected courtly to pins: TOUCH_CS=33 TOUCH_SCLK=25 TOUCH_MOSI=32 TOUCH_MISO=39 TOUCH_IRQ=36 Because i do not how to debug firmware yet, i do not know if this module was not compiled , or selected one is incorrect

Szymon-ek commented 3 months ago

any idea whay it not work ?

Saharel001 commented 3 months ago

Hi there, in my case with the same display ID (but with usb c) and the same firmware it works. But the touch is mirrored. Maybe more as one versions of this display exist.

tremichl commented 3 months ago

Have also an ESP32-2432S028 here with an additional USBC port. Apparently there are some more differences to the "original" ESP32-2432S028R IMG_20240809_152617 IMG_20240809_152634 Would it be possible to create an image for upgraded HW version? Thanks!

Darthmonkey commented 3 months ago

I'm having exactly the same issues as tremichl. Is it likely anyone will be looking at this?

RyanEwen commented 2 months ago

Might be silly but did you initiate the Display Calibration via web UI?

I just set up 2 of these and touch works fine after doing the Calibration. Did not respond to touch before that.

pocketware commented 1 month ago

Might be silly but did you initiate the Display Calibration via web UI?

I just set up 2 of these and touch works fine after doing the Calibration. Did not respond to touch before that.

This fixed the no touch issue!

jf1452 commented 3 weeks ago

Same here, logged in by phone, have plate displayed on the screen; no web interface to calibrate.