Wii Balance Board — Personal Balance Measurement Station
Repurpose a Nintendo Wii Balance Board (RVL-021) as a low-cost instrumented balance platform: a Raspberry Pi reads the four load cells over Bluetooth, computes center-of-pressure and sway metrics, and feeds my personal health dashboard.
Status: Planning. Hardware purchased on eBay, awaiting arrival.
Summary
Repurpose an original Nintendo Wii Balance Board (model RVL-021) as an instrumented balance platform. A dedicated Raspberry Pi talks to the board over Bluetooth Classic HID, records the four load sensors, calculates center-of-pressure (CoP) and balance metrics, and exposes session results to my existing personal health analysis system and dashboard.
The goal is longitudinal self-monitoring, not medical diagnosis. With longstanding neuropathy and substantial calf weakness, objective and repeatable measurements of postural sway and weight distribution are especially interesting. Safety and repeatability come first.
Context
- Board: Nintendo RVL-021 bought on eBay (listing); sensor condition unverified.
- Raspberry Pi model not yet chosen. Prefer a Pi 4, support Pi 3B+/5 where practical.
- The existing health system already ingests Apple Health, Withings scale and BP, two Apple Watch Ultras, grip strength, a trial CGM and a connected measuring tape. This project is a new, independent data source.
- No Wii console or Wii Fit needed.
Goals
- Reliable Bluetooth Classic HID connection from Raspberry Pi OS.
- Read all four sensors plus the board’s calibration data.
- Calibrated per-corner loads, total load, L/R and front/back distribution, CoP X/Y.
- Bench-validate all four sensors before standing on the board.
- Record timestamped raw readings, calibration metadata, processing version, protocol and derived metrics.
- Lightweight local service for status, live data, sessions and export.
- Stable machine-readable interface to the dashboard.
- Standardized longitudinal tests with trends over weeks and months.
- Operable without touching a computer while standing.
Non-goals
- Not a medical device or fall-risk diagnostic; no claims of clinical accuracy or BTrackS comparability.
- No Wii Fit emulation, iOS app, or Apple Health write-back in v1.
- Don’t assume readings are comparable across different boards.
Architecture
Wii Balance Board (4 load cells) → Bluetooth Classic HID → Raspberry Pi / BlueZ → Python acquisition + calibration → SQLite raw persistence (+ CSV/Parquet export) and CoP/sway metrics → FastAPI (REST + optional WebSocket) → existing health dashboard.
Board communication sits behind a replaceable adapter, and the analytics pipeline accepts prerecorded fixtures so development needs no hardware.
First engineering task: Bluetooth library investigation
The board is Bluetooth Classic, not BLE, so bleak won’t work. Evaluate, for Pi/BlueZ compatibility, four-cell and calibration access, sample rate, reconnects, license, maintenance and privileges:
- OpenBalance / Balance Toolkit
- wiibalance
- wii-board-module
- A direct Linux HID/L2CAP implementation
Deliverable: a short decision record and a minimal connect/read prototype.
Measurements
Per sample: UTC timestamp and monotonic offset, four raw values (FL/FR/RL/RR, orientation verified), four calibrated loads, total load, CoP X/Y, quality flags.
Derived: total load, L/R and front/back %, mean CoP, AP/ML range, path length, mean sway velocity, RMS AP/ML, optional sway area (method documented). Use verified sensor geometry, a minimum-load threshold, versioned filtering config, and store algorithm version so raw data can be reprocessed. CoP is not center of mass.
Safety and protocols
Elevated surface plus calf weakness, neuropathy and balance difficulty. Never require unsupported standing, eyes-closed or single-leg trials. Have a clinician/PT help decide whether standing tests are appropriate. Start with stable handholds and an assistant.
Proposed protocol (only if cleared): hard level non-slip floor, same spot and orientation, marked foot placement, eyes open on a fixed target, short trials (~20–30 s if safe), up to three per session, record support/fatigue/pain/deviations. Remote start/stop and instant abort. Support-assisted trials are not equivalent to unsupported ones.
Bench validation first: unloaded baseline, known loads at center and corners, check direction/repeatability/drift, verify axis signs, save fixtures. Verify the ~150 kg / 330 lb limit.
Data model (SQLite)
devices, calibrations, protocols, sessions, samples, session_metrics, with migrations and CSV/Parquet/JSON export. Define a clean export contract rather than assuming the dashboard’s schema.
Draft API
GET /health, GET /device/status, POST /device/connect, GET /measurements/latest, WS /measurements/stream, POST /sessions, POST /sessions/{id}/stop, GET /sessions, GET /sessions/{id}, GET /sessions/{id}/samples, GET /sessions/{id}/export?format=csv. OpenAPI/Pydantic contracts, localhost by default, auth/TLS before exposing, idempotent start/stop.
Reliability
Handle disconnects, power-off, low battery and reconnects without corrupting recordings; mark interrupted sessions; monotonic time for intervals; log rate, gaps, clipping and anomalies; keep raw data unmodified; don’t smooth away artifacts; simulated backend and fixtures; unit tests for calibration, axis mapping, CoP, filtering and metrics; systemd for recovery.
Milestones
- M0 Research and setup: Pi/OS/BlueZ confirmed, backend chosen, setup guide and decision record.
- M1 Connection and sensor validation: four channels and calibration, CLI live view, raw file, corner-load checks, reconnect tested.
- M2 CoP and analytics: calibrated loads, CoP, quality flags, sway metrics, unit-tested on simulated fixtures.
- M3 Sessions and API: SQLite, protocol metadata, start/stop, REST, CSV/JSON export, reprocessing.
- M4 Dashboard integration: CoP trace, session summary and trends with no manual transcription.
- M5 Repeatability and safe routine: clinician-informed procedure and baseline, consistent labeled sessions.
Planned repo layout
wii-balance/ with README, docs (project-brief, hardware-validation, bluetooth-decision, protocol, data-contract), src/wii_balance/ (acquisition, calibration, analytics, storage, api, cli.py), tests/fixtures, scripts, pyproject.toml. Python, typed, uv, small and modular.
Open questions
- Which Pi model and OS version?
- Which Bluetooth library works on that exact stack?
- What calibration constants and battery status does the board expose?
- What sample rate is achievable and stable?
- Verified sensor coordinates and axis conventions?
- Dashboard’s preferred ingestion interface and storage format?
- Is the Pi always on or powered only for sessions?
- Operator UI: local web page, CLI or physical button?
- Which standing protocol is safe with professional guidance?
Next step
Start M0 only: research compatibility, compare the three libraries, and build the smallest connect / read four channels / live display / raw CSV prototype with a simulated backend and tests, so development can begin before the board arrives.
Log
No updates yet.