{"id":28754906,"url":"https://github.com/androidcrypto/esp32_s3_st7735_starter","last_synced_at":"2025-06-17T01:40:05.077Z","repository":{"id":292487125,"uuid":"980127074","full_name":"AndroidCrypto/ESP32_S3_ST7735_Starter","owner":"AndroidCrypto","description":"Getting started with an ESP32-S3 Supermini device and a TFT display ST7735","archived":false,"fork":false,"pushed_at":"2025-05-10T08:37:54.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-10T09:30:10.521Z","etag":null,"topics":["esp32","esp32-s3","spi","st7735","tft-display"],"latest_commit_sha":null,"homepage":"","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-08T15:53:16.000Z","updated_at":"2025-05-10T08:37:57.000Z","dependencies_parsed_at":"2025-05-10T09:30:12.583Z","dependency_job_id":"f3416478-4d2a-42a2-bcc5-3e8b37943148","html_url":"https://github.com/AndroidCrypto/ESP32_S3_ST7735_Starter","commit_stats":null,"previous_names":["androidcrypto/esp32_s3_st7735_starter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndroidCrypto/ESP32_S3_ST7735_Starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_S3_ST7735_Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_S3_ST7735_Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_S3_ST7735_Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_S3_ST7735_Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndroidCrypto","download_url":"https://codeload.github.com/AndroidCrypto/ESP32_S3_ST7735_Starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_S3_ST7735_Starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260273645,"owners_count":22984547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-s3","spi","st7735","tft-display"],"created_at":"2025-06-17T01:39:54.500Z","updated_at":"2025-06-17T01:40:04.908Z","avatar_url":"https://github.com/AndroidCrypto.png","language":"C++","readme":"# ESP32-S3 Supermini with ST7735 TFT display Starter\nGetting started with an **ESP32-S3 Supermini** device and a TFT display with driver chip **ST7735**.\n\nThis is the accompanying repository for my article \"**Getting Started with an ESP32-S3 Supermini device connected to an ST7735 TFT display**: https://medium.com/@androidcrypto/getting-started-with-an-esp32-s3-supermini-device-connected-to-an-st7735-tft-display-591992e8c1cd.\n\nMy display is a 1.8 inch large TFT display with 128 x 160 pixels.\n\n## Settings for the display specific setup file\n\nI'm using a display specific setup file for the combination ESP32-S3 Supermini with TFT display driver ST7735. 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    Setup702_S3_SM_ST7735_128x160.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/Setup702_S3_SM_ST7735_128x160.h\u003e // ESP32-S3 Supermini, 27 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/Setup702_S3_SM_ST7735_128x160.h\u003e // ESP32-S3 Super Mini, 27 MHz\n````\n\n## GPIO pins setup in the display specific setup file\n\nThe **regular setup file** has these pin settings:\n\n```` plaintext\n// file Setup702_S3_SM_ST7735_128x160.h\n\n// FSPI port will !!! NOT !!! be used unless the following is defined\n// define USE_HSPI_PORT for pins 10-13 and USE_FSPI_PORT for pins (34)-37\n#define USE_HSPI_PORT    // HSPI\n//#define USE_FSPI_PORT  // FSPI\n\n// ESP32-S3        HSPI \n#define TFT_CS     9 \n#define TFT_MOSI   12 // = SDA \n#define TFT_SCLK   13 \n#define TFT_MISO   14 // Not connected, GPIO is on solder pads\n#define TFT_DC      10\n//#define TFT_BL    8    // LED back-light\n#define TFT_RST     11 // Set TFT_RST to -1 if display RESET is connected to ESP32 board EN\n\n#define LOAD_GLCD   // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH\n#define LOAD_FONT2  // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 \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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_s3_st7735_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidcrypto%2Fesp32_s3_st7735_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_s3_st7735_starter/lists"}