基于 STM32U585 + TouchGFX 的智能羽毛球运动检测手表,全国大学生嵌入式芯片与系统竞赛获奖项目,其中调通了TouchGFX的全部环节,个人认为比较有参考性。
- 心率 / 血氧检测(MAX30102 传感器)
- 多种运动模式(反手挑球、正手跳、杀球、正手高远等)
- 240x240 彩色屏幕(ST7789)+ 触摸交互(CST816)
- 时钟、亮度、息屏等基本功能
| 模块 | 型号 |
|---|---|
| MCU | STM32U585 |
| 屏幕 | ST7789 240x240 |
| 触摸 | CST816 |
| 心率传感器 | MAX30102 |
| 【其他】 | 【型号】 |
需要 STM32CubeCLT(含 cmake / ninja / arm-none-eabi-gcc):
cmake --preset Debug
cmake --build --preset Debug建议连接 ST-Link 后,使用 STM32 官方 VSCode 插件在 VSCode 中烧录;或者使用命令行:
STM32_Programmer_CLI -c port=SWD mode=UR -w build/Debug/u585_newscreen_test.elf -v -rstCore/— 主逻辑、FreeRTOS 任务Lib/— 外设驱动(ST7789、CST816、MAX30102)TouchGFX/— GUI 界面(assets 图片字体、gui 源码)Middlewares/— TouchGFX 框架、FreeRTOS
MIT License(第三方组件遵循各自许可:TouchGFX 为 ST 许可、FreeRTOS 为 MIT、HAL 库为 BSD-3-Clause)
请给薯条面子
A smart badminton motion-detection watch based on STM32U585 + TouchGFX. Award-winning project of the National College Embedded Chip and System Design Competition.
- Heart rate / SpO2 detection (MAX30102 sensor)
- Multiple badminton motion modes (backhand lift, forehand jump smash, shuttle, forehand clear, etc.)
- 240x240 color display (ST7789) + touch interaction (CST816)
- Clock, brightness, screen-off and other basic functions
| Module | Model |
|---|---|
| MCU | STM32U585 |
| Display | ST7789 240x240 |
| Touch | CST816 |
| Heart rate sensor | MAX30102 |
Requires STM32CubeCLT (cmake / ninja / arm-none-eabi-gcc). Run in the project root:
cmake --preset Debug
cmake --build --preset DebugConnect an ST-Link, then either use the official STM32 VS Code extension to flash, or run:
STM32_Programmer_CLI -c port=SWD mode=UR -w build/Debug/u585_newscreen_test.elf -v -rstCore/— main logic, FreeRTOS tasksLib/— peripheral drivers (ST7789, CST816, MAX30102)TouchGFX/— GUI (assets, gui source)Middlewares/— TouchGFX framework, FreeRTOS
MIT License (third-party components under their own licenses)
Special thanks to our teammate Fries (薯条) — respect to Fries!