Internet Connected Heart Rate Monitor

by Harshits20 in Circuits > Arduino

384 Views, 2 Favorites, 0 Comments

Internet Connected Heart Rate Monitor

IMG_20230220_180305.jpg
IMG_20230220_180316.jpg

Compact and sturdy heart rate monitor . Post avg heart rate to blynk server every 30sec

Supplies

1.Node MCU V3

2.MAX30102 pulse sensor

3.soldering Iron

4. Blynk setup

5.Arduino ide with blynk and max30102 libraries

Connection

IMG_20230220_180316.jpg
IMG_20230220_180305.jpg

Connections are very simple


MAX30102 NODE MCU

1. SCL D1

2.SDA D2

3.VCC 3.3V

4.GND GND

Sketch

Upload the attached sketch


Edit your blynk credential in the sketch

Edit your wifi router credential in the sketch

Libraries Required Max30XXXX Library, Blynk Library

I have used virtual PIN V5 for sending data to Blynk server you can use any virtual pin you want just make sure to select the same virtual pin in your blynk account to get the reading

Blynk Website Setup

Blynk Setup.jpg
Blynk Setup 2.jpg
Blynk Setup 3.jpg
Open your blynk account
Add a gauge widget
Set it's range to 0-250
Select or create V5( virtual pin 5) for this gauge as written in the arduino sketch

Final

power on the microcontroller ,it will first connect to wifi router and starts the max30102 sensor only after connecting to blynk server. if there is any problem in connecting with wifi or internet (username or password incorrect or no internet acess) it will not turn on the heart rate sensor so make sure to provide correct credential

as the red light in the max30102 turns on gently put thump on the light and you can see the heart rate on the gauge at blynk server after 30 sec

check out the video