Coder Social home page Coder Social logo

Comments (8)

biomurph avatar biomurph commented on June 25, 2024

Can you give me some more details about what you mean by 'not working'?
Also, send a pick of your pulsesensor do hardware setup.

from pulsesensorplayground.

Virgilius1995 avatar Virgilius1995 commented on June 25, 2024

Since none of the code I could find is working, I've setup a simple script to test the signal for consistent fluctuation with the sensor connected to my finger(also had some other people try):

const int inputPin = A1;
const int threshold = 12;

void setup() {

Serial.begin(115200);
}

void loop() {

int signal = (analogRead(inputPin));

if (signal > threshold)
{
Serial.println(signal * 5);
}

delay(1);
Serial.println(10);
}

I've set the script to only plot when the input is higher than 12(since below 12 I get allot of noise). According to the provided documentation the threshold should be between 1 and 1024 but anything above twelve and I get nothing and anything below is just noise.

o5u3ey_d3vu8knabhtbnjvu5rplac5_szw
b6golyfpfgxkseqsiswzigl2ntuqshsgpw

from pulsesensorplayground.

Virgilius1995 avatar Virgilius1995 commented on June 25, 2024

I should add that I doubt the authenticity of my sensor since the wires it came solder with are the wrong color
img_20190207_080740 1
heart-rate-pulse-sensor

from pulsesensorplayground.

biomurph avatar biomurph commented on June 25, 2024

It does appear that you are using a counterfeit Pulse Sensor.
I'm sorry, but I can't troubleshoot your problem since I have no idea what the hardware is.

Please support original makers by purchasing legit parts from reliable suppliers
www.pulsesensor.com
www.adafruit.com
www.sparkfun.com
digikey
mouser
Amazon

from pulsesensorplayground.

Virgilius1995 avatar Virgilius1995 commented on June 25, 2024

Thanks for the info
I was told it was an original and I'll be in contact with the seller.

from pulsesensorplayground.

biomurph avatar biomurph commented on June 25, 2024

Oh, interesting!
Please let me know the name of the seller?

from pulsesensorplayground.

Virgilius1995 avatar Virgilius1995 commented on June 25, 2024

They've came back to me saying it was possibly a third party release... And they've sent me a replacement as well as saying they're going to make a note on the product. Its a bit difficult for me to order from official sites as I live in South Africa. The site is DIYElectronics... But going back I cant find anywhere indicating it to be original, except for original images being used to advertised and the link to the official site.

from pulsesensorplayground.

biomurph avatar biomurph commented on June 25, 2024

SparkFun bundles products from their store an ships them to brick and mortar stores all over the world.
Check out their distributors page
https://www.sparkfun.com/distributors
There are some locations in South Africa that they supply. Might have Pulse Sensor and other cool stuff

from pulsesensorplayground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.