Group 1: Cassandra Li & Michael Zhou ESE 190

Our original idea was to create an arduino which kept track of heart rate and would tweet out if your beats per minute (bmp) exceeded a certain amount. Because we couldn’t get a hold of a heart rate sensor we then pivoted our idea into an Arduino that keeps track of your movements in your sleep using an accelerometer. We then use the data from the accelerometer and transmit it wirelessly via bluetooth to another Arduino. This one is plugged into a computer which receives the analog signal and from there uses processing to show the data graphically. The Arduino is wirelessly powered via battery.

The arduino also serves as an alarm clock, which is set automatically once you turn the device on and goes off in eight hours. It wakes you up using a vibration motor which buzzes until you hit a button on your arduino which turns it off. In terms of the progress cycle essentially for the first demo day we only had the accelerometer and bluetooth hooked up to transmit the data to the point where we could read it on the serial monitor but not doing anything else with it. For the final demo we added all the additional functionality mentioned above with the alarm clock and also implemented wireless functionality with the alarm clock and the graph processing work which displayed your movements.

The implementation for the bluetooth and accelerometer was fairly similar to what we did during lab four so most of our circuitry wasn’t complex. On the software side we again used what we learned during lab with BTSerial to for bluetooth transmission. After that, processing took care of reading and displaying our movement graph. For the alarm clock portion the circuitry only required adding a button and a buzzer so again not too complicated on that front. In terms of software getting the buzzer to work after an exact amount of time was more challenging without an RTS sensor but we managed by counting the number of loops which had occurred since each one had a specific constant time delay. From there it was simply a matter of calculating the amount of loops in 8 hours.

In terms of real word applications the fitbit already which is similar to the project we created and part of the inspiration for our project. It was interesting creating the same ideas which they implemented, although on a much smaller scale.

If we were to do anything to improve on our product it would probably be adding the heart rate sensor like we originally wanted to. Other than that there are small features such as making it more wearable and adding a snooze button which we think would add to the overall functionality.

Share this project: