[DIY] CYD 2.8" Cheap Yellow Display Snap-Fit Enclosures - 3D Print

Despite a ton of 3D printable enclosures out there for the CYD 2.8" ESP32 board, and after printing a few of them, I couldn't find one that is snap-fit yet easy to open, sturdy enough, available in both USB-only and All-Ports versions, and that holds the board in place when the lid isn't installed.

So here is a great idea: yet another enclosure for the CYD 2.8" board !

Comes in 2 versions:
  • opening for USB-C only (orange case above)
  • openings for All Ports and Features (lime green case)
    • all ports: USB-C, micro USB, serial, I/O, speaker, SD card reader
    • features: back LED, front photoresistor, Reset and Boot tabs

A 3rd version is also in the works, that includes Accessory Slots to attach external peripherals (gamepad, keyboard, sensors, stylus, stand...) or breadboards for development. It'll be published in a coming post.

The Fusion360 CAD model (very messy), STEP and 3MF files are open source and available on Github and MakerWorld  

Feel free to copy, remix, whatever (non-commercially)

Happy Arduino / ESP32 projects to all !

  ______________________________________________ 

Posts in the 2.8" CYD series:

   ______________________________________________

 

Overview

 

USB-C only:

All Ports / Features:

Thanks to the perimeter lip, the back of the case holds the board in place even when the lid isn't installed. Which is convenient when developing with cables and peripherals:

 

Note that the model also includes internal wood screw holes lining up with the 4 mounting holes at the corners of the CYD board (doesn't show up in some pics that used an earlier version). They can fully secure the board to the case even without the lid in place.

To install the lid, just snap the back edge in first (edge at the top of pic), then close and snap the front edge in (bottom of pic). Applying pressure on the lid in the back, and on the bottom of the case in the front, makes it even easier.

The lid can be removed by simply inserting a small blade in the 2 slots near each front corner, and rotating it. Apply pressure differentially between the lid and the bottom of the enclosure and it should easily open.

Back of the All-Ports/Features version:

 

 

Board Compatibility

 
This enclosure is designed for the CYD 2.8" ESP32-2432S028R model:

The first board I used is the $17 AITRIP ESP32 Dev Board ESP32-2432S028R WiFi BT 2.8" 240X320 TFT with Touch Screen for Arduino which, seemingly usual for CYDs, came with no instruction or software resource. I've since got the board from the DIYmall vendor instead, as they do a much better job with documentation (dimensions, schematics...).

This said, the CYD 2.8" is very well documented by Random Nerd Tutorials, whose well-written Getting Started instructions I used. They also list links on where-to-buy it to avoid the myriad of look-alike_but_doesn't-work-alike.

I'd recommend getting the version with the ILI9341 TFT driver over the ST7789. AFAICT it is compatible with most Arduino tutorials, code examples and libraries out there. 

Note that there's apparently no layout standard for this board, so make sure yours matches one of the above. Even my boards present slight variations in port and feature location:

But that's ok as the enclosure was designed for, and tested with, both types. And those 2 layouts seem to cover most of the ESP32-2432S028R boards out there, across many suppliers.

This said, note that some CYD 2.8" boards have very different layouts, and even extra features like a battery connector. Those are not compatible with this enclosure.

Recognizing them is easy as (1) their model number isn't ESP32-2432S028R and (2) the location of the ports / buttons / SD card is completely different. Examples:



Print

 
Settings with PLA:
  • 0.4mm nozzle, 0.2mm layer height
  • 2 walls, 4 top, 4 bottom
  • 25% Cubic infill
  • no support (will only be needed for the coming Accessory Slots version)

 

Und das ist alles. Next stop will be the Accessory Slots version that allows attaching peripherals, sensors, batteries, etc. Sneak peek:

That will then be followed by a 3-Axis Magnetometer, using the Accessory Slots version. Au prochain episode.

 

 

Resources

 
Shout out to the Braino! project. It is a set of 40+ educational and just-for-fun games for kids. Runs on CYD boards and includes device to device game communication. Free, no wifi, no cloud, no logging (except 4 player accounts on device), no sale of any kind, and access / content can be controled by the local admin.
 
Hackaday wrote an article about it, and it is open source on Github

 

Also, here are a few enclosures I tried, that seemed above average or whose implementation details I checked out:

CYD 2.8" Enclosure Case – 4 Heights by Alpi95

 

Simple CYD ESP32 2.8 inch case by Drahnol

 

CYD (Cheap Yellow Display) Case w/ Stylus Holder v1 by SumoNinja92


Simple snap-on case for CYD 2.8" by somecat

 

CYD ESP32-2432S028R New Case: Parametric, Screw-less, Support-free, with Stylus Storage by user_1407252492

 

Comments