尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Open-source balance board controller: ESP32-C6 + MPU6050 turns leaning into W/A/S/D over Bluetooth LE, plus tools to record labelled motion data.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Turn a balance board into a Bluetooth game controller and a motion-data recorder. An ESP32-C6 with an MPU6050 (gyro + accelerometer) sits inside the board.
gx,gy,gz,ax,ay,az,timestamp over BLE every 50 ms (Nordic UART Service).Website: https://smartboardapp.vercel.app
The ESP32-C6 has no Classic Bluetooth, so everything uses BLE (no BluetoothSerial).
| Path | What it is |
|---|---|
firmware/smart_board_controller/ | Game-controller firmware (BLE HID keyboard). Logic is in board_logic.h (plain C++). |
firmware/smart_board_stream/ | Streams raw sensor lines over BLE (NUS) at 20 Hz. |
firmware/i2c_scan/ | Finds which pins your MPU6050 is wired to and its chip ID. |
tools/smart_board_logger.py | Connects to the stream firmware, prints lines live, saves a CSV to your Desktop. |
tools/smart_board_labeler.py | Desktop app (tkinter) to record labelled takes. --demo runs without a board. |
web/ | The project's landing page. |
0x70 also work)Different wiring? Flash firmware/i2c_scan, open Serial Monitor at 115200, and put the pins it finds into I2C_SDA / I2C_SCL at the top of the firmware.
Needs the ESP32 Arduino core 3.x. Board: esp32:esp32:Pcbcupid_GLYPH_C6 (or esp32:esp32:esp32c6).
arduino-cli core install esp32:esp32
arduino-cli compile --fqbn esp32:esp32:Pcbcupid_GLYPH_C6 firmware/smart_board_controller
arduino-cli upload -p COM17 --fqbn esp32:esp32:Pcbcupid_GLYPH_C6 firmware/smart_board_controller
Replace COM17 with your board's port. The stream firmware also needs the
MPU6050 library by Electronic Cats (arduino-cli lib install MPU6050). If another installed library also provides MPU6050.h, pass --library <path to this one> when compiling.
c in Serial Monitor at 115200). Within 4 s step on, stand level and still, then lean forward firmly and hold. It prints Calibrated and saved. Play!.Serial commands: c recalibrate, d live data on/off, r factory calibration, ? help.
Flash firmware/smart_board_stream, then:
pip install bleak
python tools/smart_board_logger.py # live lines + CSV on your Desktop
python tools/smart_board_labeler.py # labelling app (add --demo to try without a board)
Only one program can connect to the board at a time.
cc1plus.exe: CreateProcess, Access is denied or Permission denied (Windows): a third-party antivirus may be blocking the compiler from being started by arduino-cli. Excluding the toolchain folders or using Windows Defender fixed it here.MPU6050 not found: run the I2C scanner. Both lines reading 0 V means the sensor has no power or isn't on those pins.hid->manufacturer(...) on core 3.3.x: use hid->manufacturer()->setValue("...") (already done here).