Embedded · Zephyr
SHIELD injury sensor
Firmware for a sensor that lives inside a mouthguard and tracks impacts.
~21 h
of battery life on a 40 mAh battery
My role
When
What it is
I write the firmware for a tiny sensor board that fits inside a mouthguard. It reads 10 sensors and streams the data to a phone over Bluetooth. This is my work in USF’s SHIELD Lab with Dr. Templeton.
Why I built it
A mouthguard only has room for a tiny battery, and Bluetooth bandwidth is tight. Sending each reading on its own would waste 89% of every packet on overhead. But when a hard hit happens, that data can’t sit in a queue.
How I built it
I wrote drivers for all 10 sensors (accelerometers, IMUs, bite-force sensors, heart rate, blood oxygen, and temperature) and pack their readings into a single Bluetooth packet, with impact data always going out first. It lasts about 21 hours on a 40 mAh battery.
Technical details.
- Board
- nRF52840 DK (PCA10056)
- Firmware
- Zephyr RTOS
- Sensors
- 10: 2 high-G accel, 2 IMU, 2 molar FSR, HR plus SpO2, 2 temperature
- Link
- 10-sensor TLV superframe, 138 bytes in a 244 byte BLE notification, 2M PHY
- Battery
- about 21 hours on a 40 mAh mouthguard battery
- Lab
- USF SHIELD Lab, Dr. Templeton
What I used
- Zephyr
- C
- nRF52840
- BLE
- IMU
- Python