Over a million developers have joined DZone.

Measuring Heart Rate With Wireless Earphones and Bluemix

You can use the Dash wireless earbuds with Bluemix to monitor your heart rate. Exercise has never been so much fun or informative!

· IoT Zone

Access the survey results 'State of Industrial Internet Application Development' to learn about latest challenges, trends and opportunities with Industrial IoT, brought to you in partnership with GE Digital.

The Dash from Bragi are wireless smart earphones with a lot of sensors in them. Below is a quick example how to get data from the heart rate sensor and send it to IBM Bluemix. This functionality could be used, for example, to track the health of factory workers or patients in hospitals.

I open sourced the code on GitHub.

At this point the controller is running on a MacBook (when the device will expose more sensor data, I’d like to provide a sample mobile app). The controller talks to The Dash via Bluetooth Low Energy and to the Internet of Things Foundation on Bluemix via MQTT.

Here is a screenshot of the heart rate data visualized via another Bluemix service IoT Platform Analytics Real-Time Insights.


This is a photo of The Dash.


In order to visualize the data I defined a message schema with a data source and data points:


I added a dashboard with a flow chart displaying the heart rate. The same service could be used, for example, to trigger certain actions if the heart rate is too high or too low.

The IoT Zone is brought to you in partnership with GE Digital.  Discover how IoT developers are using Predix to disrupt traditional industrial development models.

interest rate,big data analytics platform,wireless keyboard and mouse

Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}