{"id":50500729,"url":"https://github.com/whitefirer/sticks3-toolkit","last_synced_at":"2026-06-02T11:02:32.242Z","repository":{"id":361971240,"uuid":"1256683055","full_name":"whitefirer/sticks3-toolkit","owner":"whitefirer","description":"M5Stack StickS3 hardware diagnostics: I2C scanner, BMI270 6-axis IMU, web flasher with serial terminal","archived":false,"fork":false,"pushed_at":"2026-06-02T02:16:38.000Z","size":756,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-02T04:11:18.919Z","etag":null,"topics":["bmi270","esp32-s3","hardware-diagnostics","i2c-scanner","m5stack","stick-s3","web-flasher"],"latest_commit_sha":null,"homepage":"https://whitefirer.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/whitefirer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-02T02:11:16.000Z","updated_at":"2026-06-02T02:16:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/whitefirer/sticks3-toolkit","commit_stats":null,"previous_names":["whitefirer/sticks3-toolkit"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/whitefirer/sticks3-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitefirer%2Fsticks3-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitefirer%2Fsticks3-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitefirer%2Fsticks3-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitefirer%2Fsticks3-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whitefirer","download_url":"https://codeload.github.com/whitefirer/sticks3-toolkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whitefirer%2Fsticks3-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33818568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bmi270","esp32-s3","hardware-diagnostics","i2c-scanner","m5stack","stick-s3","web-flasher"],"created_at":"2026-06-02T11:02:31.287Z","updated_at":"2026-06-02T11:02:32.237Z","avatar_url":"https://github.com/whitefirer.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StickS3 Toolkit\n\nM5Stack StickS3 硬件诊断与固件烧录工具集。  \n[English](README_EN.md)\n\n## Screenshots\n\n## 截图\n\n| Web Flash | Device Screen |\n|-----------|---------------|\n| ![web-flash](docs/web-flash.png) | ![device](docs/device.png) |\n\n## 功能\n\n- **I2C 总线扫描**：自动检测板上 I2C 设备（PMIC、BMI270 IMU 等）\n- **BMI270 六轴传感器**：实时读取加速度（g）和陀螺仪（deg/s）数据\n- **M5PM1 电源管理**：自动初始化和背光控制\n- **网页烧录**：浏览器 USB 一键烧录任意 ESP32-S3 bin 文件\n- **串口终端**：Web Serial API 串口调试\n\n## 端口\n\n| 服务 | 端口 |\n|------|------|\n| StickS3 Toolkit Web Flash | 8997 |\n\n## 快速开始\n\n```bash\n# 启动 Web Flash 服务\ncd web-flash \u0026\u0026 python3 -m http.server 8997\n\n# 构建固件\ncd firmware \u0026\u0026 bash build.sh\n```\n\n## 硬件信息\n\n| 组件 | 接口 | 地址/引脚 |\n|------|------|-----------|\n| M5PM1 PMIC | I2C | 0x6E |\n| BMI270 IMU | I2C | 0x68 |\n| ST7789 显示屏 | SPI | MOSI=39, SCK=40, DC=45, CS=41, RST=21, BL=38 |\n| 按钮 A | GPIO | 11 |\n| 按钮 B | GPIO | 12 |\n| I2C 总线 | GPIO | SDA=47, SCL=48 |\n\n## 按键操作\n\n| 按键 | 功能 |\n|------|------|\n| A（正面） | 重新扫描 I2C 总线 |\n| B（侧面） | 进入 BMI270 六轴实时数据显示 |\n\n## 项目结构\n\n```\nsticks3-toolkit/\n  firmware/          # ESP32-S3 固件 (ESP-IDF 5.5)\n    main/\n      main.cpp       # 主循环、按键、扫描逻辑\n      display.c/h    # ST7789 显示驱动\n      pmic.c/h       # M5PM1 电源管理\n      bmi270_wrap.c/h # BMI270 驱动封装\n      CMakeLists.txt\n      sdkconfig.defaults\n    build.sh          # 构建 + 合并 + SHA256\n  web-flash/\n    index.html       # 通用烧录 + 串口终端\n```\n\n## 构建要求\n\n- ESP-IDF 5.5\n- 芯片：ESP32-S3\n- Python 3.9+\n\n## 链接\n\n- GitHub: https://github.com/whitefirer/sticks3-toolkit\n- Blog: https://whitefirer.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitefirer%2Fsticks3-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhitefirer%2Fsticks3-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhitefirer%2Fsticks3-toolkit/lists"}