Wednesday, January 07, 2026

CYD "Cheap Yellow Display" useful with Micropython

I discovered these low cost ESP32 boards with useful IO and peripherals about a year ago. Recently I came across an excellent 3D printable case and started using Micropython for development. Here's one in our kitchen monitoring the solar power:


There's a great resource at Random Nerd Tutorials that I won't duplicate here. 

I'm just using the generic ESP32 Micropython with good success along with libraries for the screen and touch panel. (There is a variant of CircuitPython for it but I didn't have much luck with it).

As well as the display, it's a very capable platform:

  • Onboard 2.8inch 240×320 pixels 65K color Touch LCD display.
  • Integrated 2.4GHz WiFi and Bluetooth wireless communication.
  • SPI Touch, Display and SD card slot.
  • Amplified GPIO26 for PWM audio output.
  • Uses the ILI9341 display driver via SPI.
  • Uses the XPT2046 touchscreen driver via SPI.

The boards sell for about AU$24 on AliExpress and I see there's a new version with USB-C in place of micro-USB.

Micropython is a great way to develop for embedded systems. One excellent feature is that the source code is stored in the device so it's easy to grab one and continue tinkering.

Managing files with ftp

While Thonny and other programs are adequate for editing and transferring files to a Micropython device the drag and drop facilities, things like moving a file into the lib folder, are lacking. If you have a device with Wifi, there's a great little ftp library and server program that makes this really easy.


Untouched in 4 years and it just works!

No comments: