-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support of the CYB 2.2 inch capacitive screen. ESP32-2432S022 #112
Comments
Hey man... I've foud this project that might work in the TFT configuration It is very hard for me to bring it to Launcher since I don't have the device.. Pleas go to the Launcher Flasher and try the BetaRelease > CYD-2432S022C version and tell me the results, please |
I beleive you'll have a lot of trouble with this display.. |
the only thing working for this board is OpenHASP with these (https://github.com/HASwitchPlate/openHASP/blob/master/user_setups/esp32/esp32-2432s022c.ini) settings. i think everything works. but I would like to use marauder or m5 launcher with this board. |
Yes.. I saw that.. seems like TFT_eSPI (Library used in this project, Marauder and Bruce) can't make it work.. In openHasp it is using LovyanGFX library and LVGL.. |
1 similar comment
Yes.. I saw that.. seems like TFT_eSPI (Library used in this project, Marauder and Bruce) can't make it work.. In openHasp it is using LovyanGFX library and LVGL.. |
hey man.. I'm trying a new graphics lib (Arduino_GFX), can you test it, and tell me if it works? Please go to Launcher Flasher > BetaRelease > CYD-2432S022C (Capacitive) |
Hi. I flashed the device, but the result was the same as in the comment above. |
Yes, ArduinoGFX and TFT_eSPI don't handle gpio over 31 for the tft pins.. the only library which works is LovyanGFX.. I'm thinking of a way to integrate it with the code I already have and keep it easy to add new boards.. I hope I'll have something until the end of this week.. |
I updated now, can you test it? now CYD-2432S022C is using LovyanGFX lib.. using the same openHASP settings Launcher Flasher > BetaRelease > CYD-2432S022C (Capacitive) |
ELF file SHA256: 45bf3835fc852bd1 E (241) esp_core_dump_flash: Core dump flash config is corrupted! CRC=0x7bd5c66f instead of 0x0 rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) Core 1 register dump: Backtrace: 0x400d6c97:0x3ffb2240 0x400f0de2:0x3ffb2290 looping this. no screen |
Found the problem and fixed it.. I wasn't starting the object in the right way for this library, now it is fine I've tested it on my T-Display S3, which uses 8bit_parallel too with lovyan and now it is supposed to be initializinf and working. Launcher Flasher > BetaRelease > CYD-2432S022C (Capacitive) |
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) Not working and i got this output loop |
It overflowed the partition size.. can you try it again, please? |
thank you. it is working fine but i think the screen orientation is wrong VID-20250225-WA0012_1.mp4 |
Niiiice!!! Awesome!! good to see the display working.. It might be a problem of the cfg.offset_rotation that was set to 3 (same used in TFT_eSPI), but maybe it should start at 0 (as an offset), and default ROTATION kept in 3 for the touch coordinates work well.. I updated now, you can test it |
Fixed now 😁 |
rebuilding.. i broke a few things.. |
As far as I have tried, everything works perfectly. Thank you for your efforts. I'm just wondering, there is a button on the board but I guess it has no function, can this button be assigned a function? and i hope this card becomes compatible with other projects for example Marauder, bruce |
Thank you!
It could, but it's not necessary gor launcher
Maybe.. |
I was able to successfully upload and install openhasp .bin file. now dual booting launcher and openHASP. it's so cool. Thank you m5launcher works very well and the card does not heat up, but when openHASP is running, the card gets very hot. I think your code is more optimized. |
It happens because OpenHasp keeps WiFi turned On the whole time.. it heats the ESP32 chip too much.. Launcher only uses WiFi while in OTA (for M5 devices) and while WebUI is on |
Could you please add support for the CYB ESP32-2432S022 board?
Documentation and examples: link
Thanks in advance
The text was updated successfully, but these errors were encountered: