Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new board sunton_esp32_2432S024C #9918

Merged
merged 3 commits into from
Dec 27, 2024
Merged

Conversation

oschettler
Copy link

@oschettler oschettler commented Dec 27, 2024

Dear circuitpython team,

I have added a new board. This board is a Sunton ESP32_2432S024C. I have no affiliation with this vendor, but am a user of the board.

The board is one of the Cheap Yellow Display ("CYD") variety. It has a 320x240 pixel screen (ILI9341) with capacitive touch (CST820), an SD card slot, an RGB LED, and a light sensor.

There is some documentation on the board and some working configurations as well:

  • Dokumentation (as ZIP), linked from the Aliexpress site above
  • a library for Micropython. The source coude in cydc.py contains a list of all the pins.
  • a board definition for platformio. This is part of a project to provide board descriptions for all the (yellow) Sunton boards.

@dhalbert
Copy link
Collaborator

Hi - there are multiple similar Sunton boards. There is

Is this board pretty much the same as the second one, except for the display screen size?

@oschettler
Copy link
Author

Is this board pretty much the same as the second one, except for the display screen size?

Hi, yes, the boards are indeed quite similar. So much so that I started with the board files from sunton_esp32_2432S028 (both use an ILI9341) and took the touch configuration from sunton_esp32_2432S032C (that one uses a CST816, the sunton_esp32_2432S024C uses a similar CST820).

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I looked at the other boards, as you mentioned. It seems a bit crazy that the boards all use different combinations of display controllers and touch controllers, but they may use the parts that they can get.

One Q re pre-commit version.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
@oschettler oschettler requested a review from dhalbert December 27, 2024 23:36
Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dhalbert dhalbert merged commit 27beb0e into adafruit:main Dec 27, 2024
12 checks passed
@oschettler
Copy link
Author

The PR to circuitpython-org

@RetiredWizard
Copy link

The earlier draft PR has a few pin/feature differences that could be differences in unique builds of the devices. The draft also makes more of the touch interface visible through board attributes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants