Hi, this is my first time using arduino and sorry abt my english. im try to combine both MAX30100 code with MH-Z19B code but the MAX30100 always zero and my MH-Z19B there is some value. individually, both sensor work perfectly. if combine max30100 become an issue
Your topic was MOVED to its current forum category which is more appropriate than the original as it has nothing to do with Installation and Troubleshooting of the IDE
Have you ensured this is a software problem? Does the problem occur if you connect both sensors but use only the example code for the MAX30100?
If it does, post links to the hardware (not the sensor chip but the exact breakout board or better it's schematics!) and a wiring diagram.
here my schematics im really sorry i dont have a proper sofware since im new in this field might ask what software shall i use? to draw schematic but here the picture
i tried every advices from this forum regarding this problem and still does not works but some user from youtube said i need to separate my microprocessor to solve my issue becuase apparently the max30100 is "high baudrate or something like that" i need to separate it bascially two microprocessor or buy max30102 and replace max30100 with max30102 and that user use that and work..
That aren't schematics but it works as a wiring diagram. I'm still missing the links to the used hardware.
The MAX30100 library you use set the I2C speed to 400kHz. Depending on the LDC module you use this might work or might fail. As you still didn't provide links to your hardware we cannot check.
You can check if that's the problem by using the line
Wire.setClock(400000);
before every call of the pox object and the line
Wire.setClock(100000);
after that call and before you call any method on the lcd object.
Of course the lines like
won't work anymore. You have to split that up to make the calls around. Save the values into a variable in a block before you call any LCD method.