johannstark/hosyond-esp32-4in-screen-reference — explained in plain English
Analysis updated 2026-05-18
Wire up and drive a Hosyond 4 inch ESP32 touchscreen without reverse engineering pinouts.
Build a touchscreen drawing app on ESP32 using TFT_eSPI and Bresenham line drawing.
Port an LVGL interface with switches, sliders, and progress bars to this display.
Install an AI agent skill that pre-loads this hardware's pinouts and code patterns.
| johannstark/hosyond-esp32-4in-screen-reference | aerl-official/aerl-c-framework | loloxwg/duckdb-onnx | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | C++ | C++ | C++ |
| Last pushed | — | — | 2025-04-09 |
| Maintenance | — | — | Stale |
| Setup difficulty | moderate | easy | hard |
| Complexity | 2/5 | 2/5 | 4/5 |
| Audience | developer | developer | data |
Figures from each repo's GitHub metadata at analysis time.
Requires VS Code with PlatformIO and the specific Hosyond ESP32-32E display board.
hosyond-esp32-4in-screen-reference is a reference repository for people using the Hosyond 4 inch touchscreen display, a 320 by 480 panel built around an ESP32 module with an ST7796S display driver and an XPT2046 resistive touch controller. Instead of a single library, it collects demos, pin mappings, and setup instructions specific to this exact piece of hardware, saving buyers from reverse engineering the pinout themselves. Getting started means installing Visual Studio Code with the PlatformIO extension, opening one of the demo folders, and clicking build and upload after plugging the board in over USB Type-C. PlatformIO handles downloading the TFT_eSPI display library automatically. The README documents the full pin mapping for both the display and the touch controller, plus a list of which ESP32 pins are still free if you want to add your own sensors or peripherals. Two demos are included. The first is a working drawing app that shows how to initialize the display with the manufacturer's exact startup sequence, turn on the backlight, read touch coordinates, and draw smooth lines between touch points using Bresenham's line algorithm, complete with a clear button. The second is a minimal port of the LVGL graphics library for this hardware, wiring up the display and touch callbacks and showing a small interactive interface with a switch, a slider, and a progress bar. The repository also ships a skill file meant to be installed into AI coding agents such as Gemini or Claude, so that when a developer mentions this specific display or driver, the agent already knows the correct pinouts, PlatformIO setup, and code patterns for it. Written mostly in C++ for the Arduino and PlatformIO ecosystem, this project is aimed at hobbyists and makers wiring up this particular screen rather than at a general audience.
A reference repo with pinouts, demos, and PlatformIO setup for the Hosyond 4 inch ESP32 touchscreen display.
Mainly C++. The stack also includes C++, PlatformIO, Arduino.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.