Designing a Wearable Heart Rate Monitor
In recent years, wearable devices have seen explosive growth in various markets, especially in fitness tracking and medical monitoring, due to the convenience and real-time data feedback they offer. Devices like Samsung's Gear Fit 2, Qardio®Arm blood pressure monitor, and Under Armor's UA SpeedForm® Gemini 3 smart shoes provide users with vital health information such as sleep quality, activity levels, and walking or running pace.
In recent years, wearable devices have seen explosive growth in various markets, especially in fitness tracking and medical monitoring, due to the convenience and real-time data feedback they offer. Devices like Samsung's Gear Fit 2, Qardio®Arm blood pressure monitor, and Under Armor's UA SpeedForm® Gemini 3 smart shoes provide users with vital health information such as sleep quality, activity levels, and walking or running pace.
Project Overview
Designing a wearable device involves integrating various peripherals to sense and display data, as well as supporting cloud storage and retrieval. This project leverages the Maxim Integrated™ Pegasus development platform, which simplifies the development process by incorporating key peripherals and the 700-MAXREFDES117# heart rate monitor reference design. Additionally, the Mbed operating system is used for cloud programming, with Ubidots providing cloud services, and Android Studio serving as the tool to implement cloud interfaces.
Bill of Materials
To ensure a smooth project, the following materials are recommended:
- Maxim 700-MAX32630FTHR#: Integrated with the MAX32630 Arm® Cortex® M4F microcontroller and battery management IC.
- Maxim 700-MAXREFDES117# Heart Rate Monitor: Includes heart rate/pulse sensors, buck DC/DC converters, and logic level converters.
- Lithium polymer battery.
- Development tools: Soldering iron, jumper wires, breadboard, etc.
- Software: Mbed.org account, Ubidots cloud service account, Android Studio software.
Technical Overview
-
Development Platform: Maxim's MAX32630FTHR development platform is the core of this project. It is equipped with the MAX32630 Arm® Cortex® M4F microcontroller and multiple peripherals, including an accelerometer, Bluetooth module, I²C, UART, and more. Its compact design makes it ideal for prototype development.
-
Heart Rate Module: The MAXREFDES117# heart rate module contains the MAX30102 heart rate/pulse sensor, capable of real-time heart rate and blood oxygen monitoring. It can be integrated with both Arduino and Mbed platforms.
-
Mbed OS: Mbed OS is a cloud programming platform that simplifies the development of IoT devices. It allows users to collaborate on code, manage versions, and quickly submit projects.
-
Ubidots Cloud Service: Ubidots provides a data management platform for IoT projects. Developers can use it to monitor real-time sensor data and integrate devices with the cloud.
-
Android Studio App Development: Android Studio is used to develop the mobile application that connects to the device via Bluetooth, transferring data to the cloud for users to monitor heart rate metrics on their smartphones or tablets.
Step-by-Step Guide
-
Connect the Hardware: Connect the MAX32630FTHR development board to the MAXREFDES117 heart rate sensor. Ensure the sensor’s SCL and SDA pins are connected to P3_5 and P3_4 on the board, with a 3.3V power supply.
-
Program the Development Board: Use the Mbed platform to compile the project code and generate a .bin file. Upload the file to the development board via USB, then press the reset button to start the program.
-
Cloud Service Integration: Create an API token in Ubidots, add the heart rate monitoring device, and generate variable IDs for each data point, enabling real-time data management and monitoring in the cloud.
-
Develop the Android App: Use Android Studio to develop the app that collects data from the heart rate sensor and uploads it to Ubidots. The app will communicate with the device via Bluetooth and provide real-time data transmission.
-
Testing and Debugging: Run the Android app, scan for and connect to the heart rate monitoring device, ensuring successful data collection and display. Users can view all collected data on the Ubidots dashboard or monitor it in real-time via their mobile devices.
Conclusion
A wearable heart rate monitor design not only helps users track their health data but also enables real-time data transmission and feedback through a cloud platform. Maxim's development platform and heart rate sensor simplify hardware development, while Mbed OS, Ubidots, and Android Studio offer a complete IoT solution.
For more detailed information, please feel free to contact us.








