Posts Tagged ‘IR’

Heartbeat (IR) sensor

May 28, 2008

조성미학생은 먼저

http://suchamagicworld.blogspot.com/2008/04/still-alive-heartbeat-irsensor-report.html에 있는 Sensors: Infrared Emitters and Detectors와 적외선 Sensitive photo cell로 앰플리파이어없이 심장박동을 값을 아듀니오로 받아보세요. 위의 링크에서 주요 내용을 퍼온겁니다. 더 자세한 내용은 링크를 읽어보세요. 그리고 직접 실험해서 알아보세요. Resource를 가지고 유용하게 쓰는 것도 디자인의 일부입니다.

——————————————————————————

Infrared Emitters and Detectors (얼핏보면 LED와 비슷하게 생겼어요)
SKU#: SEN-00241
Price: $1.95

datasheet:

  • IR Emitter (Clear)
  • IR Detector (Tinted pink)
  • how it works:

    R1

    270 ohm resistor

    R2

    10k resistor

    LED1

    Infrared LED

    Q1

    Infrared-sensitive photoresistor

    Circuit: (simple one without amplifier)

    Description: 납작한 모양의 IR Emitter와 IR 수신기입니다. 이 두 간단한 디바이스는 940 nm에서 작동되며 보통 IR 시스템과 리모콘, 물체를 감지하는데 쓰입니다. 간단한 ADC (photocell)를 아듀니오와 같이 연동시키면 값을 읽을 수 있습니다. EMitter sms 다른 LED처럼 50mA 의 전류와 저항을사용하여 씁니다. The detect is a NPN transistor that is biased by incoming IR light.

    Code:

    arduino:

    /* I AM ALIVE heart beat led
    * by meng li based on the code by Jeff Gray – 2008
    * —————-
    * Triggers a one time event when value goes over threshold,
    * and a different trigger once the value goes back below the threshold
    */

    int an1,an2 = 0;
    int redLedPin =13;
    boolean triggered = false;

    void setup(){
    Serial.begin(9600);
    pinMode(redLedPin, OUTPUT); // set the red LED pin to be an output
    // Serial.println(“Starting”);
    }
    void loop(){
    // read analog value in
    int an2 = analogRead(0);
    Serial.print(“Y”);
    Serial.println(an2,DEC);
    //threshold
    int an1= analogRead(5);
    Serial.print(“X”);
    Serial.println(an1,DEC);

    if(an1 > an2 && !triggered){
    triggered = true;
    digitalWrite(redLedPin, HIGH); // turn off the red LED
    }
    if(an1 <= an2 && triggered){
    triggered = false;
    digitalWrite(redLedPin, LOW); // turn off the red LED
    }
    }

    ——————————————————————-

    이건 성미학생이 찾던 자료인데, 참고로 차후 센서 리포트로 모을 수 있게 하트비트 적외선 센서에 대한 자료를 올립니다.

    Jeff Gray의 제자 ITP학생 한명이 센서워크샵에서 작업한 것을 상세히 오려놓은 사이트가 있습니다. 아듀니오 코드는 Jeff Gray란 분이 쓴겁니다.

    http://hrsensor.wordpress.com/

    그외에도 더 자세히 서술한 블로그 사이트는 아래이고요

    http://suchamagicworld.blogspot.com/2008/04/still-alive-heartbeat-irsensor-report.html

    위의 링크들과 같이 심장박동은 주로 IR(Infrared 즉 적외선) 센서를 사용합니다. IR센서 사용원리는 아래에서 설명이 자세히 되어 있습니다. 물론 영어입니다. ^^

    http://www.oximetry.org/pulseox/principles.htm

    좀 더 응용된 쿨한 작품예로는 하트비트MIDI Controller가 있는데요. 아래의 flickr 링크에 사진이 잘 나와있고, Makezine.com에서 search 하면 나옵니다.

    http://www.flickr.com/photos/recotana/2283818188/in/pool-make/

    참고로 특히 적외선 센서는 종류도 많고 응용되고 있는 분야나 종류도 여~러가지임을 잊지마세요.

    아, 잊어버릴뻔했는데, 쉽개 쓸수있는 a polar heart monitor와 receiver 세트가 sparkfun에서 팝니다.

    Polar Heart Rate Module – RMCM01

    http://www.sparkfun.com/commerce/product_info.php?products_id=8660#

    $14.95이지만 미국이라 배송비가 만만치 않을거에요

    Happy Physical Computing! :-)

    김영희 교수