this jupyter notebook is running on pc. It connect to beaglebone with usb.
Here we use rest api to communicate with application running on the beaglebone
import requests| ./* | |
| Optical Heart Rate Detection (PBA Algorithm) | |
| By: Nathan Seidle | |
| SparkFun Electronics | |
| Date: October 2nd, 2016 | |
| Given a series of IR samples from the MAX30105 we discern when a heart beat is occurring | |
| Let's have a brief chat about what this code does. We're going to try to detect | |
| heart-rate optically. This is tricky and prone to give false readings. We really don't |
| #!/usr/bin/python | |
| # Udacity exercise. Just posted the code here to help anyone who wanted to see the work behind my posted result. | |
| __author__ = 'Michael Rosata [email protected]' | |
| __package__ = '' | |
| from random import random | |
| import turtle | |
| class TurtleArtist(turtle.Turtle): | |
| _origin = (0, 0) |