BLE Fitness Tracker with PIC32CX SG61 Curiosity Ultra Evaluation Board

Download


Description:

The application demonstrates a solution based on Microchip products for the health care industry and wearable products. The application displays heart rate readings on a display and posts this Heart Rate data to Microchip Bluetooth Data (MBD) android mobile application via BLE (Bluetooth Low Energy).

The Mikro Elektronika Heart Rate 9 click board is used to read the heart pulse. Mikroelektronika OLED C Click display is used for displaying the heart rate. RNBD451PE Add On Board using the RNBD451 Bluetooth module is used to send the heart rate data over BLE.

The Heart Rate 9 click introduces Microchip’s proprietary method of measuring multiple signals in a body using pseudorandom binary sequence generation and phase division multiplexing This algorithm for processing data from the sensor and it can send data for 3 different diodes (green, ir, red) who give out a diagram of the heartbeat and its frequency per minute.

The host MCU PIC32CX SG61 is interfaced with the Heart Rate 9 click over the USART interface, the RNBD451PE Bluetooth module over UART and the OLED C click over SPI Interface.

Modules/Technology Used:

Hardware Used:

Software/Tools Used:

This project has been verified to work with the following versions of software tools:

Refer Project Manifest present in harmony-manifest-success.yml under the project folder firmware/src/config/pic32cx_sg61_cult - Refer the Release Notes to know the MPLAB X IDE and MCC Plugin version. Alternatively, Click Here. - Install Microchip Bluetooth Data Android App in your Android mobile or - Install Microchip Bluetooth Data iOS App in your iOS mobile

Because Microchip regularly update tools, occasionally issue(s) could be discovered while using the newer versions of the tools. If the project doesn’t seem to work and version incompatibility is suspected, It is recommended to double-check and use the same versions that the project was tested with. To download original version of MPLAB Harmony v3 packages, refer to document How to Use the MPLAB Harmony v3 Project Manifest Feature

Setup:

Programming hex file:

The prebuilt hex file can be programmed by following the below steps.

Steps to program the hex file

Programming/Debugging Application Project:

Running the Demo:

Before proceeding, install the Microchip Bluetooth Data app on a Smartphone. - Enable Bluetooth and location from Smartphone settings - Perform reset by unplugging and re-plugging the power cable of PIC32CX SG61 Curiosity Ultra Evaluation Board - Open the “Microchip Bluetooth Data (MBD)” app on your smartphone

Running the Demo without BLE:

Note: To test the demo without BLE, disconnect the RNBD from EXT 2 connector of the PIC32CX SG61 Curiosity Ultra Evaluation Board.

Comments:

Revision: - v1.7.0 - Released demo application