Shop OBEX P1 Docs P2 Docs Learn Events
DEMO: IR Heartbeat detector — Parallax Forums

DEMO: IR Heartbeat detector

Beau SchwabeBeau Schwabe Posts: 6,566
edited 2013-07-18 12:44 in Propeller 1
Theory of Operation:

The two 2n3904's, 1M and 10k resistor form an auto balanced transistor bias
with an output at the 1M and 10k node. The RX in this design is reverse biased
and utilized as a capacitor which has a "leakage" proportional to the amount
of IR light that falls upon it resulting in a detectable signal. The 10u
serves as a DC block only allowing an AC signal to pass. The 1k, 2.2k, and
0.047u serve as the necessary components for a single pin Sigma Delta ADC.
The 330 Ohm resistor and TX provide the source IR for the RX detector.


Program:

This program maintains an ongoing average of the incoming data, and responds
when the incoming data is substantially different than the average data. A
maximum value with decay, meaning that it slowly migrates back to zero, is
maintained to auto calibrate to the incoming heartbeat pulses. Each pulse is
measured and the current beats per minute are displayed serially.

Enjoy!


Schematic:
IRHEART.jpg


Video:
https://www.youtube.com/watch?v=jGTHaZLhGjg

OBEX:
http://obex.parallax.com/object/698
1024 x 680 - 68K

Comments

  • RaymanRayman Posts: 14,662
    edited 2013-07-18 11:43
    That's a nice, simple looking circuit Beau. I think it should work with the cheap Norcomp Pulse-Ox sensors...
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2013-07-18 11:53
    Rayman,

    "I think it should work with the cheap Norcomp Pulse-Ox sensors" - Perhaps, the caveat is that the IR sensor is reverse biased and used as a capacitor. The detected IR proportionally controls the leakage of the capacitor resulting in an output signal.
  • RaymanRayman Posts: 14,662
    edited 2013-07-18 12:23
    I think the Parallax example by Daniel Harris must be in the photoconductive mode... He doesn't actually say if the +5V goes to the anode or the cathode, but I think it must be reverse biased...
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2013-07-18 12:44
    Rayman,

    Based on the schematic here, yes, it looks like it could be configured either way. I would be willing to bet that this sensor would also work just fine, but since I don't have one to actually test, that assumption is just speculation. Anyone want to try it and let me know? that would be great.

    Reference:
    http://learn.parallax.com/spo2-sensor-propeller-spin-demo
Sign In or Register to comment.