Here is an open source ECG patch that you can use to measure your heart rate, HRV, and R-R intervals. It is compact and wearable. The device comes with Bluetooth and WiFi built-in. It combines with your smartphone to send data to the cloud.
The HeartyPatch can be used as a fitness monitor or medical research tool. It comes with an onboard Li-Poly battery.