Modern Device SI1143 Pulse Sensor Demo Code

Arduino demo code for the Modern Device SI1143-based pulse sensor, covering initialization, data reading, averaging and output.


Modern Device SI1143 Pulse Sensor Demo Code - cover page
Brand
Modern Device
Category
Other
Document type
Other
Language
English
Pages
8
File format
PDF
File size
32 KB
Published
29 November, 2026
Updated
29 November, 2026
MD5 checksum
0CFC801A31481F61985D87E529B35F61

About this manual

This document is the SI114_Pulse_Demo.ino sketch for the Modern Device SI1143-based pulse sensor, written for Arduino. It initializes the sensor, reads red, IR1 and IR2 values, averages them, and prints heartbeat and BPM data.

The code includes setup and loop functions, a smoothing routine, and optional blocks for power-line sampling, ambient light sampling, LED value printing and pulse reading. It also contains a table of Arduino and JeeNode port settings for I2C connections.

What's inside

  • SI114_Pulse_Demo.ino
  • Hardware setup
  • Arduino and JeeNode port settings
  • setup()
  • loop()
  • smooth()
  • initPulseSensor()
  • readPulseSensor()

Specifications

I2C port0
Samples averaged5
Serial baud rate115200
Sensor part ID0x17
Measurement rate0x84
ALS rate0x08
PS rate0x08
LED current setting0x38
LED 3 current0x02
ADC gain0x00
Channel list0x77
PS1/PS2/PS3 ADC mux0x03
ADC counterB01110000

Frequently asked questions

What does the demo code do?

It initializes the SI1143-based pulse sensor, reads the red, IR1 and IR2 values, averages them, and prints heartbeat and BPM data.

Which Arduino pins are used for I2C?

Port 0 uses the native Arduino I2C pins on A4 and A5, which are SDA and SCL.

How many samples are averaged by default?

The default is 5 samples, which can be increased for a smoother waveform.

What does the code print when a new finger is detected?

It prints "found new finger" and primes the filters for the first 20 readings.

Download PDF (32 KB)