lamik / max30102_stm32_hal Goto Github PK
View Code? Open in Web Editor NEWNucleo STM32F401RE, SW4STM32, HAL libraries
License: MIT License
Nucleo STM32F401RE, SW4STM32, HAL libraries
License: MIT License
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
Hi.
Can you tell me the hardware connection to reproduce the code?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.