aredhel
Member level 2
- Joined
- Feb 22, 2008
- Messages
- 50
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Activity points
- 1,800
heartbeat count
Hi! I hope there is someone who could guide me with my heartbeat monitor project. Well, I've recently finished constructing my hardware and the ECG signal on the oscilloscope was rather OK. The signal was not too noisy unless i move then you could see EMG signal distorting my ECG signal.
Anyway right now I am planning to convert the ECG signal from the op amp output from analogue to digital. After that connect the ECG output to the microphone jack input of my laptop (how am I supposed to do this? Direct connection?).
Using visual basic I will detect the signal coming from the microphone slot and then miraculously write a program to count the number of heart beats. In order to count the number of heartbeats I am planning to find the time interval between the first two "R" peaks and then (60 seconds) ÷ (time interval between two "R" peaks). It is a very rough heartbeat estimation and may not be accurate, but right now I just want to get the gist of programming in Visual Basic.
My main questions are:
1. How do I connect from the hardware circuit to the microphone jack
2. Is it better to convert from analog to digital signal before or after sending ECG signal through the microphone slot
3. How do I detect the microphone slot in Visual Basic
4. In order to count the number of heart beats how am I supposed to do this? Could anyone recommend some good books/websites that I could refer to?
Hi! I hope there is someone who could guide me with my heartbeat monitor project. Well, I've recently finished constructing my hardware and the ECG signal on the oscilloscope was rather OK. The signal was not too noisy unless i move then you could see EMG signal distorting my ECG signal.
Anyway right now I am planning to convert the ECG signal from the op amp output from analogue to digital. After that connect the ECG output to the microphone jack input of my laptop (how am I supposed to do this? Direct connection?).
Using visual basic I will detect the signal coming from the microphone slot and then miraculously write a program to count the number of heart beats. In order to count the number of heartbeats I am planning to find the time interval between the first two "R" peaks and then (60 seconds) ÷ (time interval between two "R" peaks). It is a very rough heartbeat estimation and may not be accurate, but right now I just want to get the gist of programming in Visual Basic.
My main questions are:
1. How do I connect from the hardware circuit to the microphone jack
2. Is it better to convert from analog to digital signal before or after sending ECG signal through the microphone slot
3. How do I detect the microphone slot in Visual Basic
4. In order to count the number of heart beats how am I supposed to do this? Could anyone recommend some good books/websites that I could refer to?