Tags:
tag this topic
create new tag
view all tags
---+ The Heart Rate Sensor ---++ Goal: The heartbeat monitor consists of a simple Infrared LED combined with a photo diode measuring the IR light traversing you finger and arriving at the diode. When the blood is enriched with oxygen, the color of the blood becomes lighter and the diode sees more light while just before a new beat the color is darker. This results in a typical repetitive light signal which can easily be measure with an ADC.In addition to the heart beat monitor itself we us the PCF8591 ADC to read out the diode signal. | <img alt="blood.png" height="246" src="%ATTACHURL%/blood.png" title="blood.png" width="278" /> | <img alt="pcf8591.png" height="249" src="%ATTACHURL%/pcf8591.png" title="pcf8591.png" width="381" /> | | The Heart Rate Monitor with LED and<br />Photo Diode | The PCF8591 8 bit ADC | ---++ Exercise 1: Measure the photo diode voltage when “blinking” the IR LED. Write a program similar to the one you wrote for the LED exercises with a blink rate of 2 Hz. Then measure the voltage at the photo diode and check if you can see the blinking diode.<br />Exercises 2: Measure the heart signal seen on the photo diode<br />For this to work you must hold your little finger between the LED and the photo diode. Connect the signal output from the diode to channel AIN2 of the PCF8591 ADC.<br />Program the ADC such that only channel C corresponding to AIN2 is selected. You may leave the jumpers on the board. They connect <br /><br /> * The thermistor to AIN1 * The photo resistor to AIN0 * The potentiometer to AIN3 Switch the LED on and read out the ADC channel with a frequency of 10 Hz or higher. Print the results on the terminal and check that you see the numbers changing. <br />The re-direct the output to a file and let the system run for some 20s. Finally plot the data with !GnuPLot. -- %USERSIG{UliRaich - 2017-11-14}% ---++ Comments %COMMENT%
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
png
blood.png
r1
manage
655.7 K
2017-11-14 - 14:57
UnknownUser
png
pcf8591.png
r1
manage
209.7 K
2017-11-14 - 14:57
UnknownUser
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2017-11-14
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback