# Hairclip Rtos Monitor

Animated wearable display and FreeRTOS task monitor on the LilyGO T-Display-S3 (ESP32-S3)

同一块 LilyGO T-Display-S3 上放着两件不相干的东西：小到能夹在头发上的动画，和一个 FreeRTOS 任务监视器。

- id: roshinij515-hairclip-rtos-monitor
- author: roshinij515
- repository: https://github.com/roshinij515/hairclip-rtos-monitor
- license: MIT
- shape: square
- scenes: wearable, tools
- boards: LilyGo T-Display-S3
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/roshinij515-hairclip-rtos-monitor/
- html_zh: https://esp32gallery.com/zh/projects/roshinij515-hairclip-rtos-monitor/
- json: https://esp32gallery.com/data/catalog/projects/roshinij515-hairclip-rtos-monitor.json

## Hardware

Supported hardware: LilyGo T-Display-S3. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：LilyGo T-Display-S3。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
Two unrelated things share a LilyGO T-Display-S3: a wearable animation small enough for a hair clip, and a FreeRTOS task monitor. The animation folder holds three patterns — ribbons, mandala and a neon heart. The monitor shows a table of running tasks, a live CPU usage graph and a heap screen, switched with the button, and it was deliberately fed a heap leak, a CPU hog and a stack burst to confirm it catches them. A combined sketch keeps patterns, monitor, brightness control, dim/sleep and a battery readout in one file and runs from a LiPo. Everything is Arduino sketches opened in the IDE, on the ESP32 core 2.0.17. Two items are still open: mounting it on the clip, and fuller runtime statistics.
```

## 中文

```
同一块 LilyGO T-Display-S3 上放着两件不相干的东西：小到能夹在头发上的动画，和一个 FreeRTOS 任务监视器。动画部分有三个图样——丝带、曼陀罗和霓虹心。监视器显示任务表、实时 CPU 占用曲线和堆内存页，用按键翻页；测试里故意制造过堆泄漏、CPU 抢占和栈溢出，确认它能抓到。合并版把图样、监视器、亮度调节、熄屏睡眠和电池读数塞进一个 sketch，用锂电池供电戴着跑。全部是 Arduino 草图，用 IDE 打开，ESP32 内核 2.0.17。还差两件事没做：真正装到发夹上，以及更完整的运行时统计。
```
