{"id":28754899,"url":"https://github.com/androidcrypto/esp32_h2_st7789_starter","last_synced_at":"2026-04-19T01:01:47.817Z","repository":{"id":293555843,"uuid":"983449270","full_name":"AndroidCrypto/ESP32_H2_ST7789_Starter","owner":"AndroidCrypto","description":"Getting started with an ESP32-H2 Supermini device and a TFT display ST7789","archived":false,"fork":false,"pushed_at":"2025-05-15T22:50:36.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T01:44:33.303Z","etag":null,"topics":["esp32","esp32-h2","spi","st7789","tft-display"],"latest_commit_sha":null,"homepage":"https://medium.com/@androidcrypto/getting-started-with-an-esp32-h2-supermini-device-connected-to-an-st7789-tft-display-6bfb87de7351","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndroidCrypto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-14T11:56:26.000Z","updated_at":"2025-05-15T22:50:39.000Z","dependencies_parsed_at":"2025-05-15T23:39:33.810Z","dependency_job_id":null,"html_url":"https://github.com/AndroidCrypto/ESP32_H2_ST7789_Starter","commit_stats":null,"previous_names":["androidcrypto/esp32_h2_st7789_starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndroidCrypto/ESP32_H2_ST7789_Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_H2_ST7789_Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_H2_ST7789_Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_H2_ST7789_Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_H2_ST7789_Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndroidCrypto","download_url":"https://codeload.github.com/AndroidCrypto/ESP32_H2_ST7789_Starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_H2_ST7789_Starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31990577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["esp32","esp32-h2","spi","st7789","tft-display"],"created_at":"2025-06-17T01:39:53.738Z","updated_at":"2026-04-19T01:01:47.746Z","avatar_url":"https://github.com/AndroidCrypto.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32-H2 Supermini with ST7789 TFT display Starter\nGetting started with an **ESP32-H2 Supermini** device and a TFT display with driver chip **ST7789**.\n\nThis is the accompanying repository for my article \"**Getting Started with an ESP32-H2 Supermini device connected to an ST7789 TFT display**\": https://medium.com/@androidcrypto/getting-started-with-an-esp32-h2-supermini-device-connected-to-an-st7789-tft-display-6bfb87de7351.\n\nMy display is a 2.0 inch large TFT display with 240 x 320 pixels.\n\n## Settings for the display specific setup file\n\nI'm using a display specific setup file for the combination ESP32-H2 Supermini with TFT display driver ST7789.This file contains e.g. the display driver, size and pins for the ESP32-device. If your display has a different size please change the height and width accordingly. \n\n### Copy a file to the User_Setups folder\n\nPlease copy the file\n\n    Setup703_H2_SM_ST7789_240x320.h\n\nto the **User_Setups** folder.\n\n### Edit the User_Setup_Select.h file\n\nYou need to place the following line in the root folder's \"**User_Setup_Select.h**\" file\n\n    #include \u003cUser_Setups/Setup703_H2_SM_ST7789_240x320.h\u003e // ESP32-H2 Supermini, 80 MHz\n\nSecond: please comment all other \"#include...\" entries like this, especially the \"//#include \u003cUser_Setup.h\u003e\" entry.\n\n````\n// Example User_Setup files are stored in the \"User_Setups\" folder. These can be used\n// unmodified or adapted for a particular hardware configuration.\n#ifndef USER_SETUP_LOADED //  Lets PlatformIO users define settings in\n                          //  platformio.ini, see notes in \"Tools\" folder.\n///////////////////////////////////////////////////////\n//   User configuration selection lines are below    //\n///////////////////////////////////////////////////////\n// Only ONE line below should be uncommented to define your setup.  Add extra lines and files as needed.\n//#include \u003cUser_Setup.h\u003e                       // Default setup is root library folder\n// Setup file in folder Arduino/libraries (updates will not overwrite your setups)\n#include \u003cUser_Setups/Setup703_H2_SM_ST7789_240x320.h\u003e // ESP32-H2 Super Mini, 80 MHz\n````\n\n## GPIO pins setup in the display specific setup file\n\n```` plaintext\n// file Setup703_H2_SM_ST7789_240x320.h\n\n//#define TFT_BL   24 // LED back-light\n#define TFT_MISO   22 //  not used/connected, pin 22 is existing on soldered pin\n#define TFT_MOSI   10 // = SDA\n#define TFT_SCLK   0\n#define TFT_CS     14 \n#define TFT_DC     12\n#define TFT_RST    11 // Set TFT_RST to -1 if display RESET is connected to ESP32 board EN\n````\n\n## Important note\n\nYou need to modify the display library TFT_eSPI to get the code to work. Please find instructions on how to do this in my forked TFT_eSPI repository here on GitHub: [https://github.com/AndroidCrypto/TFT_eSPI](https://github.com/AndroidCrypto/TFT_eSPI).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_h2_st7789_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidcrypto%2Fesp32_h2_st7789_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_h2_st7789_starter/lists"}