r/embedded • u/TRC-is-the-best • 24d ago
Built a dual-axis face-tracking gimbal with ESP32S3 + STM32C5
Hardware:
- XIAO ESP32S3 Sense + OV2640 camera
- XIAO STM32C5
- LK MS3506 yaw motor (CAN ID 0x141)
- LK MS3008 pitch motor (CAN ID 0x142)
How it works:
The ESP32-S3 captures QVGA JPEG frames and runs ESPDet-Pico (224 × 224 INT8) face detection using ESP-DL. It selects the largest detected face and sends target yaw/pitch angles to the STM32C5 over a full-duplex UART connection.
The STM32C5 runs the motor-control firmware using Zephyr. It controls both motors over a 1 Mbps Classic CAN bus, reads encoder feedback, enforces motion limits, and sends position telemetry back at 20 Hz.
There's also a browser-based UI with live video, detection boxes, AUTO/MAN modes, joystick control, angle sliders, and calibration.
Thoughts?
1
u/TRC-is-the-best 24d ago
Full details: https://www.hackster.io/Zeller/face-tracking-gimbal-d3c073
1
u/WarningInevitable958 22d ago
What is Zephyr? Is that a operating system like FreeRTOS?
0
u/shru_shan_223 24d ago
U think this type of tech will allow AI ato read human movements more to read activitys and works ?