Monitor Heart Rate using Pulse Sensor and Arduino (2023)

In this tutorial, we will learn to monitor heart rate using a pulse sensor (SEN-11574) and Arduino. Firstly, We will discuss the introduction, pinout, working, and connection diagram of the pulse sensor (SEN-11574) with Arduino. After that, we will three examples such as controlling LED with pulse rate, plotting data on serial monitor, and visualizing pulse sensor data with processing library. W can use this sensor to measure the heart beat rate (BPM). Additionally, by using a processing visualizer library we will show BPM and IBI in real time in an interactive way.

Monitor Heart Rate using Pulse Sensor and Arduino (1)

SEN-11574 Pulse Sensor Introduction

The SEN-11574 pulse sensor is mainly used for sensing heartbeat rate. Normally it is a very difficult task to measure the exact heartbeat rate, but this has become so much easy with the help of this pulse sensor amped. If we talk about heartbeat, then heart beat is a periodic signal that is produced by any software or hardware system for giving intimation to normal of working of any system. For measuring this periodic intimation signal, many sensors have been used currently in the market but here we shall only talk about SEN-11574 pulse sensor amped. This is basically plugged and play heartbeat sensor and can be used by athletes, game developers, and students in their hardware projects. It is easily available in the market or online shops.

A simple heartbeat pulse sensor is shown below:

Monitor Heart Rate using Pulse Sensor and Arduino (2)
Monitor Heart Rate using Pulse Sensor and Arduino (3)

It has many applications in our daily life. Some common ones include using the sensor in exercise machines for heart beat measurement during workout and heart beat meter for local use at home.

Pulse Sensor Circuit

The following figure shows the internal circuit diagram of a pulse sensor. It consists of optical heart beat sensor, an amplification circuit, and a noise cancellation circuit.

Monitor Heart Rate using Pulse Sensor and Arduino (4)

The front side of the pulse sensor, where the heart shape is drawn, consists of a central LED. This is a hole from where Kingbright’s reverse installed green LED glows and helps the sensor for detecting heartbeat rate. Just under the LED is a photodetector sensor. Besides this, there is another circuitry below the LED. This circuitry is called noise elimination circuitry. It is used for eliminating the noise to enhance the reading of the heart rate pulse sensor.

Monitor Heart Rate using Pulse Sensor and Arduino (5)


This pulse sensor consists of three pins.

  • First one is the GND pin which is used for supplying ground to this sensor and it is connected to source ground pin.
  • The middle pin is the VCC pin which is used to supply power to the sensor. This sensor is powered on at almost 3.3V to 5V dc voltages.
  • Similarly, the last one is the A0 pin which is an analogue pin and it is used for receiving analogue signal. The sensor gives the output in the form of voltage. We need to measure this voltage waveform and extract heart beat rate out of this waveform.this sensor also consists of a central LED. This LED helps the sensor for detecting heartbeat rate. Beside this, there is another circuitry below LED and this circuitry is called noise elimination circuitry. This circuitry is used for eliminating the noise which effects on the reading of the heart rate pulse sensor.

The pin configuration of this heart rate sensor is shown in the picture below:

Monitor Heart Rate using Pulse Sensor and Arduino (6)


The table below shows some key specifications of the SEN-11574 sensor.

(Video) Arduino Based Heart Rate Monitor with Graph | Pulse Sensor Interfacing with Arduino

Operating Temperature-40°C to +80°C
Input Voltage (VCC)3V to 5.5V
Output Voltage 0.3V to VCC
Supply Current3mA to 4mA
Dimensions (L x W)15.8mm

How Pulse Sensor Works?

The working principle of this heartbeat rate sensor is very simple. If we talk about heartbeat rate, then heartbeat rate is the ratio of time between two consecutive heartbeats. Similarly, when the human blood is circulated in human body then this blood is squeezed in capillary tissues. As a result, the volume of capillary tissues is increased but this volume is decreased after each heartbeat. This change in volume of capillary tissues affects the LED light of heart rate pulse sensor, which transmits light after each heartbeat. This change in light is very small but this can be measured by connecting any controller with this pulse sensor. This means the LED light which has every pulse sensor helps for measuring pulse rate.

The working of this sensor could be checked by placing a human finger in front of this pulse sensor. When a finger is placed in front of this pulse sensor then the reflection of LED light is changed based on the volume of blood change inside capillary vessels. This means during the heartbeat the volume of blood in capillary vessels will be high and then will be low after each heartbeat. So, by changing this volume the LED light is changed. This change in of LED light measures the heartbeat rate of a finger. This phenomenon is known as “Photoplethysmogram.”

Interfacing Pulse Sensor with Arduino

We will require the following components for this tutorial.

Required Components:

  • Arduino board
  • SEN-11574 pulse sensor
  • Connecting Wires

As we know already that the pulse sensor has three pins that we have to connect with our Arduino UNO. These include the GND, VCC, and signal pin.

Follow the table and the schematic diagram below to successfully connect your circuit.

Arduino Pulse Sensor
Monitor Heart Rate using Pulse Sensor and Arduino (7)

As the pulse sensor requires an operating voltage in the range of 3.3-5V hence we will connect the VCC terminal of the sensor with 5V terminal of Arduino UNO. Both the grounds will be in common. Additionally, the analog signal pin of the sensor will be connected with A0 pin of the Arduino board.

Installing Pulse Sensor Arduino Library

We will use Arduino IDE to program our Arduino UNO. Thus, you should have the latest version of Arduino IDE. Open Arduino IDE and click on Sketch > Library > Manage Libraries

Monitor Heart Rate using Pulse Sensor and Arduino (8)

The following window will open up.

Monitor Heart Rate using Pulse Sensor and Arduino (9)

Type ‘pulsesensor’ in the search bar and press enter. Install the latest version of the library.

Monitor Heart Rate using Pulse Sensor and Arduino (10)
(Video) How to use the heart pulse sensor with Arduino | Heart pulse monitoring system

After installation of the library, restart your IDE.

Pulse Sensor Example Sketches for Arduino

In this section, we will show you how to use example sketches available in the Arduino IDE for PulseSensor Playground library that we just installed. We will look at different examples to effectively learn how to use the pulse sensor with our Arduino UNO.

LED blinking with hear beat using Pulse Sensor

Open your Arduino IDE and go to File > Examples > PulseSensor Playground > GettingStartedProject.

The following program code will open. This example sketch will blink the built-in LED of Arduino UNO in synchronization with your heart beat when you hold the sensor in between your fingers.

/* PulseSensor Starter Project and Signal Tester * The Best Way to Get Started With, or See the Raw Signal of, your™ & Arduino. * * Here is a link to the tutorial * * * WATCH ME (Tutorial Video): * * *-------------------------------------------------------------1) This shows a live human Heartbeat Pulse.2) Live visualization in Arduino's Cool "Serial Plotter".3) Blink an LED on each Heartbeat.4) This is the direct Pulse Sensor's Signal.5) A great first-step in troubleshooting your circuit and connections.6) "Human-readable" code that is newbie friendly."*/// Variablesint PulseSensorPurplePin = 0; // Pulse Sensor PURPLE WIRE connected to ANALOG PIN 0int LED13 = 13; // The on-board Arduion LEDint Signal; // holds the incoming raw data. Signal value can range from 0-1024int Threshold = 550; // Determine which Signal to "count as a beat", and which to ingore.// The SetUp Function:void setup() { pinMode(LED13,OUTPUT); // pin that will blink to your heartbeat! Serial.begin(9600); // Set's up Serial Communication at certain speed.}// The Main Loop Functionvoid loop() { Signal = analogRead(PulseSensorPurplePin); // Read the PulseSensor's value. // Assign this value to the "Signal" variable. Serial.println(Signal); // Send the Signal value to Serial Plotter. if(Signal > Threshold){ // If the signal is above "550", then "turn-on" Arduino's on-Board LED. digitalWrite(LED13,HIGH); } else { digitalWrite(LED13,LOW); // Else, the sigal must be below "550", so "turn-off" this LED. }delay(10);}

How the Code Works?

Now let us understand how the code is working.

Firstly, some variables are defined that include the GPIO through which the sensor’s signal pin is connected with. It is A0. Next, the built-in LED’s GPIO pin number is stated. It is GPIO13. The signal variable of data type integer holds the ADC data and the threshold variable will help in differentiating a valid heart beat. By default it is set to 550.

int PulseSensorPurplePin = 0; int LED13 = 13; int Signal; int Threshold = 550; 


Inside the setup() function, the serial connection is opened at a baud rate of 9600.


Using the pinMode() function, the built-in LED will be configured as an output pin.



Inside the loop() function, first by using analogRead() on the A0 pin the ADC signal data will get saved in the ‘Signal’ variable. This is the same variable that we defined earlier.

Signal = analogRead(PulseSensorPurplePin);

Next, print this value in the serial monitor/serial plotter for debugging purposes and can also be used to set the threshold value.


The following lines of code will check whether the value saved in the signal variable is greater than the set threshold value. If it is, then turn the built-in LED ON. Otherwise, turn it OFF.

 if(Signal > Threshold){ digitalWrite(LED13,HIGH); } else { digitalWrite(LED13,LOW); }delay(10);


To see the demonstration of the above code, upload the code to Arduino. But, before uploading code, make sure to select the Arduino board from Tools > Board and also select the correct COM port to which the Arduino board is connected from Tools > Port.

Monitor Heart Rate using Pulse Sensor and Arduino (11)

Once the code is uploaded to Arduino, hold the sensor in between your fingers. Do not hold it very tightly or very lightly. Make sure you apply normal pressure while holding the sensor. This will result in a better clean signal.

(Video) How to make Heart rate sensor using Arduino

The built-in LED of Arduino UNO will start blinking with your heart beat. If for some reason the built-in LED is not blinking properly change the threshold value. The threshold value can take values from 0-1023.

Monitor Heart Rate using Pulse Sensor and Arduino (12)

Plotting Heart Beat Signal using Pulse Sensor

Now, we will plot the same signal retrieved from the pulse sensor through the Serial Plotter. We are using the same sketch as above. This time, however, we will show you a graph of the user’s pulse.

Once the code is uploaded to Arduino, hold the sensor in between your fingers. Do not hold it very tightly or very lightly. Make sure you apply normal pressure while holding the sensor. This will result in a better clean signal.

Now go to Tools > Serial Plotter and set its baud rate to 9600. On the serial plotter you will be able to see the signal take various values within a certain range. After a while, the signal will stabilize and you will get a clearer heart beat signal. This is the signal that we obtained.

Monitor Heart Rate using Pulse Sensor and Arduino (13)

Monitoring BPM with Pulse Sensor and Arduino

Open your Arduino IDE and go to File > Examples > PulseSensor Playground > Getting_BPM_to_Monitor. The following program code will open. This example sketch will detect a heart beat and beats per minute (BPM) also known as heart rate. This will be displayed in the serial monitor.

Do not use this BPM monitor for medical purposes as it is not very accurate.

/* Getting_BPM_to_Monitor prints the BPM to the Serial Monitor, using the least lines of code and PulseSensor Library. * Tutorial Webpage: *--------Use This Sketch To------------------------------------------1) Displays user's live and changing BPM, Beats Per Minute, in Arduino's native Serial Monitor.2) Print: "♥ A HeartBeat Happened !" when a beat is detected, live.2) Learn about using a PulseSensor Library "Object".4) Blinks LED on PIN 13 with user's Heartbeat.--------------------------------------------------------------------*/#define USE_ARDUINO_INTERRUPTS true // Set-up low-level interrupts for most acurate BPM math.#include <PulseSensorPlayground.h> // Includes the PulseSensorPlayground Library. // Variablesconst int PulseWire = 0; // PulseSensor PURPLE WIRE connected to ANALOG PIN 0const int LED13 = 13; // The on-board Arduino LED, close to PIN Threshold = 550; // Determine which Signal to "count as a beat" and which to ignore. // Use the "Gettting Started Project" to fine-tune Threshold Value beyond default setting. // Otherwise leave the default "550" value. PulseSensorPlayground pulseSensor; // Creates an instance of the PulseSensorPlayground object called "pulseSensor"void setup() { Serial.begin(9600); // For Serial Monitor // Configure the PulseSensor object, by assigning our variables to it. pulseSensor.analogInput(PulseWire); pulseSensor.blinkOnPulse(LED13); //auto-magically blink Arduino's LED with heartbeat. pulseSensor.setThreshold(Threshold); // Double-check the "pulseSensor" object was created and "began" seeing a signal. if (pulseSensor.begin()) { Serial.println("We created a pulseSensor Object !"); //This prints one time at Arduino power-up, or on Arduino reset. }}void loop() { int myBPM = pulseSensor.getBeatsPerMinute(); // Calls function on our pulseSensor object that returns BPM as an "int". // "myBPM" hold this BPM value now. if (pulseSensor.sawStartOfBeat()) { // Constantly test to see if "a beat happened". Serial.println("♥ A HeartBeat Happened ! "); // If test is "true", print a message "a heartbeat happened". Serial.print("BPM: "); // Print phrase "BPM: " Serial.println(myBPM); // Print the value inside of myBPM. } delay(20); // considered best practice in a simple sketch.} 

To see the demonstration of the above code, upload the code to Arduino. But, before uploading code, make sure to select the Arduino board from Tools > Board and also select the correct COM port to which the Arduino board is connected from Tools > Port.

Monitor Heart Rate using Pulse Sensor and Arduino (14)

Once the code is uploaded to Arduino, hold the sensor in between your fingers. Do not hold it very tightly or very lightly. Make sure you apply normal pressure while holding the sensor. This will result in a better clean signal. Open your serial monitor and set the baud rate to 9600. After a few moments you will be able to see the heart rate.

Monitor Heart Rate using Pulse Sensor and Arduino (15)

Processing Visualizing Pulse Sensor Data

Now we will use the processing visualization application to view the user’s heart beat, their BPM and IBI in real time. This will be achieved inside the software where it acquires the signal data from the programmed Arduino UNO connected with the pulse sensor.

In order to use this tool, we just need the PulseSensor_BPM Arduino sketch (available in the PulseSensor Playground library examples) uploaded to our development board. No additional programming or modifications are required. Follow the steps in the given order to successfully set up the application and view the signal.

(Video) why your heart rate sensor is not working ? issue with Heart rate sensor

Open your Arduino IDE and go to File > Examples > PulseSensor Playground > PulseSensor_BPM. The following example sketch will open.

/* Code to detect pulses from the PulseSensor, using an interrupt service routine. Here is a link to the tutorial\ Copyright World Famous Electronics LLC - see LICENSE Contributors: Joel Murphy, Yury Gitman, Bradford Needham, @bneedhamia, Licensed under the MIT License, a copy of which should have been included with this software. This software is not intended for medical use.*//* Every Sketch that uses the PulseSensor Playground must define USE_ARDUINO_INTERRUPTS before including PulseSensorPlayground.h. Here, #define USE_ARDUINO_INTERRUPTS true tells the library to use interrupts to automatically read and process PulseSensor data. See ProcessEverySample.ino for an example of not using interrupts.*/#define USE_ARDUINO_INTERRUPTS true#include <PulseSensorPlayground.h>/* The format of our output. Set this to PROCESSING_VISUALIZER if you're going to run the Processing Visualizer Sketch. See Set this to SERIAL_PLOTTER if you're going to run the Arduino IDE's Serial Plotter.*/const int OUTPUT_TYPE = SERIAL_PLOTTER;/* Pinout: PULSE_INPUT = Analog Input. Connected to the pulse sensor purple (signal) wire. PULSE_BLINK = digital Output. Connected to an LED (and 220 ohm resistor) that will flash on each detected pulse. PULSE_FADE = digital Output. PWM pin onnected to an LED (and resistor) that will smoothly fade with each pulse. NOTE: PULSE_FADE must be a pin that supports PWM. Do not use pin 9 or 10, because those pins' PWM interferes with the sample timer.*/const int PULSE_INPUT = A0;const int PULSE_BLINK = 13; // Pin 13 is the on-board LEDconst int PULSE_FADE = 5;const int THRESHOLD = 550; // Adjust this number to avoid noise when idle/* All the PulseSensor Playground functions.*/PulseSensorPlayground pulseSensor;void setup() { /* Use 115200 baud because that's what the Processing Sketch expects to read, and because that speed provides about 11 bytes per millisecond. If we used a slower baud rate, we'd likely write bytes faster than they can be transmitted, which would mess up the timing of readSensor() calls, which would make the pulse measurement not work properly. */ Serial.begin(115200); // Configure the PulseSensor manager. pulseSensor.analogInput(PULSE_INPUT); pulseSensor.blinkOnPulse(PULSE_BLINK); pulseSensor.fadeOnPulse(PULSE_FADE); pulseSensor.setSerial(Serial); pulseSensor.setOutputType(OUTPUT_TYPE); pulseSensor.setThreshold(THRESHOLD); // Now that everything is ready, start reading the PulseSensor signal. if (!pulseSensor.begin()) { /* PulseSensor initialization failed, likely because our particular Arduino platform interrupts aren't supported yet. If your Sketch hangs here, try PulseSensor_BPM_Alternative.ino, which doesn't use interrupts. */ for(;;) { // Flash the led to show things didn't work. digitalWrite(PULSE_BLINK, LOW); delay(50); digitalWrite(PULSE_BLINK, HIGH); delay(50); } }}void loop() { /* Wait a bit. We don't output every sample, because our baud rate won't support that much I/O. */ delay(20); // write the latest sample to Serial. pulseSensor.outputSample(); /* If a beat has happened since we last checked, write the per-beat information to Serial. */ if (pulseSensor.sawStartOfBeat()) { pulseSensor.outputBeat(); }}

We will modify one line in this example sketch. While defining the OUTPUT_TYPE variable, set it to PROCESSING_VISUALIZER. By default, it was set to SERIAL_PLOTTER.


To see the demonstration of the above code, upload the code to Arduino. But, before uploading code, make sure to select the Arduino board from Tools > Board and also select the correct COM port to which the Arduino board is connected from Tools > Port. Press the upload button to upload the code to your Arduino UNO.

Installing PulseSensor Amped Processing Visualizer

Before proceeding further, make sure you have the latest version of Processing installed on your system. Download it from here (

We will use GitHub to download the processing code and then place it in the Processing Documents folder. First, click here to open the GitHub page to download the code. The webpage when you open the link will look something like this.

Monitor Heart Rate using Pulse Sensor and Arduino (16)

Click the Code button and go to the Download Zip option as highlighted in the figure. Your zip file will get downloaded to your computer right away. After the download is complete, extract the .zip file and copy the PulseSensorAmpd_Processing_Visualizer folder inside the Processing Documents folder.

Now open Processing. Go to File > Sketchbook > PulseSensorAmped_Processing_Visualizer. The sketch will open up. Press the run button as shown below.

Monitor Heart Rate using Pulse Sensor and Arduino (17)

Now select the serial port through which your board is connected.

Monitor Heart Rate using Pulse Sensor and Arduino (18)

Now you will be able to view the pulse, the heart rate, and the inter-beat interval (IBI) in real-time.


In conclusion, we have learned about a simple pulse sensor that detected pulse on the basis of light. Through various example sketches from the PulseSensor Playground library, we saw its different features. We monitored the user’s pulse through blinking the onboard LED as well as plotting it in the serial monitor. The heart rate (BPM) was also demonstrated through another example sketch. Additionally, we also used the pulse processing visualizer app to show the BPM, IBI, and pulse in real time.

(Video) Pulse Sensor with Arduino Uno

Have a look at pulse sensor-related articles below:

  • Introduction to Heart Rate Pulse Sensor Amped
  • Heart beat pulse sensor interfacing with pic microcontroller
  • heart beat sensor with Arduino|heart pulse measurement


How to use heart beat rate sensor with Arduino? ›

Upload the code to Arduino UNO and Power on the system. The Arduino asks us to place our finger in the sensor and press the switch. Place any finger (except the Thumb) in the sensor clip and push the switch (button). Based on the data from the sensor, Arduino calculates the heart rate and displays the heartbeat in bpm.

How do you calculate heart rate using a pulse sensor? ›

Once a valid signal is detected the counting starts for 10 seconds to calculate the BPM using equation: BPM = Count x 6. In other words, the microcontroller is programmed to count the number of beats in 10 seconds, and the result is further multiplied by 6 to obtain the total number of beats per minute.

How does the Arduino pulse sensor work? ›

The pulse sensor shines light through the skin and measures the reflection with the photodetector. This method of pulse detection through light is called Photoplethysmogram. The working of the sensor can be divided into two parts, one is heart rate measurement and another is blood oxygen level measurement.

How do I make my heart rate monitor more accurate? ›

For a really accurate measurement, connect a heart rate monitor with chest strap.
  1. Wear above wrist.
  2. Wear it tightly.
  3. Start the measurement on time.
  4. Interval and strength training.
  5. Update software.
  6. Keep the sensor clean.
  7. Fluctuating heart rate.
Feb 15, 2023

Which sensor is used to measure pulse rate? ›

An optical heart rate sensor measures pulse waves, which are changes in the volume of a blood vessel that occur when the heart pumps blood. Pulse waves are detected by measuring the change in volume using an optical sensor and green LED.

How does a heart rate monitor circuit work? ›

Background. A type of Heart Rate Monitor consists of an electronic circuit that monitors heartbeat by clipping onto a finger tip. It does this by shining light into or through your finger and measuring how much light is reflected or absorbed. This goes up and down as blood is pumped through your finger.

What is the formula for calculating heart rate? ›

To estimate your maximum age-related heart rate, subtract your age from 220. For example, for a 50-year-old person, the estimated maximum age-related heart rate would be calculated as 220 – 50 years = 170 beats per minute (bpm). The 64% and 76% levels would be: 64% level: 170 x 0.64 = 109 bpm, and.

How does Arduino read data from sensor? ›

You can read more about the specifics of the Analog pins on the Arduino in the Arduino Reference guide.
  1. Wire Analog Sensors to Arduino. ...
  2. Setup your Arduino Sketch. ...
  3. Write code to collect readings from Analog Sensors. ...
  4. Analyze and Convert Sensor Readings as needed. ...
  5. Use sensor data to make decisions.

How to count pulses in Arduino? ›

If the signal is held high, the arduino will count it as one pulse. const int input = 12; // This is where the input is fed. int pulse = 0; // Variable for saving pulses count. pinMode(input, INPUT);

How fast can an Arduino count pulses? ›

Most ATmega microcontrollers can select a pin as timer input. So you can count pulses without missing something. Even with Arduino code. There are frequency counters that can count up to 8MHz.

Why is my heart monitor not accurate? ›

Inaccurate heart rate readings appears to be due to the fit of the device band itself. A loosely fitting band that moves around at all, or that has notable gaps between the device and the skin, can easily cause an inaccurate reading.

What device is most accurate in checking your heart rate? ›

Healthline's picks for the best heart rate monitors
  • Polar H10 Heart Rate Sensor.
  • Fitbit Luxe.
  • Scosche Rhythm24 Waterproof Armband Heart Rate Monitor.
  • Polar Verity Sense Optical Heart Rate Sensor.
  • Garmin HRM-Pro Heart Rate Monitor.
  • CooSpo H808S Chest Strap Heart Rate Monitor.
  • Suunto Smart Heart Rate Belt.
  • Fitbit Versa 3.

Which type of heart rate monitor is most accurate? ›

Heart rate monitors with chest straps are the most accurate. Wrist-only heart rate monitors can be more convenient.

What are the 3 types of measuring pulse? ›

Types of pulses

The pulse felt on the neck is called the carotid pulse. When felt on the groin, it is called the femoral pulse. The pulse at your wrist is called the radial pulse.

Which two types of pulses are most commonly used for monitoring heart rate? ›

Chest straps and optical heart-rate monitors are the two most common types of pulse trackers available for modern wearables, and they both use similar methods to measure your pulse.

What is the purpose of pulse sensor? ›

The PPG uses a pulse sensor on the fingertip that measures the changes in light absorption and reflection onto the skin to measure blood flow.

What technology will calculate and monitor your heart rate *? ›

ECG (Electrocardiography) sensors measure the bio-potential generated by electrical signals that control the expansion and contraction of heart chambers, typically implemented in medical devices.

What is heart rate vs pulse rate? ›

There's a connection between your heart rate and your pulse, but they aren't the same. Your heart rate is how fast your heart is beating at a given time. Your pulse is how you can feel your heart rate. Every time your heart beats, it squeezes and propels blood through the network of arteries in your body.

What is the formula for determining heart rate in 10 seconds? ›

Or, check your radial pulse by pressing on the artery inside your wrist, just below the base of your thumb. Count your pulse (heartbeats) for a full 60 seconds, or 30 seconds and multiply by 2, or 10 seconds and multiply by the number 6.

How accurate are Arduino sensors? ›

Supply Voltage3.3V to 5V3.3V to 5V
Temperature Measurement Range-40°C to 125°C-20℃ to 60℃
Temperature Measurement Accuracy± 1.5°C± 2%
Other Measurements Range and AccuracyHumidity Range: 5 to 95%RHHumidity Accuracy: ±5%
3 more rows
Nov 21, 2019

How does Arduino communicate with sensors? ›

Most proximity sensors for Arduino are based on the classic infrared design. The sensor emits beams of infrared light aimed straight ahead, which are then reflected off any surfaces they hit. The sensor detects returning beams and measures the difference in time between emitting a beam and receiving it back.

How do I interface a sensor with Arduino? ›

Interfacing the IR Sensor
  1. Connect the sensor's VCC pin to Uno's 5V pin using a red male-to-female jumper cable.
  2. Next, connect the sensor's ground pin to Uno's ground pin using a black male-to-female jumper cable.
  3. Then, connect the sensor's out pin to Uno's digital pin 2 using a green male-to-female jumper cable.

Can Arduino measure frequency? ›

Arduino is used to measure frequency and duty cycle of pulses and display them on LCD.

What we need for performing calculation in Arduino? ›

The Arduino has built in functions for calculating the cosine, sine, and tangent of an angle. The syntax for each function looks like this: float a = cos(b); float a = sin(b); float a = tan(b); The trigonometry functions take a float value in radians and return a float value in radians.

What can Arduino measure? ›

The Arduino range of microcontrollers provides analog inputs that can be used to measure voltage. We can use this to build a voltmeter. This leads us to believe that a reading of 0 corresponds to an input of 0.000V; and 1023 corresponds to an input voltage of 5.000 volts.

How many things can an Arduino do at once? ›

The Arduino is a very simple processor with no operating system and can only run one program at a time. Unlike your personal computer or a Raspberry Pi, the Arduino has no way to load and run multiple programs.

How long will a 9V power an Arduino? ›

The 9V battery will power the Arduino for about 10 hours. The AA batteries would probably power the Arduino for 40 hours, but the voltage of the batteries will start to drain before that, so it might be less than 40 hours for 4 AA batteries.

Can Arduino run 24 hours? ›

Running the Arduino 24/7 Shouldn't be a problem. But be sure that you have a case that allows for ventilation and you keep it in a well ventilated area. Just like computers, if you do not keep them in an environment that can keep them cool, they will not stay cool.

Can Arduino count pulses? ›

How do you count pulses in Arduino? If pin 12 goes high, then the Arduino will count that as a pulse. The number of pulses detected is shown on the serial monitor. When pin 12 is held high for one second, the Arduino will count it as one pulse.

How do I connect Arduino to pulse oximeter? ›

Connect the Vin pin of MAX30100 to Arduino 5V or 3.3V pin, GND to GND. Connect the I2C Pin, SCL & SDA of MAX30100 to A5 & A4 of Arduino. Similarly connect the LCD pin 1, 5, 16 to GND of Arduino and 2, 15 to 5V VCC. Similarly connect LCD pin 4, 6, 11, 12, 13, 14 to Arduino pin 13, 12, 11, 10, 9, 8.

How do I use the ANT+ heart rate monitor? ›

ANT+ Heart Rate Monitor
  1. Plug-in your ANT+ USB Stick to your computer.
  2. Open the Devices tab in the TrainerRoad app.
  3. Make sure ANT+ is "On" in TrainerRoad's settings.
  4. Make sure your Heart Rate Monitor is on and is sending data. ...
  5. Once the HRM is on, you should see it show up in the "Devices" menu.

How accurate is Arduino? ›

A ceramic resonator is about 0.5% accurate = 72 seconds over 4 hours or about 1 minute 12 seconds at 16MHz.

Can Arduino perform calculations? ›

The Arduino has built in functions for calculating the cosine, sine, and tangent of an angle. The syntax for each function looks like this: float a = cos(b); float a = sin(b); float a = tan(b); The trigonometry functions take a float value in radians and return a float value in radians.

How do I connect sensors with Arduino? ›

Plug the three pins of your sensor into three different rows on your breadboard. Connect a wire from the 5v on your Arduino to row containing the 5v pin on your sensor. Connect a wire from A0 on your breadboard to breadboard row containing the pin marked with an S.

How do I program a PIR sensor with Arduino? ›

Identify the PIR motion sensor, LED, resistor, and wires connected to the Arduino. Drag an Arduino Uno and breadboard from the components panel to the workplane. Connect breadboard power (+) and ground (-) rails to Arduino 5V and ground (GND), respectively, by clicking to create wires.

How do I know if ANT+ is working? ›

The easiest way to check and see if your ANT+ dongle is working is to pull up another program that uses an ANT+ dongle. If it is working there, then we have a different issue. You can also go into your device settings page on your computer to see if the computer is recognizing your ANT+ dongle.

What frequency does ANT+ use? ›

ANT devices may use any RF frequency from 2400MHz to 2524MHz, with the exception of 2457MHz, which is reserved for ANT+ devices.


1. How to measure your Pulse with Arduino (Code Included)
(Electronics Simplified)
2. Heart Pulse Sensor Amped || Pulse Rate Heart Sensor With Arduino || How Heartbeat Sensor Works
(Yellow Purple)
3. DIY Monitor your heart rate with pulse sensor and Arduino | Heartbeat Sensor Projects | Part 1
4. Arduino + Pulse Heart Rate (HeartBeat) Sensor | Pulse sensor Monitoring (heart rate monitor)
(Electronics is Fun)
5. NodeMCU ESP12E ESP8266 + Pulse Heart Rate (HeartBeat) Sensor | NodeMCU with Pulse Heart Rate Sensor
(Uteh Str)
6. Heart Rate Monitor using Pulse Sensor - OLED SSD1306 - Arduino
(Circuits DIY)
Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated: 03/17/2023

Views: 6194

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.