Comments on: MicroPython: ESP32 Cheap Yellow Display Board – CYD (ESP32-2432S028R) https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Tue, 03 Mar 2026 00:11:05 +0000 hourly 1 https://wordpress.org/?v=6.8.5 By: Fred https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1165868 Tue, 03 Mar 2026 00:11:05 +0000 https://randomnerdtutorials.com/?p=163176#comment-1165868 In reply to Aart.

For future people who read this, a little late for you. I have a 2USB CYD with ST7789. The ili9341.py driver works with the ST7789 fine for me. Change the following line in ili9341.py

def __init__(self, spi, cs, dc, rst, width=240, height=320, rotation=0,
mirror=False, bgr=False, gamma=True):

Rotation 0 and BGR=False (to fix colour inversion.

In the boot.py this line;
display = Display(display_spi, dc=Pin(2), cs=Pin(15),
rst=Pin(15), width=320, height=240, rotation=0)
Just changed the rotation.
That is all and it displays perfectly on a 2USB CYD with ST7789.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1112330 Tue, 21 Oct 2025 14:36:18 +0000 https://randomnerdtutorials.com/?p=163176#comment-1112330 In reply to Tom.

Hi.
Do you get any error messages on the shell?
Regards,
Sara

]]>
By: Tom https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1112176 Tue, 21 Oct 2025 06:36:49 +0000 https://randomnerdtutorials.com/?p=163176#comment-1112176 Help, again. I had this board up and running and up to Module 3 but have not used it for about 2 months. Today I powered it up and got the PC beep but blank/black screen. I had another CYD and it powered up ok, had text and tabs etc. Everything seemed fine. Then I installed MicroPython successfully but then got black screen again. Re-flashed it again, still no display. Any suggestions?

Win 11/64; i7 9700K; 16GB RAM; Thonny 4.1.7; Python 3.10.11; Tk 8.6.13; MicroPython v1.26.1; CYD 2432S028R

]]>
By: Erwin https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1034611 Tue, 06 May 2025 10:10:10 +0000 https://randomnerdtutorials.com/?p=163176#comment-1034611 Hi Sara:
Really appreciating the guide!
The example ‘Draw shapes on the Display – Code’ gives an error stating ‘OSError: transfer on deinitialized SPI’. This is because display.cleanup() is executed twice. The easiest way to prevent the error is to remove display.cleanup() above the try: statement.

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1034590 Tue, 06 May 2025 08:19:28 +0000 https://randomnerdtutorials.com/?p=163176#comment-1034590 In reply to Erwin.

Hi.
Thanks for those tips.
Regards,
Sara

]]>
By: Erwin https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1034395 Mon, 05 May 2025 18:40:29 +0000 https://randomnerdtutorials.com/?p=163176#comment-1034395 Thx again Sara for this helpful tutorial!
Probably worthwhile to mention >
If you have a not fully filled 90deg rotated screen : change the rotation argument of the Display function in main.py from 90 to 0 (or 180).
If you have red and blue colors swapped : change the bgr argument of the class Display constructor (init) in ILI9341.py from True to False.

]]>
By: Glenn Meader https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-1005272 Tue, 04 Feb 2025 16:42:31 +0000 https://randomnerdtutorials.com/?p=163176#comment-1005272 In reply to Sara Santos.

https://github.com/de-dh/ESP32-Cheap-Yellow-Display-Micropython-LVGL

]]>
By: Mike Larthwell https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-997361 Sun, 05 Jan 2025 18:10:45 +0000 https://randomnerdtutorials.com/?p=163176#comment-997361 Hi Sara
Great info again
How do you use the img2rgb565.py tool ?

]]>
By: Sara Santos https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-997048 Sat, 04 Jan 2025 10:54:53 +0000 https://randomnerdtutorials.com/?p=163176#comment-997048 In reply to Ed Schmidt.

Hi.
You just need to upload a new code using Arduino IDE.
If you’re using the Pico, you need to press the BOOTSEL button on the board at the same time that you connect the Pico to your computer so that it goes into bootloader mode. Everything is explained in this tutorial: https://randomnerdtutorials.com/programming-raspberry-pi-pico-w-arduino-ide/
Regards,
Sara

]]>
By: Ed Schmidt https://randomnerdtutorials.com/micropython-cheap-yellow-display-board-cyd-esp32-2432s028r/#comment-996891 Fri, 03 Jan 2025 22:54:43 +0000 https://randomnerdtutorials.com/?p=163176#comment-996891 Very good article, I have been wanting to try MicroPython on my CYD. But I would like you to cover how to uninstall MicroPython and go back to programming with the Arduino IDE. I have been unable to uninstall it from my raspberry pi pico.

Thanks for all you do.

]]>