Rafael Echevarría
awards

← Projects

Sensorised objects for mixed-reality rehabilitation

2025–26

Zephyr OS · BLE · C · Unity · C# · Meta Quest 3 · YOLOv8-Pose

A mixed-reality system for upper-limb rehabilitation in which the object itself carries sensors: an IMU and a pressure sensor on an nRF52840 streaming over Bluetooth LE. The headset combines that data with YOLOv8-Pose visual detection.

Context

Meta Quest 3 tracks an object while its cameras can see it. In rehabilitation exercises, the patient’s hand often covers it while grasping and moving it.

Box of cubes seen through the headset, with detections
Box of cubes seen through the headset, with detections.

Hardware and firmware

Each 3D-printed cube carries a Seeed Studio XIAO nRF52840 Sense with a 6-axis IMU, an FSR pressure sensor and a battery. The Zephyr OS firmware samples the IMU at 104 Hz, calibrates, filters orientation and notifies it over Bluetooth LE at about 33 Hz, and pressure at about 10 Hz.

Disassembled, numbered cube electronics
Disassembled, numbered cube electronics.

Visual-inertial fusion

On the headset, YOLOv8-Pose detects the cubes and four keypoints on their top face. When vision fails, the pose stays anchored to the hand using IMU orientation, with grasp validated by pressure. When vision returns, the keypoints correct drift (median error 9.88°, against 8.67° with QR markers).

Architecture diagram: vision, sensors, fusion, game and data
Architecture diagram: vision, sensors, fusion, game and data.

Evaluation

Everything feeds a serious game inspired by the Box and Block Test that logs kinematic data per session. Six participants tried it at the National Hospital for Paraplegics. The trials also showed limitations, mainly cube depth in complex grasps such as the tenodesis pinch.

Participant in a wheelchair wearing a Meta Quest 3 headset, reaching for the sensorised cube; a laptop beside them mirrors the game
A participant trying the game with the sensorised cube.
Game view: hand moving a virtual cube with a countdown
Game view: hand moving a virtual cube with a countdown.

Main results

32.6 msestimated median BLE latency (mean 34.15 ms, N = 1,121)
170/170goals completed by participants
87.0out of 100 mean usability (SUS scale, 6 participants)
314.1°of in-hand rotation captured, against about 50° with vision alone