This is a USB-HID dongle code for M5AtomS3. The sensor data is received over ESP-NOW.
SlimeVR server v0.12.0 rc.1 introduced USB-HID sensor support. This code uses this feature.
Not tested well.
USB接続の無線ドングルのコードです。M5AtomS3で動きます。センサーからはESP-NOWでデータを受信します。
SlimeVR server v0.12.0 rc.1 ではUSB-HIDのサポートが追加されていて、それを利用しています。
十分にはテストされていません。
Video (my tweet): https://twitter.com/verylowfreq/status/1776414271632806100/
- SlimeVR server v0.12.0 rc.1 or later
- SlimeVR tracker over ESP-NOW
- Use my fork. One direction transmission (sensor to dongle; no pairing)
- https://github.com/verylowfreq/SlimeVR-Tracker-ESP-ESPNOW
- M5AtomS3 (ESP32-S3)
- Should be work with generic ESP32-S3 board (except NeoPixel on GPIO 35)
- Arduino IDE / Board: arduino-esp32
- NOT the board library provide from M5Stack
- Open the .ino file.
- Tool -> USB Mode: USB-OTG, Upload Mode: USB-OTG
- Verify
- Upload
- Reset M5AtomS3 manually
- USB unstable ?
- Battery level, battery voltage and RSSI is fixed value.
- Tune the communication rate over USB-HID
- Based on https://github.com/SlimeVR/SlimeVR-Server/pull/913/commits
- USB VID and PID is required the following values: VID=0x2FE3 PID=0x5652