Highlights

Showing posts with label Week 8. Show all posts

About the Moving Average

By : Noctis King

About the Moving Average

      In our new program, it used the moving average theory to calculate the heart rate. So, I will introduce what is moving average theory and how it use in the program. 
      The moving average theory is a calculation to analyze, count data by creating a series of averages value of different subsets form the whole data. 
      At first, people would set a number of subsets, this number is always same.Use this group of subsets.to calculate the first element of the moving average. Then, the subset would shifting forward but the number of group of the subsets do not change. Use the new group of subsets to get the second element of the moving average. This process is repeated over the entire data series.
      In the program, we use the moving average to calculate the heart rate. We only have three subsets and every time we only gay two peaks and use this two peas to get the heart rate. However, we get the subsets every frequently, it can ensure the accuracy of the heart rate. 




UPDATE: Week 8

By : x
This week we rushed to get the device to its final stage. We worked on making the circuit smaller and fitting all the components tighter. We have now incorporated Arduino Nano and the sensor into one die of a circuit board. We have fitted all the components together and made it as compact as possible. The power issues we were have with Bluetooth before has also been solved.
The circuit is now very stable with the 9V DC battery power source. We have also incorporated a 3.5 mm audio cable for  plug and play capability.
On the software side, we are transferring the Processing code to Arduino code so that the heart rate calculation is done on the Arduino and doesn't require a computer. The Arduino will then broadcast the result via Bluetooth.
For the Android Application, it has been setup to receive Heart rate in Beats per Minute from Arduino via Bluetooth.
The Project is almost complete. We will be looking into the aesthetics of the design next.

Hardware update

By : Lam Ho Wang
Hardware update:  From the breadboard to soldered circuit board
The group integrated the circuit with the arduino board and bluetooth by soldering.
The new circuit has a 9V power supply and the 9V is split to two, 6V for the bluetooth and 9 V for the arduino nano3.0
The new circuit gives a much more stable signal than the old one. The reason may be the 9V supply gives more stable voltage than USB does.




Tag : , , ,

- Copyright © 2013 Group 106-11 - Date A Live - Powered by Blogger - Designed by Johanes Djogan -