Coder Social home page Coder Social logo

Comments (5)

FrancoisCosta avatar FrancoisCosta commented on June 17, 2024

I should mention I am using the Arduino UNO R3 (5V works good, 3.3V limits the output range from to 0-675.
I aim to use the 3.3V on both the Arduino UNO R3 and the Feather (ATmega32u4, 8MHz)

from pulsesensorplayground.

biomurph avatar biomurph commented on June 17, 2024

@FrancoisCosta
When you are using the UNO, why not simply use the 5V output?
If you must use the 3.3V, then you should simply also wire the AREF pin (just near the pin13) also to the 3.3V. Then, add the line analogReverence(EXTERNAL); to your setup()

When you run the Pulse Sensor on the Feather, you won't need to do a thing, since the Feather and the Pulse Sensor will be under the same power supply.

from pulsesensorplayground.

FrancoisCosta avatar FrancoisCosta commented on June 17, 2024

OK! thanks you!

When using the 3.3V of the Feather rather than the 5V of the arduino, the signal often gets 'clipped' rather than clear peaks.

Screenshot 2019-04-06 at 12 15 23

Is there something else I should be changing in the code?

from pulsesensorplayground.

FrancoisCosta avatar FrancoisCosta commented on June 17, 2024

Actually, I've started to get the same problem with the Arduino UNO (running the PulseSensor_BPM sketch)!
Any idea what is going wrong? Was working fine previously

Screenshot 2019-04-06 at 12 30 02

from pulsesensorplayground.

biomurph avatar biomurph commented on June 17, 2024

nothing is wrong.
The Pulse Sensor is essentially a light sensor. It measures the change in tissue density when the heartbeat pulse wave travels under it. Your pulse is rather 'bright', so when it happens the sensor gets saturated. This is not effecting the accuracy of the BPM value.
Try the Pulse Sensor on different parts of your body and see how the intensity of the pulse varies.

Good reference for the analogReference() can be found here
https://www.arduino.cc/reference/en/language/functions/analog-io/analogreference/

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.