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!
Join the DZone community and get the full member experience.Join For Free
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.
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.
Published at DZone with permission of Niklas Heidloff, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.