-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Udisplay support for rgb displays #17414
Conversation
Price is really nice. But shipping :-( Do you know a other source? |
Shipping was 15 euros and arrived in 8 days ! |
Thx. Had to create an account. Well really nice, latest S3 on board and touch is already included too + card reader. @s-hadinger Perfect for LVGL. |
i forgot an info. |
Really nice display ;-) The template should set the A3 GPIO too.
will upload a autoconfig file... |
Hi, I am able to connect the webinterface but dont get the display to show anything. Does anybody have an idea what I am doing wrong? Maybe it has something to do with the template and autoconfig as ESP32-8048S050 has ST7262 and ESP32-8048S043 has ILI9485. |
Different display controller, so it needs a different display.ini to init. |
So I do have to compile it? |
You have to read ;-) Start here https://tasmota.github.io/docs/Displays/#universal-display-driver |
Ok thanks. |
Or is it this one #17326 |
No, the display I have is: It`s strange I cant find any information for ILI9485. |
Strange managed to download the demo package from here http://www.jczn1688.com/zlxz
|
@gemu2015 Can you help? |
sorry i can't , as long as there is no proven to work source code i am not willing to dig into this. |
@gemu2015 So I have to compile the code @Jason2866 sent and upload it to the device? |
yes "hello world" is enough |
Ok, got it. Now I have display output. Every every second another "Hello World" wit different color and background color is added to the screen. FYI as in the instruction I needed to copy |
ok, this seems to be the sunton-s3 |
Ok, thanks for help. |
if you took the very first template you have to enable udisplay by setting GPIO 0 to Option A3 |
No, i took the second one. |
your display.ini is complete garbage. it should only be a few lines |
I used ST7262_rgb16_display.ini fom here and renamed it. |
look at the file size, it should have only have 164 bytes |
Thanks, ill` check. |
Now the backlight blinks three times on startup and then stays on and lower brightness. Screen stays black. |
what is in the console during boot ? |
|
this caused a reset, maybe it is the ILI chip variant. to adapt this is much more work why don't you buy a display known to be supported by tasmota like the one above. it is only 25 Euros + 15 euros shipping |
Before buying I checked blakkers page an found ESP32-8048S050. Which I wasnt able to fin a seller. Thanks anyway. |
Which display is supported ESP32-8048S050, ESP32-4827S043? |
the one at start of this post with controller ST7262 800x480 pixels |
The link in the first post is for a 4.3" display. No mention of a 5" screen. According the these secifications the only display with ST7262 is the 5" one. |
quite confusing. btw i can not recommend resistive touch at all. |
i see the display is out of stock now. it was remarkably cheep. the 5 inch is more expensive. i don't know if its hardware compatible though despite it has the same display controller chip. but having the same chip only GPIO numbers may have to be changed. |
what you can try is to identify your currents display gpio definitions. these pins must be transposed into display.ini. in the tasmota display docs you will find further explanation how to Arduino_ESP32RGBPanel bus = new Arduino_ESP32RGBPanel( |
look at point 6: b0-b5 are 6 GPIO pins named b0,b1,b2 etc. |
sorry doku error b goes from b0-b4 , try pixel clock 12 |
Now my display.ini looks like this: Starting with this .ini I still get no display output but I am able to toggle backlight and displaydimmer comand is working. |
the formatting of display.ini is important too. the line endings MUST be Linefeed not carriage return. (i assume this to be wrong because the formatting of your post above ist strange) it would help if you enable debugging in universal display driver and monitor the output of serial monitor during startup. |
Compiled a tasmota32-lvgl.bin after installation no lifesign. No ap, no webinterface. Do I have to add something else to user config? |
@Rushmed did you ever get this working with the ILI9485/ESP32-8048S043 ? |
Not really. |
I thought you might say that, i was kind of hoping to use the haspmota functionality in tasmota with one of these to replace openhasp since it has no support for deep sleep (making a remote :D) |
Description:
adds new touch driver gt911
adds support for rgb displays to universal display driver
=> sunton esp32-s3 rgb display 800x480
the cheapest high res esp board available, very good display panel but a little slow
https://www.makerfabs.com/sunton-esp32-s3-4-3-inch-ips-with-touch.html
{"NAME":"SUNTON","GPIO":[1,1,1,1,1,1,1,1,1,1,6720,704,736,672,1,1,1,1,1,640,608,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1],"FLAG":0,"BASE":1}
remark:
this driver does heavy DMA. obviously there is a clash with RGB PSRAM DMA and
a special heap call:
uint32_t free_block_size = heap_caps_get_largest_free_block(MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT);
it generates a divide by zero error when the display is enabled
there seams to be no other anomaly, everything else works without any problems
i had to disable this call by define
#define RGB_DISPLAY
otherwise get info crashes with zero divide error.
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass