I finally got a full screen Sprite working for this. The trick is to use a 16 color pallet when creating your Sprite otherwise it can't allocate enough memory.
AH! I'm glad that I saw your comment. I was about to suggest using sprites for a nice clean, not flashing display. But clearly, you found it. LOL At the price shown, these would be fun to play with. But I notice that they've now jumped by almost 100%! While interesting, the thing I don't like about these all-in-one things, is the lack of easy access to ALL of the I/O pins!
Look at github.com/rhenry74/photo_res_graph_audio_sd/blob/master/src/main.cpp See the class LCDRect... an instance of this class knows how to "Draw" itself and if you pass it the location of a touch it can let you know if the touch "Hits" it. Rudimentary object oriented programming for sure but it can be used as a label or a button.
been looking for info for these sorts of esp borads found one like this on aliexpress just been trying to get info on them is not ez looking to use one as a gif player
Thanks for the information. I bought an earlier version before the ESP32 was popular and there was ZERO information on it. Even the manufacturer had deleted the information for it because they were trying to push the 32 versions. After that I just avoid these all in ones like the plague.
Yeah, I've been playing with an Elecrow all-in-one. I have a low level graphics driver working but it doesn't have Sprite, so I'm getting terrible flicker. They have examples of it working with LVGL but I'm not up to speed on LVGL yet. I feel your pain but hanging all this stuff together separately is far less cost effective.
Hello! Thanks for the awesome video! Do you know what is the voltaje input for the EXT Power Conn : P1 ( VIN, TX, RX, GND )?. I would like to use an external battery so not sure where I should use the 3.7v or if I need an stepup to use 5v Thanks!!!
Hi, I'm looking to make a small display that will get info from an API, turn the JSON into something readable, and display it on the screen. Do you reckon that would be relatively straightforward to do with this? I know how to call and handle APIs, but unsure about displaying the data on the screen. Once set up, is it similar to any other Arduino display?
github.com/lovyan03/LovyanGFX/blob/master/examples/HowToUse/3_fonts/3_fonts.ino looks like you have lcd.print() and lcd.println() which would automatically advance a cursor so yes, i would say it is similar to Arduino displays
One thing really good about this is the viewing angles. I didn't know how good they were until I compared it to some others. Or maybe the others are just bad 🤔
So you need to install github.com/lovyan03/LovyanGFX then include the header file (lgfx_ESP32_2432S028.h) in the github link in the description. Looks like I was using platformio. Hopefully it won't be too hard to translate.
Did you see my previous link about the cheap yellow display CYD? Watch that video and check out its links to a GitHub repository that probably has something in it about displaying GIFs... I'm guessing. I have not tried to display any graphic file formats on ESP 32 displays... sorry.
It seems you were in such a hurry to 'get this video out' that there's no real information as to how to program it etc...Also, I have this module and, from the sensitivity and surface finish, it's seems like a capacitive touch screen not resistive.
I am having so many problems with this screen (absolutely my fault) I can get it to flash. And can get a serial "hello world" but anytime I try and load anything for the screen I get just a white screen.
@@rhenry74 i had erase and reload a few libraries. had changed something for a past project and couldn't remember what. i usually make a copy of the library before i change it and include the changed one so the original doesn't break.
@@njsurf1973 did you get it working? Seems like I remember running into a problem with library sharing when I was using the Arduino IDE. I think PlatformIO will keep all these libraries separate, which is usually wasteful but, maybe in this case, is a good thing.
www.amazon.com/AITRIP-Development-ESP32-2432S028R-Bluetooth-240X320/dp/B0CKYVPWX9 the link i used to buy it on amazon is dead but another has sprung up ;-)
I am a newbee trying to learn about this board. I followed as much as I understand your RU-vid instructions but getting the following errors. Please help me understand these errors and how to fix them? Thanks. Arduino: 1.8.19 (Windows 10), Board: "ESP32 Dev Module, Disabled, Huge APP (3MB No OTA/1MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None" In file included from C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:2: C:\Users\jhuss\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:20: warning: "ESP32" redefined #define ESP32 : note: this is the location of the previous definition In file included from C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:2: C:\Users\jhuss\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:21: warning: "CONFIG_SPIRAM_SUPPORT" redefined #define CONFIG_SPIRAM_SUPPORT In file included from c:\users\jhuss\documents\arduino\libraries\lvgl-3\src\lv_conf_kconfig.h:15, from c:\users\jhuss\documents\arduino\libraries\lvgl-3\src\lv_conf_internal.h:15, from c:\users\jhuss\documents\arduino\libraries\lvgl-3\src/misc/lv_fs.h:16, from c:\users\jhuss\documents\arduino\libraries\lvgl-3\lvgl.h:24, from C:\Users\jhuss\Documents\Arduino\libraries\lvgl-3\src/lvgl.h:17, from C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:1: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3/tools/sdk/esp32/qspi_qspi/include/sdkconfig.h:660: note: this is the location of the previous definition #define CONFIG_SPIRAM_SUPPORT CONFIG_ESP32_SPIRAM_SUPPORT C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino: In function 'void clearBufferArray()': C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:163:17: warning: converting to non-pointer type 'unsigned char' from NULL [-Wconversion-null] buffer[i] = NULL; // clear all index of array with command NULL ^~~~ C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino: In function 'void lv_example_bar()': LVGL_Arduino2.8RTP-CeShi-Hor:525:37: error: 'ui_img_bar_320_01_png' was not declared in this scope lv_obj_set_style_bg_img_src(bar, &ui_img_bar_320_01_png, LV_PART_MAIN | LV_STATE_DEFAULT); ^~~~~~~~~~~~~~~~~~~~~ C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:525:37: note: suggested alternative: 'ui_img_bar_800_01_png' lv_obj_set_style_bg_img_src(bar, &ui_img_bar_320_01_png, LV_PART_MAIN | LV_STATE_DEFAULT); ^~~~~~~~~~~~~~~~~~~~~ ui_img_bar_800_01_png LVGL_Arduino2.8RTP-CeShi-Hor:527:37: error: 'ui_img_bar_320_02_png' was not declared in this scope lv_obj_set_style_bg_img_src(bar, &ui_img_bar_320_02_png, LV_PART_INDICATOR | LV_STATE_DEFAULT); ^~~~~~~~~~~~~~~~~~~~~ C:\Users\jhuss\Documents\Arduino\2.8-Factory-Program\LVGL_Arduino2.8RTP-CeShi-Hor\LVGL_Arduino2.8RTP-CeShi-Hor.ino:527:37: note: suggested alternative: 'ui_img_bar_800_02_png' lv_obj_set_style_bg_img_src(bar, &ui_img_bar_320_02_png, LV_PART_INDICATOR | LV_STATE_DEFAULT); ^~~~~~~~~~~~~~~~~~~~~ ui_img_bar_800_02_png Multiple libraries were found for "Wire.h" Used: C:\Users\jhuss\Documents\Arduino\libraries\Wire Not used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\Wire Multiple libraries were found for "BLEDevice.h" Used: C:\Users\jhuss\Documents\Arduino\libraries\BLE Not used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\BLE Multiple libraries were found for "SD.h" Used: C:\Users\jhuss\Documents\Arduino\libraries\SD Not used: C:\Program Files (x86)\Arduino\libraries\SD Not used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\SD Multiple libraries were found for "WiFi.h" Used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi Not used: C:\Program Files (x86)\Arduino\libraries\WiFi Multiple libraries were found for "SPI.h" Used: C:\Users\jhuss\Documents\Arduino\libraries\SPI Not used: C:\Users\jhuss\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\SPI exit status 1 'ui_img_bar_320_01_png' was not declared in this scope This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.