Arduino-MAX30100 icon indicating copy to clipboard operation
Arduino-MAX30100 copied to clipboard

@oxullo

Open celciusjj opened this issue 5 years ago • 18 comments

@oxullo Connections : Vin => arduino 3. 3v Scl => ardunio Scl Sda=>ardunio sda Int=> ardunio pin 2 Gnd=> arduino gnd

Originally posted by @mesutsaygioglu in https://github.com/oxullo/Arduino-MAX30100/issues/13#issuecomment-289034931

Can you help, i dont know connect this sensor, i put the connections but the led not put on. Thank you

celciusjj avatar May 04 '19 17:05 celciusjj

To have light in led is necessary configure it to do. Read max30100 datasheet and you will understand better.

Em sáb, 4 de mai de 2019 2:41 PM, celciusjj [email protected] escreveu:

@oxullo https://github.com/oxullo Connections : Vin => arduino 3. 3v Scl => ardunio Scl Sda=>ardunio sda Int=> ardunio pin 2 Gnd=> arduino gnd

Originally posted by @mesutsaygioglu https://github.com/mesutsaygioglu in #13 (comment) https://github.com/oxullo/Arduino-MAX30100/issues/13#issuecomment-289034931

Can you help, i dont know connect this sensor, i put the connections but the led not put on. Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oxullo/Arduino-MAX30100/issues/60, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNC5ZUIORV7RFV4N67BGBTPTXDEPANCNFSM4HKZMU7Q .

FelipeMdeO avatar May 04 '19 18:05 FelipeMdeO

yes, I know. But max30100 not working, any peoples say that i need desolder the resistences, and put 4.7kOhms. What do you know?

sorry for my english, I speak spanish

celciusjj avatar May 04 '19 21:05 celciusjj

Sorry for my delay and no problem for your english, I no speak english well yet, I speak portuguese...

So... about change the resistor, wait to do it, this will be last thing to do.

Can you communicate with sensor ? You can use library i2c scanner to do it. - https://playground.arduino.cc/Main/I2cScanner/ Other method to test comunnication is uncomment line 18 of sketch: //pulseOxymeter->printRegisters(); and use serial monitor. If it work: Try comment line : pulseOxymeter = new MAX30100(); and uncomment line: //pulseOxymeter = new MAX30100( DEFAULT_OPERATING_MODE, DEFAULT_SAMPLING_RATE, DEFAULT_LED_PULSE_WIDTH, DEFAULT_IR_LED_CURRENT, true, true );

Post your result, please.

FelipeMdeO avatar May 05 '19 15:05 FelipeMdeO

Ok I try that. Dont worry, thank you for help me.

I have two questions. 1- what scheme did you use to mount the circuit

2- Did it work with the soldered resistors of the max30100?

tomorrow I try the communication l2c, today i am a little busy.

celciusjj avatar May 05 '19 18:05 celciusjj

1- what scheme did you use to mount the circuit: I use standard connection. At this time I´m not using Arduino, but NXP Freedom kl02 board. I only connect Vcc, GND, SDA and SCL and it worked. 2- Did it work with the soldered resistors of the max30100? I´m using this board: -> https://pt.aliexpress.com/item/WS16-NEW-MAX30100-Heart-Rate-Sensor-Click-Heart-Rate-Oximeter-Pulse-Sensor-Pulsesensor-Module-For-Arduino/32722466324.html?spm=a2g0s.9042311.0.0.556cb90aJzwqFv For it I no need do any modification in board.

FelipeMdeO avatar May 05 '19 19:05 FelipeMdeO

Oh, ok i am use the max30100 green or rcwl - 0530, this is the best tutorial that i found. https://www.teachmemicro.com/max30100-arduino-heart-rate-sensor/

celciusjj avatar May 05 '19 20:05 celciusjj

uhnnnnnn... Basead in your tutorial, you will really need remove pull ups connecteds to SDA and SCL and use resistor to +5V to do it work in Arduino. At my case, maybe work because my micro controller is +1.8 to 3.6 V. So, do it. Remove pull ups and use external resistor connected between +5V and SLC and +5V and SDA and try use Arduino library.

I wait for news! Good luck.

FelipeMdeO avatar May 05 '19 21:05 FelipeMdeO

Hello again, the led now is on, but in the serial Initializing pulse oximeter..SUCCE% Heart rate:53.05bpm / SpO2:1% 68.69bpm / SpO2:0% Beat! Heart rate:109.85bpm / SpO2:1% Beat! Heart rate:53.05bpm / SpO2:1% Heart rate:53.05bpm / SpO2:1% ⸮q⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮(⸮⸮ْ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮Yc⸮⸮.⸮Yk⸮[k⸮Y ⸮⸮⸮⸮⸮)⸮⸮⸮9⸮⸮c⸮⸮⸮⸮⸮⸮i⸮⸮⸮⸮⸮⸮)⸮⸮⸮⸮⸮+⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮)⸮⸮⸮⸮⸮5⸮⸮Yc⸮[c⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ᘉ⸮⸮)⸮⸮

Any times the led is on, but other times is off.

celciusjj avatar May 07 '19 01:05 celciusjj

What did you do? Change you pull ups ?

Em seg, 6 de mai de 2019 10:11 PM, celciusjj [email protected] escreveu:

Hello again, the led now is on, but in the serial Initializing pulse oximeter..SUCCE% Heart rate:53.05bpm / SpO2:1% 68.69bpm / SpO2:0% Beat! Heart rate:109.85bpm / SpO2:1% Beat! Heart rate:53.05bpm / SpO2:1% Heart rate:53.05bpm / SpO2:1% ⸮q⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮(⸮⸮ْ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮Yc⸮⸮.⸮Yk⸮[k⸮Y �

⸮⸮⸮⸮⸮)⸮⸮⸮9⸮⸮c⸮⸮⸮⸮⸮⸮i⸮⸮⸮��⸮⸮⸮)⸮⸮⸮⸮⸮+⸮⸮⸮⸮�⸮⸮⸮�⸮�⸮⸮⸮⸮)⸮⸮⸮⸮⸮5⸮⸮Yc⸮[c⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ᘉ⸮⸮)⸮⸮

Any times the led is on, but other times is off.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oxullo/Arduino-MAX30100/issues/60#issuecomment-489867566, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNC5ZV5BGTWVI6CGPCPIV3PUDJKJANCNFSM4HKZMU7Q .

FelipeMdeO avatar May 07 '19 01:05 FelipeMdeO

Verify your baud rate of serial.

Em seg, 6 de mai de 2019 10:34 PM, Felipe Moura Oliveira < [email protected]> escreveu:

What did you do? Change you pull ups ?

Em seg, 6 de mai de 2019 10:11 PM, celciusjj [email protected] escreveu:

Hello again, the led now is on, but in the serial Initializing pulse oximeter..SUCCE% Heart rate:53.05bpm / SpO2:1% 68.69bpm / SpO2:0% Beat! Heart rate:109.85bpm / SpO2:1% Beat! Heart rate:53.05bpm / SpO2:1% Heart rate:53.05bpm / SpO2:1% ⸮q⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮(⸮⸮ْ⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮Yc⸮⸮.⸮Yk⸮[k⸮Y �

⸮⸮⸮⸮⸮)⸮⸮⸮9⸮⸮c⸮⸮⸮⸮⸮⸮i⸮⸮⸮��⸮⸮⸮)⸮⸮⸮⸮⸮+⸮⸮⸮⸮�⸮⸮⸮�⸮�⸮⸮⸮⸮)⸮⸮⸮⸮⸮5⸮⸮Yc⸮[c⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ᘉ⸮⸮)⸮⸮

Any times the led is on, but other times is off.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oxullo/Arduino-MAX30100/issues/60#issuecomment-489867566, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNC5ZV5BGTWVI6CGPCPIV3PUDJKJANCNFSM4HKZMU7Q .

FelipeMdeO avatar May 07 '19 01:05 FelipeMdeO

I have 115200, what value i put?

celciusjj avatar May 07 '19 02:05 celciusjj

You need put same value in serial monitor. Do you verify it?

Em seg, 6 de mai de 2019 11:24 PM, celciusjj [email protected] escreveu:

I have 115200, what value i put?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/oxullo/Arduino-MAX30100/issues/60#issuecomment-489882046, or mute the thread https://github.com/notifications/unsubscribe-auth/ADNC5ZQICYPAKR7HAWYAPSTPUDR7RANCNFSM4HKZMU7Q .

FelipeMdeO avatar May 07 '19 03:05 FelipeMdeO

Yeah i have this value, now if i put RD to ground the led start glow but in program is failed. Is so rare... Sometimes the LED is bright, others do not shine or shine little.

in this post https://github.com/oxullo/Arduino-MAX30100/issues/16 saikapilan have the same problem.

celciusjj avatar May 07 '19 03:05 celciusjj

You tried connecting just VCC, GND, SDA and SCL? I just use that pins. And... you put pull ups?

FelipeMdeO avatar May 07 '19 03:05 FelipeMdeO

Yeah, i am use this pins, but the led not put on, when i put RD to ground the led is glow, also when i put my finger above him.

Sometimes, when connect arduino the led put on, but inmediatly this put off. Jajaja omg

celciusjj avatar May 07 '19 03:05 celciusjj

https://photos.google.com/search/tra/photo/AF1QipN0AUEq0QFGmCam9G10D-8YCy23_zRGq-X3yIRI two resistences vin to 5v scl to scl arduino, sda to sda arduino and ground to ground arduino

celciusjj avatar May 07 '19 03:05 celciusjj

Forget the previous comments, I turn on. Now let's look at the data that the sensor delivers.

https://photos.google.com/search/tra/photo/AF1QipPWkfs8XfOd0t84Jjk6XW7lupYK7-PHM3vb5eMW

look this, I put the finger to take the pines with the sensor.

celciusjj avatar May 07 '19 03:05 celciusjj

searching for source code that can run and give SPO2 level even less than 85 in case of covid 19 patient. SPO2 LEVEL should be anything from 0 to 100

bibhutibikramaditya avatar Jul 30 '20 13:07 bibhutibikramaditya