Page 1 of 1

Grove - Finger-clip Heart Rate Sensor with arduino uno r3

PostPosted: Wed May 27, 2020 1:37 am
by yys3
Hi, I am working on a project that requires me to get the heart rate readings from the sensor but unfortunately I failed to get it. I have no clues whats wrong.

basically, i follow the tutorial fromhttps://www.youtube.com/watch?v=Dzq4tnJ0LjA. Instead of using maker uno, i utilise the arduino uno r3 but i failed to get the reading. Anyone can help with this? I will appreciate it and thank you.

The serial monitor just showed nothing :(

Re: Grove - Finger-clip Heart Rate Sensor with arduino uno r

PostPosted: Tue Jun 02, 2020 11:06 am
by ZaM
Hi,

Can you test again using code from this link?
https://wiki.seeedstudio.com/Grove-Fing ... ith_shell/

Try using Hardware I2C and not software I2C.

Re: Grove - Finger-clip Heart Rate Sensor with NodeMCU ESP32

PostPosted: Thu Jun 04, 2020 10:48 pm
by yys3
Capture.PNG
No heart beat rate detected :(
Okay, I have tested it with the hardware serial and it works. Thanks :)

BUT
now I am testing it with nodemcu esp 32 -> https://my.cytron.io/p-nodemcu-esp32?src=search.instant and logic converter -> https://my.cytron.io/p-logic-level-converter-4-channels-bi-directional with this sensor.

I have did the connection with the help of cytron support. He helped me with the wiring connection.

power.jpg
wiring connection


Unfortunately, I wonder why my sensor does not power up when I have the right interface/wiring connection. Anyone has any idea why that happens ? When I run the code, there is no compilation error and yet the serial monitor unable to capture heart beat readings.


power 2.jpg
sensor not power up (no green light)


Any help will be grateful. thank you

CODE: SELECT_ALL_CODE
#include <Wire.h>
void setup() {
    Serial.begin(115200);
    Serial.println("heart rate sensor:");
    //Wire.begin();
    Wire.begin(22, 23); //sda, scl
}
void loop() {
    Wire.requestFrom(0xA0 >> 1, 1);    // request 1 bytes from slave device
    while(Wire.available()) {          // slave may send less than requested
        unsigned char c = Wire.read();   // receive heart rate value (a byte)
        Serial.println(c, DEC);         // print heart rate value
    }
    delay(500);
}


Capture.PNG
No heart beat rate detected :(


Regards
yys3