Hello, all!
In the second week of our project, we focused on putting together all the parts we got for the ECG device.
We connected the ECG shield to the Arduino board, and using the manufacturer's sample code and software, we could detect a regular heartbeat and display it on a computer.
The software provided with the ECG shield gave us a way to check that the sensors worked and would give us useful data output. The end goal of this project is to make a device that can detect irregularities in a person's heartbeat. To do this, we needed to output the data in numbers so that code can be written to analyze it to find any patterns that are out of place. We found out how to use the analogRead() function to get the Arduino to output a number between 0 and 1023 based on an electrical signal.
The main function of our device is to let a user know about possible irregularities in their heart rate. We decided that a monitor and a speaker would be our best choices in notifying the user. An LCD display module was hooked up to the board; we got it display a splash screen and a live output of the electrical signal that the sensors picked up. The buzzer was tested by programming the Arduino to play the NBC chimes. We did this by finding the three notes (G3, E4, and C4) and translating these to frequencies (196, 329.63, and 261.63 Hz respectively) that the device can understand.
We also played around with LEDs. In an attempt to attach LEDs onto the board, someone forgot a resistor and blew up one of the lights. A couple others were shorted. We started with 60 LEDs and are now down to 57.
That's all for our week two activities and progress.
No comments:
Post a Comment