Via initial state.
Wearables are absolutely blowing up right now. From smart watches and jewelry to devices implanted in your clothes to armbands that allow you to navigate your computer, everything will soon be loaded with sensors. A big application of these wearables that has become very popular is fitness tracking, so I figured I’d talk about putting together and customizing your own heart rate monitor using a Raspberry Pi!
I invested in Adafruit’s Heart Rate Starter Pack which comes with a wireless sensor from Polar. It took me mere minutes to set up a system that blinked a large red LED in time with my heartbeat while streaming that beat for visualization of beats over time.
This tutorial is going to show you how to…
- Wire up your heart rate receiver
- Write a short Python script to sync LED blinks with your heartbeat
- Use Initial State to stream your heart rate and show beats per minute
Featured Adafruit Products!
Heart Rate Educational Starter Pack with Polar Wireless Sensors: Read wireless heart-rate data into your electronics projects in under 10 minutes with this educational experimentation kit for Polar wireless heart rate bands. This pack is designed for students, hobbyists, engineers and artists who want to add biometric interactivity to electronics. This is the easiest way possible to do it! No gel, no probes, no calibration and no clips. Simply strap the band on and detect heartbeats from 4 feet away. Read more.
Assembled Pi Cobbler Plus – Breakout Cable for Pi B+/A+/Pi 2: The Raspberry Pi B+/Pi 2 has landed on the Maker World like a 40-GPIO pinned, quad-USB ported, credit card sized bomb of DIY joy. And while you can use most of our great Model B accessories by hooking up our downgrade cable, its probably a good time to upgrade your set up and accessorize using all of the Model B+’s / Pi 2’s 40 pins. Read more.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!