Heart Rate Extension
The heart rate extension board is an optional add-on that measures heart rate from the back of the watch. It is built around the Maxim MAX32664C sensor hub with a MAX86141 optical front end and a LIS2DS12 accelerometer, and connects to the extension connector on the ZSWatch PCB.
info
The case parts for the heart rate extension may still get some tweaking.
Hardware
- PCB: design files are in the Extension-HW repository.
- Case: print
bottom_hr.stlandbottom_hr_center.stlfrom Watch-3D instead ofbottom.stl. See Step 10 of the assembly guide for gluing the cover.
Building the Firmware
To build the firmware yourself with heart rate support, add the heart rate config and overlay (see Compiling the Software for setup):
west build --build-dir app/build_hr app \
--board zswatch@1/nrf5340/cpuapp -- \
-DEXTRA_CONF_FILE="boards/debug.conf;boards/log_on_uart.conf;boards/zswatch/zswatch/zswatch_nrf5340_cpuapp_hr.conf" \
-DEXTRA_DTC_OVERLAY_FILE="boards/log_on_uart.overlay;boards/zswatch/zswatch/zswatch_nrf5340_cpuapp_hr.overlay"
In VS Code, add the _hr.conf file under Extra Kconfig fragments and the _hr.overlay file under Extra Devicetree overlays.
With the extension enabled, the Heart rate app shows up in the app picker.