Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
81 views

Pulse Sensor With Arduino Tutorial

This tutorial teaches how to use a pulse sensor with an Arduino board to measure a user's heartbeat. It provides instructions on gathering materials, connecting the sensor and an LCD display to the Arduino, downloading necessary libraries, uploading sample code, and viewing real-time pulse data on the serial monitor and LCD. The tutorial aims to make it easy for students, artists and others to incorporate live heart rate measurements into their projects.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views

Pulse Sensor With Arduino Tutorial

This tutorial teaches how to use a pulse sensor with an Arduino board to measure a user's heartbeat. It provides instructions on gathering materials, connecting the sensor and an LCD display to the Arduino, downloading necessary libraries, uploading sample code, and viewing real-time pulse data on the serial monitor and LCD. The tutorial aims to make it easy for students, artists and others to incorporate live heart rate measurements into their projects.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

technology workshop craft home food play outside costumes

Pulse Sensor with Arduino Tutorial


by mybotic on October 30, 2016

Table of Contents

Pulse Sensor with Arduino Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Pulse Sensor with Arduino Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: Material Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: Pinout Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 3: Pin Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 4: Connect to your computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Step 5: Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 6: Sample Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 7: Serial Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 8: Result . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 9: Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
Intro: Pulse Sensor with Arduino Tutorial
Description

Pulse Sensor Amped is a plug-and-play heart-rate sensor for Arduino and Arduino compatibles. It can be used by students, artists, athletes, makers, and game & mobile
developers who want to easily incorporate live heart-rate data into their projects. Pulse Sensor adds amplification and noise cancellation circuitry to the hardware. It's
noticeably faster and easier to get reliable pulse readings. Pulse Sensor Amped works with either a 3V or 5V Arduino.

Specification
Diameter = 0.625" (~16mm)
Overall thickness = 0.125" (~3mm)
Working Voltage = 3V to 5V
Working Current = ~4mA at 5V

Step 1: Material Preparation


In this tutorial , you will need :

1. Arduino Uno Board and USB Cable.


2. Pulse Sensor Arduino
3. Jumper Wires
4. LCD
5. Potentiometer 10K
6. 2 LEDs

Step 2: Pinout Details


you can see the s, + and - on pulse sensor's back view as shown in the picture above.

S : signal, connected to any of your microcontroller's digital pin.


+ : supply, 3V up to 5V
- : ground

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
Step 3: Pin Connection
1. Connect Pulse Sensor to Arduino Uno Board as following :
+ to +5V
- to GND
S tO A0

2. Connect LCD to Arduino Uno Board as following :


VSS to +5V
VDD to GND
RS to 12
RW to GND
E to D11
D4 to D5
D5 to D4
D6 to D3
D7 to D2
A/VSS to +5V
K/VDD to GND

3. Connect 10K Potentiometer to LCD as following (refer image for potentiometer pinout) :
GND to GND
Data to v0
VCC to +5V

4. Connect LED to Arduino as following :

LED1 (RED, blinkPin) to D13


LED2 (GREEN, fadeRate) to D8

Step 4: Connect to your computer


After u have completed your circuit, connect your Arduino Uno Board to your computer via USB Cable. You can see your LCD is on.

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
Step 5: Library
You have to download this library before uploading the sample source code into your Arduino IDE to allow Arduino to communicate with LCD. Download the ZIP file
below > Open Zip File > Extract to your Arduino Uno Library folder.

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
File Downloads

LiquidCrystal.rar (13 KB)


[NOTE: When saving, if you see .tmp as the file ext, rename it to 'LiquidCrystal.rar']
Step 6: Sample Source Code
You may download this sample source code and open it on your Arduino IDE. Choose the correct board and port. Then, upload your Code into your Arduino Uno Board.

NOTE : DO NOT connect the Pulse Sensor to your body while your computer or arduino is being powered from the mains AC line. That goes for charging
laptops and DC power supplies.

File Downloads

pulse_sensor.rar (3 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'pulse_sensor.rar']
Step 7: Serial Monitor
when you open your serial monitor, make sure you change your baud rate to 115200, it has to match to the baud rate stated in the sample source code.

Step 8: Result
After it’s done uploading, you should see LED1 (red) blink in time with your heartbeat when you place your finger on the sensor. If you grip the sensor too hard, you will
squeeze all the blood out of your fingertip and there will be no signal! If you hold it too lightly, you will invite noise from movement and ambient light. So, place your finger
on the sensor lightly till you get a read on the LCD or serial monitor that shows signal is already transmitted. You will be able to get the reading on both serial monitor and
LCD.

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
Step 9: Video
This video shows how pulse sensor work by displaying the BPM value on LCD.

Related Instructables

Arduino Pulse Sensor Ultrasonic Snake game HEALTH BAND Wireless Heart
powered digital With Bluetooth Sensor interface with pulse (Intel IoT) by Rate Monitor by
pulse meter by and Arduino by with arduino by sensor by Think Labs NathanWarrenatBangor
rajbex SaadAbd RobotsCraft polhem

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/
Advertisements

Comments

http://www.instructables.com/id/Pulse-Sensor-With-Arduino-Tutorial/

You might also like