Download Print this page
Joy-it SEN-KY039HS Manual

Joy-it SEN-KY039HS Manual

Heartbeat sensor

Advertisement

3
SEN-KY039HS
Heartbeat sensor

Advertisement

loading
Need help?

Need help?

Do you have a question about the SEN-KY039HS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Joy-it SEN-KY039HS

  • Page 1 SEN-KY039HS Heartbeat sensor...
  • Page 2: Table Of Contents

    SEN-KY039HS TABLE OF CONTENT 1. Introduction 2. Use with the Raspberry Pi 2.1 Connection 2.2 Installation 2.3 Program example 3. Use with Arduino 3.1 Connection 3.2 Program example 4. Further information 5. Support Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 3: Introduction

    Dear customer, Thank you for choosing our product. In the following, we will show you what to consider during commissioning and use. If you experience any unexpected problems during use, you are welcome to contact us. Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 4: Use With The Raspberry Pi

    Since the heartbeat sensor is an analog sensor and the Raspberry Pi has no analog inputs, you will need to use an analog-to-digital converter. For example our ADC COM-KY053ADC. Raspberry Pi KY039HS 3v3 (Pin1) GND (Pin 6) SCL (Pin 5) SDA (Pin 3) Black GND (Pin 14) Grey 3v3 (Pin 17) White Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 5: Installation

    = AnalogIn(ads, ADS.P3) __name__ == '__main__': # initialization GAIN = curState = thresh = # mid point in the waveform stateChanged = sampleCounter = lastBeatTime = firstBeat = True secondBeat = False Pulse = False Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 6: Program Example

    = True; continue # keep a running total of the last 10 IBI values runningTotal = 0; # clear the runningTotal variable range(0,9): # shift data in the rate array rate[i] = rate[i+1]; runningTotal += rate[i]; Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 7 = True; # set these to avoid noise secondBeat = False; # when we get the heartbeat back print ("no beats found") time.sleep(0.005) Use with the Arduino 3.1 Connection Arduino KY039HS White Grey Black Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 8 /// Permission is granted to use this software under the MIT /// licence, with my name and copyright kept in source code /// http://http://opensource.org/licenses/MIT /// KY039 Arduino Heartrate Monitor V1.0 (April 02, 2015) //////////////////////////////////////////////////////////////////////// // German Comments by Joy-IT rawValue; bool heartbeatDetected(int IRSensorPin, delay) static maxValue = 0;...
  • Page 9 = 0; heartRateBPM = 0; (heartbeatDetected(analogPin, delayMsec)) { heartRateBPM = 60000 / beatMsec; // LED-Ausgabe bei Herzschlag digitalWrite(ledPin,1); // Serielle Datenausgabe Serial.print("Puls erkannt: "); Serial.println(heartRateBPM); beatMsec = 0; else digitalWrite(ledPin,0); delay(delayMsec); beatMsec += delayMsec; Veröffentlicht: 21.05.2019 Copyright by Joy-IT...
  • Page 10: Further Information

    Possibility of return in your area We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by e-mail at Service@joy-it.net or by telephone. Information on packaging If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.
  • Page 11: Support

    We are also there for you after your purchase. If any questions remain open or problems arise, we are also available by e-mail, telephone and ticket support system. E-Mail: service@joy-it.net Ticket-System: http://support.joy-it.net Phone: +49 (0)2845 98469 – 66 (10- 17 o‘clock) For more information visit our website: www.joy-it.net Veröffentlicht: 21.05.2019 Copyright by Joy-IT...