Comments on: Getting Started with ESP32 Cheap Yellow Display Board – CYD (ESP32-2432S028R) https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 12 May 2026 15:47:57 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: coolmd https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1187458 Tue, 12 May 2026 15:47:57 +0000 https://randomnerdtutorials.com/?p=149234#comment-1187458 In reply to Joh Kavathas.

It can be used to add Psram, there are some mods out there, as too why they didnt use it, who knows

]]>
By: Joh Kavathas https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1187189 Mon, 11 May 2026 21:08:11 +0000 https://randomnerdtutorials.com/?p=149234#comment-1187189 Hello again,
Does anybody know what this 8 pin footprint next to the WROOM CPU can be used for? Somewhere read it is FLASH (memory?) but why it is unpopulated?
Thanks

]]>
By: Sara Santos https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1185209 Tue, 05 May 2026 16:43:11 +0000 https://randomnerdtutorials.com/?p=149234#comment-1185209 In reply to Thad.

Hi.
What was exactly the error that you get?
Search for this setting in the user_setup.h file and uncomment the corresponding lines:
#define ST7789_DRIVER (and comment the other driver)
#define TFT_RGB_ORDER TFT_BGR
#define TFT_INVERSION_OFF

I hope this helps.
Regards,
Sara

]]>
By: TL https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1184982 Mon, 04 May 2026 22:25:20 +0000 https://randomnerdtutorials.com/?p=149234#comment-1184982 In reply to John Kavathas.

I used a CYD2USB. You can see my error above on March 30, 2026. Mine used a ILI9341.
In ESPHome, I needed to add parameters to make it work. Maybe these will help somebody else. If you find where to make these changes in Arduino IDE, please let me know.
invert_colors: false
spi_mode: MODE3
data_rate: 40MHz
color_order: bgr
color_palette: 8BIT
swap_xy: true

]]>
By: Thad https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1184973 Mon, 04 May 2026 21:29:12 +0000 https://randomnerdtutorials.com/?p=149234#comment-1184973 In reply to Sara Santos.

What do you change in the user_setup.h file? I tried the code unmodified for my CYD2USB, (the Github nickname for the CYD with Micro and USB-C) and got an error that was never resolved. I ended up using ESPHome for programming, but i may need to program my second CYD2USB in Arduino iDE.

]]>
By: Sara Santos https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1184969 Mon, 04 May 2026 20:45:51 +0000 https://randomnerdtutorials.com/?p=149234#comment-1184969 In reply to John Kavathas.

Hi.
Our examples use the ILI9341. However, they are still compatible with the ST7796 if you change the driver in the user_setup.h file.
Just make sure it uses resistive touchscreen to be compatible with our examples.
Regards,
Sara

]]>
By: John Kavathas https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1184665 Sun, 03 May 2026 18:12:08 +0000 https://randomnerdtutorials.com/?p=149234#comment-1184665 Should I buy a board with ILI9341 or ST7796? Also there are boards with 2 USBs (USB-C and micro USB). Are they any better?

]]>
By: Sara Santos https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1182285 Sun, 26 Apr 2026 20:23:47 +0000 https://randomnerdtutorials.com/?p=149234#comment-1182285 In reply to Faddah Wolf.

Hi.

In the instructions we mention:
Go to Tools > Board and select ESP32 > ESP32 Dev Module

If you don’t have the ESP32 boards installed, you must follow this tutorial first: https://randomnerdtutorials.com/installing-esp32-arduino-ide-2-0/

Then, make sure you follow the section to install the required libraries.

Then, it should work.

I hope this helps.

Regards,
Sara

]]>
By: Faddah Wolf https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1180260 Sun, 19 Apr 2026 17:37:08 +0000 https://randomnerdtutorials.com/?p=149234#comment-1180260 I was gifted on of these CYD boards+touch-display, so I found your tutorial and decided to give it try. I tried compiling the code you give above in my Arduino Uno for Mac OS, version 2.3.8, for an Arduino UNO WiFi (you do not say in these instructions WHICH Arduino board to compile for in the Arduino IDE), and I get the following errors just trying to compile the code. It says something about, “‘VSPI’ was not declared in this scope.” How do I fix this and get beyond this so I can try this on the CYD I have?? —

/Users/faddah/Documents/Arduino/cyd_sketch_1_display_test_test_touchscreen/cyd_sketch_1_display_test_test_touchscreen.ino:32:36: error: 'VSPI' was not declared in this scope
SPIClass touchscreenSPI = SPIClass(VSPI);
^~~~
/Users/faddah/Documents/Arduino/cyd_sketch_1_display_test_test_touchscreen/cyd_sketch_1_display_test_test_touchscreen.ino:32:36: note: suggested alternative: 'SPI'
SPIClass touchscreenSPI = SPIClass(VSPI);
^~~~
SPI
/Users/faddah/Documents/Arduino/cyd_sketch_1_display_test_test_touchscreen/cyd_sketch_1_display_test_test_touchscreen.ino: In function 'void setup()':
/Users/faddah/Documents/Arduino/cyd_sketch_1_display_test_test_touchscreen/cyd_sketch_1_display_test_test_touchscreen.ino:78:75: error: no matching function for call to 'SPIClass::begin(int, int, int, int)'
touchscreenSPI.begin(XPT2046_CLK, XPT2046_MISO, XPT2046_MOSI, XPT2046_CS);
^
In file included from /Users/faddah/Documents/Arduino/cyd_sketch_1_display_test_test_touchscreen/cyd_sketch_1_display_test_test_touchscreen.ino:11:0:
/Users/faddah/Library/Arduino15/packages/arduino/hardware/avr/1.8.7/libraries/SPI/src/SPI.h:159:15: note: candidate: static void SPIClass::begin()
static void begin();
^~~~~
/Users/faddah/Library/Arduino15/packages/arduino/hardware/avr/1.8.7/libraries/SPI/src/SPI.h:159:15: note: candidate expects 0 arguments, 4 provided
exit status 1

Compilation error: 'VSPI' was not declared in this scope

]]>
By: Jay https://randomnerdtutorials.com/cheap-yellow-display-esp32-2432s028r/#comment-1175928 Sun, 05 Apr 2026 15:22:11 +0000 https://randomnerdtutorials.com/?p=149234#comment-1175928 In reply to Sara Santos.

Good morning. I resolved my issue. I learned two things.

The physical size of the display doesn’t imply the resolution changes.

The truncation issue I had was because the physical screen is different than the lvgl screen. Since the screen was rotated in the code the x and y dimensions are swapped in lvgl. I was creating a 240 pixel wide screen along the 320 pixel physical screen dimension.

]]>