C. Construction - sikadm/387FinalProject GitHub Wiki

The main construction of this system was actual the code. Python code was written to read the serial output of the Arduino, which was the pulse detected on the pulse sensor. The Arduino code was found in a library called PulseSensor Playground. For the python code, two main modules used were tkinter and matplotlib. Tkinter was perfect for creating the entry forms that were needed to calculate the calories burned and gather the information for the leaderboard. Matplotlib was used to create the heart rate graph for each sensor.

The circuit for the pulse sensors was fairly simple. Each pulse sensor had 3 lines which were connected to power, ground and a data pin connected to an analog pin in the Arduino. The circuit is depicted below. pulse sensor circuit More details on the construction of the code can be found in the design diary and the final design wikis.