Git Product home page Git Product logo

Comments (1)

biomurph avatar biomurph commented on June 3, 2024

@kathblair
Looking at your code, it seems that you are trying to measure the GSR sensor at a rate of 200Hz (every 5mS) is that right?
Also, it looks like when you comment out the temp code, you are measuring the temperature sensor once every loop.

It's very possible that your GSR and Temp code is getting stepped on by the Pulse Sensor interrupt.

First, you probably don't need to sample the other sensors as often as you seem to be doing. both the temperature and gsr values will change rather slowly, and when you sample fast you get a lot of noise.

If you insist on sampling those other sensors, you might want to try building off of the BPM_Alternative code example. That code uses a software timer to time the Pulse Sensor samples. Using that would mean that all of the analog reads that you do are initiated from the loop, and they won't be stepping on each other.

Please try that and reply back if it fixes the problem, then we'll know how to move forward. There are a couple tools in the interrupt driven code that could help if that's true.

Also, please send a pic of your hardware setup so I can verify your Pulse Sensor hardware

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.