Program using Particle Photon, node.js, SSE, HTML5 Canvas to do real-time, activity tracking.
Utilizes a accelerometer connected to a photon to connect to a server, and display real-time data. Also utilizes a algorithm to measure downward and upward movement(z-axis) and record the number of repitions; where one repition is defined as one complete upward and downward cycle.
Code for photon in: firmware/dataLift.cpp
Real-Time SSE event transmition using node.js server inspired from: https://github.com/rickkas7/livegraph
Video Demonstrating the App and the Visualization: DataLift: https://drive.google.com/file/d/0Bz32iIwipspJMG5iX0huaS1IZlE/view?usp=sharing