{"id":16239831,"url":"https://github.com/nopnop2002/esp-idf-ttp229","last_synced_at":"2026-04-29T04:36:14.445Z","repository":{"id":108987878,"uuid":"441792378","full_name":"nopnop2002/esp-idf-ttp229","owner":"nopnop2002","description":"TTP229 Capacitive Touch Driver for esp-idf","archived":false,"fork":false,"pushed_at":"2023-12-26T22:51:44.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T06:25:59.359Z","etag":null,"topics":["capacitive-touch-sensor","esp-idf","esp32","ttp229"],"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/nopnop2002.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}},"created_at":"2021-12-26T02:09:30.000Z","updated_at":"2023-05-30T17:48:15.000Z","dependencies_parsed_at":"2023-08-26T06:01:32.708Z","dependency_job_id":null,"html_url":"https://github.com/nopnop2002/esp-idf-ttp229","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-ttp229","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-ttp229/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-ttp229/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nopnop2002%2Fesp-idf-ttp229/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nopnop2002","download_url":"https://codeload.github.com/nopnop2002/esp-idf-ttp229/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247811394,"owners_count":21000102,"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":["capacitive-touch-sensor","esp-idf","esp32","ttp229"],"created_at":"2024-10-10T13:45:18.236Z","updated_at":"2026-04-29T04:36:14.431Z","avatar_url":"https://github.com/nopnop2002.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esp-idf-ttp229\nTTP229 Capacitive Touch Driver for esp-idf.\n\nI ported from [here](https://github.com/arduino12/ttp229b-arduino).   \n\n# Software requirements\nESP-IDF V4.4/V5.x.   \nESP-IDF V5.0 is required when using ESP32-C2.   \nESP-IDF V5.1 is required when using ESP32-C6.   \n\n# Hardware requirements   \nTTP229 Capacitive Touch switch.\n\n![TTP229-1](https://user-images.githubusercontent.com/6020549/147397270-528ae5b6-ee00-49ac-8a9c-99e44d544ce1.JPG)\n\nIn order to use 16key, it is necessary to short TTP229 TP2.\n![TTP229-2](https://user-images.githubusercontent.com/6020549/147397273-09b752ab-0a95-4e2c-8d36-345d37ac2ddb.JPG)\n\n# Installation\n\n```Shell\ngit clone https://github.com/nopnop2002/esp-idf-ttp229\ncd esp-idf-ttp229\nidf.py set-target {esp32/esp32s2/esp32s3/esp32c2/esp32c3/esp32c6}\nidf.py menuconfig\nidf.py flash\n```\n\n\n# Configuration   \n\n![config-top](https://user-images.githubusercontent.com/6020549/147397305-0ce3e49a-64a9-49eb-9528-470562ebca64.jpg)\n\n![config-ttp229](https://user-images.githubusercontent.com/6020549/147397307-7217bbbc-a97a-4712-a599-887ac2752938.jpg)\n\n\n# Wiring\n\n|TTP229||ESP32|ESP32-S2/S3|ESP32-C2/C3/C6|\n|:-:|:-:|:-:|:-:|:-:|\n|SCL|--|GPIO4|GPIO17|GPIO0|\n|SDA|--|GPIO5|GPIO18|GPIO1|\n|GND|--|GND|GND|GND|\n|VCC|--|3.3V|3.3V|3.3V|\n\n__You can change it to any pin using menuconfig.__   \n\n__The markings on the board are SCL and SDA, but not the i2c interface.__   \n\n# Screen Shot   \n![TTP229-3](https://user-images.githubusercontent.com/6020549/147401025-867f5b12-f2e4-4268-9a5f-30dcd786020b.jpg)\n\n\n# Reference   \nhttps://github.com/nopnop2002/esp-idf-mpr121\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fesp-idf-ttp229","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnopnop2002%2Fesp-idf-ttp229","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnopnop2002%2Fesp-idf-ttp229/lists"}