-
Notifications
You must be signed in to change notification settings - Fork 4
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
esp32-2432S028R enhancements and issues #22
Comments
Ha yes there is so much version for this device.
Can make a new one. This device can work with 3 differents libs, by defaut it's TFT_eSPI so setting are defined by defaut on the lib by -Desp2432S028R
You normaly need to use Can use value from 0 to 8. I need to check if the lib is updated and support your version now. The esp32-2432S028R_old use another lib LovyanGFX, perhaps easier to use, all the config is in a different file. The easier way is copy/paste one existing default_envs and edit it. |
And for the autobrightness, need to use a special setting too in the device settting #10 (comment) |
BTW can you try with this environnement default_envs = esp32-2432S028R_old ? if you are using
In board/esp32-2432S028R.json Try replace Have found this post with your device HASwitchPlate/openHASP#550 (comment) |
How you can have this information ? But it's the chip, not the display driver, so for me it don't have impact on result.
|
Tnx, for all the answers. Will work with those answers soon.
|
Better to start with TFT_eSPI (for homogenization)
For this one it's easier, it will use a file in the "drivers" folders, so easier to make change. I have too the USB-C connector, but it's a V2 if I remember. |
Tnx, for all the info. No good result yet. |
Got my screen 90 degrees rotate with on env:esp32-2432S028R:
Also used the driver
Which already did the 90 degrees rotation |
Reverse TFT_HEIGHT and TFT_WIDTH is not a good method because the code use them later. in screen_driver.cpp you can force rotation using (around line 554)
About the driver, the ILI9342_DRIVER is an "auto reverse"
But if I remember it make a conflict somewhere. But this libs is boring to configure.
It will use the file esp32-2432S028R.h in "drivers" so ALL settings in esp32-2432S028R.json will be working.
I m searching information, I m seing issues with color, rotation, but never SPI errors, you can share your errors ? Edit: BTW it seem yhe V3 use another driver https://github.com/rzeldent/platformio-espressif32-sunton/blob/59ec63edd07c4d5d75d5b1e46083c2ab6446ab46/esp32-2432S028Rv3.json Perhaps better with instead of You have 2 USB port ? |
So have you finaly succed ? |
Did not have much time to test. |
Have pushed a new version. Can test 2 drivers (both will use the ST7789 driver) :
This one will use the file board/esp32-2432S028R_V3.json but rotations are 50% locked, you can set an initial rotation but the code change it later, take care it have an impact, if you use direclty the last rotation you can have a different result.
This one will use the file board/esp32-2432S028R_V3.json but will use too the file drivers/esp32-2432S028R_V3.h, so you can have more liberty with height and width, have same problem for rotations (one at driver initialisation, and one other in code hard coded after the launch) Hard coded rotation (to test, can disable them if you want)
Edit : |
Tnx, will look into it, but only have time from Wednesday. |
I tested with a lot of settings, but panel |
For information, if it's not possible to use the bigger value for width (and if you use it in landscape ofc) I can make modification on the code for it use for example DISPLAY_WITDH, and reverse TFT_WIDTH and TFT_HEIGHT. |
Still not working ? |
I bought also a esp32-2432S028R, Chip identifies with ESP32-D0WD-V3 (revision v3.1)
To get in running I had to add/change:
platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.10.03/platform-espressif32.zip
because of SPI errors.
Also the timeout for the screen go blank does not work.
It looks like the -DAUTO_BRIGHTNESS does not work. Will need some more testing.
Info: ESP2SOTA works.
Question: How do I rotate 90 degrees?
The text was updated successfully, but these errors were encountered: