{"id":27775813,"url":"https://github.com/androidcrypto/esp32_c6_st7735_starter","last_synced_at":"2026-04-25T23:37:32.552Z","repository":{"id":290197644,"uuid":"972182059","full_name":"AndroidCrypto/ESP32_C6_ST7735_Starter","owner":"AndroidCrypto","description":"Getting started with an ESP32-C6 Supermini device and a TFT display ST7735","archived":false,"fork":false,"pushed_at":"2025-04-27T13:38:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T04:57:09.036Z","etag":null,"topics":["esp32","esp32-c6","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-04-24T16:59:24.000Z","updated_at":"2025-04-27T13:38:12.000Z","dependencies_parsed_at":"2025-04-27T14:42:22.280Z","dependency_job_id":null,"html_url":"https://github.com/AndroidCrypto/ESP32_C6_ST7735_Starter","commit_stats":null,"previous_names":["androidcrypto/esp32_c6_st7735_starter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C6_ST7735_Starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C6_ST7735_Starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C6_ST7735_Starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndroidCrypto%2FESP32_C6_ST7735_Starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndroidCrypto","download_url":"https://codeload.github.com/AndroidCrypto/ESP32_C6_ST7735_Starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644826,"owners_count":21620630,"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-c6","spi","st7735","tft-display"],"created_at":"2025-04-30T04:57:16.221Z","updated_at":"2026-04-25T23:37:32.547Z","avatar_url":"https://github.com/AndroidCrypto.png","language":"C++","readme":"# ESP32-C6 Supermini with ST7735 TFT display Starter\nGetting started with an **ESP32-C6 Supermini** device and a TFT display with driver chip **ST7735**.\n\nThis is the accompanying repository for my article \"**Getting Started with an ESP32-C6 Supermini device connected to an ST7735 TFT display**: https://medium.com/@androidcrypto/getting-started-with-an-esp32-c6-supermini-device-connected-to-an-st7735-tft-display-c0839ad6c632.\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-C6 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_C6_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_C6_SM_ST7735_128x160.h\u003e // ESP32-C6 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_C6_SM_ST7735_128x160.h\u003e // ESP32-C6 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_C6_SM_ST7735_128x160.h\n//#define TFT_BL  18  // LED back-light\n#define TFT_MISO   3  // not used/connected\n#define TFT_MOSI   4  // = SDA\n#define TFT_SCLK   2  \n#define TFT_CS     5 \n#define TFT_DC     1\n#define TFT_RST    0  // Set TFT_RST to -1 if display RESET is connected to ESP32 board EN\n````\nAs mentioned in the tutorial, the display pins are now using most of the **Analog Digital Converter (ADC) pins** (0..6). If you need them e.g. for Battery Management or other measurements you can use an **alternative pin** set that does not use any of the 7 ADC channels:\n\n```` plaintext\n// file Setup702_C6_SM_ST7735_128x160_Alternative.h\n//#define TFT_BL  18  // LED back-light\n#define TFT_MISO  23  // not used/connected. Pin 23 is on solder pads only\n#define TFT_MOSI  16  // = SDA\n#define TFT_SCLK   7  \n#define TFT_CS    14 \n#define TFT_DC    19\n#define TFT_RST   20  // Set TFT_RST to -1 if display RESET is connected to ESP32 board EN\n````\n\n    #include \u003cUser_Setups/Setup702_C6_SM_ST7735_128x160_Alternative.h\u003e // ESP32-C6 Supermini, 27 MHz\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\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_c6_st7735_starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroidcrypto%2Fesp32_c6_st7735_starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroidcrypto%2Fesp32_c6_st7735_starter/lists"}