Skip to content

Levrden/miband-heartrate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mi Band Heartrate

Enable and monitor heartrate with Mi Band 2 device on Windows 10.

alt text

Requirements

  • .NET Framework 4.5 (download)
  • Windows 10 1703+ (Creators Update)
  • Bluetooth adapter supporting Bluetooth 4.0/4.2 BLE

Usage

  • Download and unzip the lastest build from release section

  • Un-pairing your Mi Band 2 from any devices

  • Pairing Mi Band 2 to your computer

  • Launch MiBand-Heartrate.exe

  • Select your device Mi Band 2 from the list and then connect (if no device showed, be sure to have un-paired and paired your device correctly, turned on the bluetooth adapter and the wifi).

  • Click on lock for authenticate your device and push Mi Band 2 button

  • Start monitoring heartrate by clicking on start button

Options

  • Save data in CSV file : Log your heart rate data into a CSV file with date and time and heart rate value

  • Write heartrate value in file : Continuously write heart rate value in file

  • Continuous mode : Mi Band 2 heart rate sensor can work in two different mode, one-shot and continuous. One-shot mode take ~5 sec. for retrieve a heart rate value and fails more often than continuous mode but the heart rate value is more precise. Continuous mode fails less and update more often but the value is less precise.

Build requirements

  • Windows SDK
  • Visual Studio 2017

Build

  • Clone git repository

  • Open MiBand-Heartrate.sln with Visual Studio

  • Right-click on MiBand-Heartrate solution and select generate

Useful links

License

MIT License

About

Enable and monitor heartrate with Mi Band 2 device on Windows 10.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%