ESP32 2432-S028 Dev Board with LCD, Touch, SD, Audio and more. Working Code! CHEAP
ฝัง
- เผยแพร่เมื่อ 22 พ.ค. 2023
- ESP32 Development Board WiFi Bluetooth 2.8 Inch 240X320 Smart Display TFT Module Touch Screen
github.com/rhenry74/photo_res...
macsbug.wordpress.com/2022/08... - เพลง
Can’t wait to see whats next! I don’t know why but I’m really into this little chip. Amazing how versatile and powerful this little thing is.
Non-intrusive fluid level detection 😉
@@rhenry74 Thanks for posting some good info. That github link has a 404 error though.
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!
There’s only just a couple io left over
Search Amazon for Zhanshi
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!!!
13:10 well don't worry just use an external usb to serial straigth to the esp32 , load an OTA sketch, so u can do it via wifi, and you're off :)
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.
good job Rob. Could you pls share the link on how to install the libs on arduino IDE? tks
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.
Interesting video. Nice product for controlling projects. Are you planning on a video of how to design the graphics/buttons?
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.
how to flash the esp32 lvgl 2.8 module to nerd miner?
I love that sound
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
I am a newbee trying to learn about this board.
I followed as much as I understand your TH-cam 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.
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
I hope the links in the description help.
THANKS
does it work well with a finger or thumb?
I want to get one of these i just dont know if it is using the IL9341/ST7796 or XPT2046/GT911.
ILI9341 according to the website linked in the description
TFT = thin-film transistor. It's the type of LCD display technology. en.wikipedia.org/wiki/TFT_LCD
Ahhh
Thanks for the clarification
What did he take?
Needthat.
please send the code for the sound
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.
Are you trying my GitHub link?
@@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.
@@rhenry74 i did.. it was my mistake, having the wrong pins defined in the espi library. once i got that fixed it was fine
i have the same board and i want to display a gif on repeat. I'm a complete novice and have been researching to no avail. can you please help?
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.
I went to your git page I think I found to sound thing.
www.lilygo.cc/products/t-hmi
what you a building is called a guie with sound
It clips to protect little ears
broken link for github
sorry, it wasn't public
th-cam.com/video/6JCLHIXXVus/w-d-xo.html
Nice mod for audio.
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 ;-)
th-cam.com/video/0AVyvwv0agk/w-d-xo.html
CYD 👍
Could be a good board. It's cheap because there are so many bad designs on it. For example The i2c connector is wrong. Such a shame
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 🤔