{"id":20995289,"url":"https://github.com/todbot/touchwheels","last_synced_at":"2025-05-14T21:31:11.425Z","repository":{"id":204047545,"uuid":"710989023","full_name":"todbot/touchwheels","owner":"todbot","description":"some touchwheels","archived":false,"fork":false,"pushed_at":"2024-11-01T16:12:50.000Z","size":765,"stargazers_count":28,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-08T02:18:29.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/todbot.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}},"created_at":"2023-10-27T22:39:03.000Z","updated_at":"2025-04-21T12:19:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3cec747-b47f-4d60-8214-387aa83ac215","html_url":"https://github.com/todbot/touchwheels","commit_stats":null,"previous_names":["todbot/touchwheels"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2Ftouchwheels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2Ftouchwheels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2Ftouchwheels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/todbot%2Ftouchwheels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/todbot","download_url":"https://codeload.github.com/todbot/touchwheels/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254230848,"owners_count":22036254,"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":[],"created_at":"2024-11-19T07:22:52.096Z","updated_at":"2025-05-14T21:31:06.410Z","avatar_url":"https://github.com/todbot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Touchwheels\n\nSome capacitive sense rotary touchwheels.  \n\nThese work by using only three capactive touch pads in a specific interleaved \ngeometry and measuring the relative ratio of analog capacitive touch values \nbetween the pads to compute a distance along the slider. \n\n\n### Touchwheels made so far:\n\n* TouchWheelSAO -- [Touchwheel SAO as part of  Hackaday Supercon 2024 badge](https://github.com/todbot/TouchwheelSAO)\n\n* touchwheel0 - [available on Tindie as a kit!](https://www.tindie.com/products/todbot/touchwheel0-capacitive-touch-wheel/)\n\n  \u003cimg width=500 src=\"./docs/touchwheel0_photo1.jpg\"\u003e\n  \n  Similar to an iPod's wheel, `touchwheel0` is a 30 mm (0.6\") diameter \n  [rotary capacitive touch slider](https://onlinedocs.microchip.com/pr/GUID-A8A0085D-58D1-4E41-A07D-B93BFDE11AFE-en-US-4/index.html?GUID-FB5E9311-C731-4326-82D2-CD5F0ED8E378) that can be used with most any microcontroller. It uses three digital GPIO pins and requires no extra components. The included examples in CircuitPython and Arduino show how to turn the raw capacitive touch readings of the three pins into a linear 0-360º angle measurement.\n\n* picoslidertoy - Available at the [picoslidertoy repo](https://github.com/todbot/picoslidertoy)\n  \n  \u003ca href=\"https://github.com/todbot/picoslidertoy\"\u003e\u003cimg width=500 src=\"https://raw.githubusercontent.com/todbot/picoslidertoy/main/docs/picoslidertoy_photo1.jpg\"\u003e\u003c/a\u003e\n\n### Demos:\n\nThere are several examples on how to use the touchwheel:\n\n- [demo0](./circuitpython/demo0/code.py) -\n    CircuitPython example showing basic concept on touchwheel0\n  \n- [touchwheel_badgedemo](./circuitpython/touchwheel_badgedemo/code.py) - \n    CircuitPython example for the Hackaday SuperCon 2023 badge (where touchwheel0 PCBs were given away)\n    \n- [demo_dual](./circuitpython/demo_dual/code.py) - \n    CircuitPython example show two touchwheel0s in use\n\n- more demos coming!\n\n### What's in Tindie touchwheel0 kit: \n\nThe [touchwheel0 kit](https://www.tindie.com/products/todbot/touchwheel0-capacitive-touch-wheel/)\non Tindie comes with:\n\n- touchwheel0 black PCB\n- 4 x 1M 0805 SMD resistors (only three needed, one is a spare)\n- 1 x 4-pin pin header \n\nIt makes a pretty good \"first SMD soldering\" exercise as the 0805 resistors \nare relatively big and not very heat sensitive. \n\n\n### Demo videos:\n\n- demo dual:\n  [(click to view on youtube)](https://www.youtube.com/watch?v=Db7S75eE-G8)\n\n  [\u003cimg src=\"https://i.ytimg.com/vi/Db7S75eE-G8/maxresdefault.jpg\" width=\"75%\"\u003e](https://www.youtube.com/watch?v=Db7S75eE-G8 \"touchwheel0 dual demo\")\n\n\n- demo0: \n\n  https://github.com/todbot/touchwheels/assets/274093/fc2b794f-5dff-42b4-8942-f141de19e4ab\n\n\n\n### Useful links:\n\n- [AN2934 - Capacitive Touch Sensor Design Guide (pdf)](https://ww1.microchip.com/downloads/en/Appnotes/Capacitive-Touch-Sensor-Design-Guide-DS00002934-B.pdf)\n- [QTAN007 - Buttons, Sliders and Wheels - Sensor Design Guide (pdf)](https://www.mouser.com/pdfDocs/QTouch_QTAN0079.pdf)\n- [AT02259: QTouch Schematic and Layout Checklist (pdf)](http://ww1.microchip.com/downloads/en/appnotes/atmel-42094-qtouch-schematic-and-layout-checklist_applicationnote_at02259.pdf)\n- [slider generator](https://cooltech.zone/tangara/labs/touchwheel-electrode-tool/)\n- [SLAA891B: Automating Capacitive Touch Sensor PCB layouts with OpenSCAD Ti AppNote (pdf)](https://www.ti.com/lit/an/slaa891b/slaa891b.pdf?ts=1725369981627)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Ftouchwheels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftodbot%2Ftouchwheels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftodbot%2Ftouchwheels/lists"}