Dalton Marcum - abner722/BUM-Fitness-Pal GitHub Wiki
###Contributions:
The first task that I had completed for the group project was to interface my MyoWare Muscle Sensor that I used in my midterm, with Zak's bluetooth speaker. Along with using some of the code for my midterm that powered a specific output pin based on how hard you flexed your muscle, I also had to create an analog filter that would smooth out the input signal, to prevent the speaker from constantly cutting in and out. This filter was an array of 50 values that was always filling and replacing data that resembled physical activity, and created an average of all of the values in the array. If the average would drop below a certain threshold, then the speaker would turn off.
After the muscle sensor, the next step was using the Adafruit Triple-axis accelerometer. With this accelerometer, I used the sample code from Adafruit that tracked the acceleration of all three axes. I used the x and y axes and compared a new reading to the previous acceleration reading. If the acceleration changed direction by a certain threshold in either direction, then the number of steps that the user has moved increased.
The third task was to implement the LCD screen to read both the steps and the heartbeat of the user. This was made much easier by the arduino IDE using LiquidCrystalDisplay.
Finally, after completing the above tasks and receiving the code and heartrate monitor from Zach S, Zak Abner and myself worked to combine all of the components into one complete circuit and to also diagnose and troubleshoot any resolving issues with all of the code.