GithubHelp home page GithubHelp logo

max30102_stm32_hal's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

max30102_stm32_hal's Issues

Unable to detect my finger and ever get a reading

I am using the stm32 blue pill. Thanks for sharing a quick start, this sensor has not been easy! Now hooking up my sensor and inspecting it via stm32cubeide live I can see in the Max30102_Init(huart**) everything is HAL OK, which is good..

going into Max30102_Task(void) the conditional block if(IsFingerOnScreen) is always false and never runs? where is this global var even located as it never is assigned and never takes on a value from what I see? Even if I comment that conditional out and run the below code the only values I see here are

uch_addr	uint8_t	13 '\r'	
uch_addr@entry	uint8_t	13 '\r'	
uch_data	uint8_t	36 '$'	

so from the task I can ever switch(StateMachine)
but after the sensor is unable to detect my finger? any idea why?

the variables that I have created


    uint32_t heartRate = Max30102_GetHeartRate();
    uint32_t spo2 = Max30102_GetSpO2Value();

never contain any values ...

to confirms the SDA and SCK lines are hooked up properly, 3.3 V coming in along with the pull-up resistors attached. I can see the LED flash between cycles other than that I am unable to get anything working on it

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.