{"id":13612564,"url":"https://github.com/pyaillet/twatch-idf-rs","last_synced_at":"2025-07-11T18:09:40.286Z","repository":{"id":41981683,"uuid":"459749738","full_name":"pyaillet/twatch-idf-rs","owner":"pyaillet","description":"twatch rust firmware with std using idf","archived":false,"fork":false,"pushed_at":"2022-10-17T19:55:47.000Z","size":2194,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T12:11:20.196Z","etag":null,"topics":["embedded","esp32","esp32-idf","rust","smartwatch","ttgo","twatch-2020"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyaillet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-15T21:05:49.000Z","updated_at":"2025-02-16T12:13:44.000Z","dependencies_parsed_at":"2023-01-20T02:04:14.356Z","dependency_job_id":null,"html_url":"https://github.com/pyaillet/twatch-idf-rs","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/pyaillet%2Ftwatch-idf-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Ftwatch-idf-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Ftwatch-idf-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Ftwatch-idf-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyaillet","download_url":"https://codeload.github.com/pyaillet/twatch-idf-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251484731,"owners_count":21596803,"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":["embedded","esp32","esp32-idf","rust","smartwatch","ttgo","twatch-2020"],"created_at":"2024-08-01T20:00:31.647Z","updated_at":"2025-04-29T10:36:20.955Z","avatar_url":"https://github.com/pyaillet.png","language":"Rust","funding_links":[],"categories":["Projects"],"sub_categories":["`std`"],"readme":"![CI](https://github.com/pyaillet/esp-idf-ble/workflows/Continuous%20integration/badge.svg)\n![MIT/Apache-2.0 licensed](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue)\n\n# twatch-idf-rs\n\nTTGO [T-Watch 2020 v1](http://www.lilygo.cn/prod_view.aspx?TypeId=50053\u0026Id=1380\u0026FId=t3:50053:3) Rust firmware.\n\n## Preview\n\n[demo.webm](https://user-images.githubusercontent.com/11957179/196264757-b4c116e9-1d47-490b-8251-05fd6c138986.webm)\n\n\n## Description\n\nThis project is a Work in Progress of a rust firmware for the T-Watch-v1 from Lilygo.\n\nWhat's working ?\n\n- [x] Power Management Unit - using my own driver for [AXP202](https://github.com/pyaillet/axp20x-rs)\n  - [x] Power button\n  - [x] Battery level\n  - [ ] Plugged in status - Not tested\n  - [ ] Deep sleep\n- [x] Screen - using [mipidsi crate](https://github.com/almindor/mipidsi)\n  - [x] Backlight settings\n- [x] Touchscreen - using my own driver for [FT6x36](https://github.com/pyaillet/ft6x36-rs)\n- [x] Accelerometer - using my own driver of [BMA423](https://github.com/pyaillet/bma423-rs/)\n  - [x] X/Y/Z axis sensors\n  - [ ] Activity recognition\n  - [ ] Step counter\n- [ ] I2S Speaker\n- [x] WiFi should work, but not used right nown\n- [ ] BLE - WIP [here](https://github.com/pyaillet/esp-idf-ble)\n- [x] Vibration with the included motor\n- [x] Clock - using [PCF8563 realtime clock driver](https://github.com/nebelgrau77/pcf8563-rs)\n  - [x] Time\n  - [ ] Alarms - Not tested\n\n## What's included\n\nThis project is a tech demo. The firmware comes with 5 tiles demonstrating some features:\n\n- [Hello world](./src/tiles/hello.rs): only displays text\n- [Light](./src/tiles/light.rs): adjust brightness of the screen backlight\n- [Motor](./src/tiles/motor.rs): demonstrate the vibrator\n- [Time](./src/tiles/time.rs): Shows Realtime clock, battery level, accelerometer and swipe gestures\n- [Sleep](./src/tiles/sleep.rs): Disable screen and backlight when button is pressed\n\n## Credits\n\nMany things from this project are inspired by the [rust-esp32-std-demo](https://github.com/ivmarkov/rust-esp32-std-demo).\nKudos to the people on [#esp-rs:matrix.org](https://matrix.to/#/#esp-rs:matrix.org) for their help.\n\n## How to use?\n\nRefer to [this repo](https://github.com/esp-rs/rust-build) to install the custom Rust ESP toolchain. You should also install [cargo espflash](https://github.com/esp-rs/espflash) to ease the use of this project.\n\nThen you can launch the following command to compile one of the example, flash it to your device and monitor the ESP32 serial:\n\n`cargo espflash --monitor --speed 921600 \u003cdevice\u003e`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Ftwatch-idf-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyaillet%2Ftwatch-idf-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Ftwatch-idf-rs/lists"}