- New
Product description: IR Heart Rate Sensor - Analog Heart Rate Sensor for Arduino and Raspberry Pi - Joy-IT SEN-KY039
The KY-039 is an easy-to-integrate heart rate sensor based on infrared technology . By placing a finger between an IR emitter diode and a phototransistor , the module detects changes in reflected light caused by blood flow . Proper analysis of the analog signal allows for the user's heart rate to be determined. The module operates with a voltage of 3.3V to 5V , allowing it to work with popular development platforms and microcontrollers . Its compact size and ready-to-use design make the sensor ideal for mobile and educational projects, as well as biomedical device prototypes. The sensor can be used by both hobbyists and more advanced users creating their own measurement systems.

The module operates with a voltage from 3.3 V to 5 V, so it can work with popular boards such as Arduino, Raspberry Pi or ESP32.
Main features of the sensor
- IR pulse detection : heart rate measurement performed by analyzing reflected infrared light
- Analog signal output : possibility of own analysis and processing of measurement data
- Arduino, Raspberry Pi, and ESP32 compatibility : easy integration with popular development platforms
- Power supply from 3.3 V to 5 V : compatible with most microprocessor systems
- Compact design : small dimensions allow for installation in portable devices
- Ready-to-use module : no additional assembly of electronic components required
- Low hardware requirements : simple connection and quick start-up
KY-039 sensor pinouts and connection method
The KY-039 module features three basic pins for quick connection to a microcontroller or single-board computer. The VCC pin powers the module with a voltage between 3.3V and 5V, GND provides the system ground, and the A0 output transmits the analog measurement signal generated by the phototransistor. On Arduino platforms, the sensor can be connected directly to the microcontroller's analog input . The Raspberry Pi lacks native analog inputs, requiring an additional analog-to-digital converter (ADC) , such as the ADS1115. Thanks to its simple interface, the module can be quickly implemented even by novice users.
Heart Rate Module Compatibility and Programming
The KY-039 is compatible with many popular programming environments and embedded platforms. The sensor can be controlled using the Arduino IDE, MicroPython, CircuitPython, and classic Python libraries used on the Raspberry Pi. The manufacturer provides sample programs for signal reading and BPM calculation based on changes in analog signal amplitude. Thanks to the analog output, you can implement signal filtering, peak detection, and pulse analysis algorithms yourself. The sensor is ideal for learning the basics of biomedical measurement systems , creating your own wearable devices, IoT projects, and experiments involving biological signal analysis.
Technical specifications of the heart rate monitor
- Sensor Type: Analog IR Heartbeat Sensor
- Measurement method: infrared radiation reflection
- Operating voltage: 3.3 V to 5 V
- Interface: analog
- Compatibility: Arduino, Raspberry Pi, ESP32 and other microcontrollers
- Application: heart rate measurement and biological signal analysis
- Dimensions: 16 x 78 x 3 mm
- Weight: 4 g
Contents of the set
- 1x KY-039 Heart Rate Sensor
Useful links |



