Code Monkey home page Code Monkey logo

hbpimon's Introduction

hbpimon

This is a real-time heart-beat monitoring application intended for use with a raspberry-pi 3 and a Polar H7 heart-beat sensor. Heart beats are recorded using the hb.py script into a txt file and these values are then read and graphed in realtime by the Lazarus application hb_project.

To run this application make sure you intall tendo using pip:

sudo pip install tendo

then bluepy directly from git (installing directly from pip can lead to some issues):

sudo pip install git+https://github.com/IanHarvey/bluepy.git

after this edit your autostart script by using this command:

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

then add the following two lines to the file:

@python /home/pi/HB_PORJECT/hb.py @/home/pi/HB_PROJECT/hb_project

Next time you start your raspberry pi the heartbeat recording scripts and GUI will automatically start. I tested this using a simple 3.5' TFT screen (https://www.dfrobot.com/index.php?route=product/product&product_id=1539). But it should work with other similar screens as well. Other heart-beat sensors should also work provided they comply with the heart-beat bluetooth sensor standard.

To modify the heartbeat monitoring GUI you should first install Lazarus:

sudo apt-get install Lazarus

Then open up the hb_project.lpi file within the Lazarus IDE.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.