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.
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
Mount the Heart Rate 9 click board on the mikro bus connector of PIC32CX SG61 Curiosity Ultra Evaluation Board
Mount the OLED C click on one mikroBUS adapter and then connect the adapter to EXT 1 extension header
Mount the RNBD451PE Add On Board on one mikroBUS adapter and then connect the adapter to EXT 2 extension header
Power the PIC32CX SG61 Curiosity Ultra Evaluation Board from a Host PC through a Type-A male to Micro-B USB cable connected to Micro-B port (J300) labeled DEBUG USB
The prebuilt hex file can be programmed by following the below steps.
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
After power-up, the application displays the Microchip logo on the OLED C click board and initializes the bluetooth module if necessary, and the heart rate sensor.
The two LEDs (LED1 and LED2) on the PIC32CX SG61 Curiosity Ultra Evaluation Board will toggle untill initialization finishes
After successful initialization of the heart rate sensor, two integrated LEDs on the Heart Rate 9 click lights up.
On the OLEC C display a message is shown that the application is initializing
After the application initializes, a message to put the finger on the sensor and press the SW2 swith is shown
LED0 on the PIC32CX SG61 Curiosity Ultra Evaluation Board will shitch OFF
LED1 on the PIC32CX SG61 Curiosity Ultra Evaluation Board will shitch ON
Now, scan for Bluetooth devices by tapping START SCAN option on the MBD APP.
The RNBD451PE device should appear as MCHP_PIC32CX_SG16_HR in the list of Bluetooth devices.
Revision: - v1.7.0 - Released demo application