I created a heart sensor to help improve my sleep and do so by seeing the pattern of my heartbeat as that is the primary way to measure sleep quality. During the project I realized that making something I could use in my sleep would be far more difficult than I first though as the heartbeat sensor I had was not very sturdy. I was able to complete the heartbeat sensor of the project and am able to accurately read peoples heart rates and display them but am still far from my final goal. I would have to do a lot more testing to see how the heartbeat sensor would hold up and what ways I could keep it attached while I sleep without destroying it.
These are all the readings the heartbeat sensor returns. The readings can be vastly different which is why there is a calibration phase within the code to tell what scope the readings will fall into.
This is the readings graphed. It was done before there was a set up or calibration phase so the earlier readings in the graph are just random noise but it then settles into a heartbeat pattern. This was also displayed using the Arduino IDE serial plotter to create the graph.
The sensor can also display the quality of sleep every 10 seconds as well as the persons heart rate, allowing the user to look back on data using the particle photon serial port to see if they had a good rested night of sleep.
This image shows how the earpiece heartbeat reader can be easily fashioned to fit a persons head using any type of head band.
This picture shows how the particle photon can be fashioned to a persons head just as easily.












Comments