Is this library something you wrote?
Which version of the MLX90614 sensor are you using, 5V or 3.3V?
Is this library something you wrote?
Which version of the MLX90614 sensor are you using, 5V or 3.3V?
5V version
And the other sensor is the Sparkfun Pulse Ox Heart Rate monitor?
Might want wire to be initialized first? On the other hand, the library may or may not initialize wire.
didn't get what you trying to say
He's meaning that maybe you ought to change the order of the items in setup().
Related to the matter in general --
https://forum.arduino.cc/t/how-to-connect-two-mlx90614-temperture-sensors/623271
If you don't want to change the 90614 EEprom, perhaps it's a good candidate for
softwire.h
https://www.arduino.cc/reference/en/libraries/softwire/
Please answer question from post #23. I'm seeking some background information before delving much deeper. Such as one of the sensors being used is a 5V sensor. The other sensor, if it is the Sparkfun PulseOx HR sensor, then it is a 3.3V sensor. Which may or may not be an issue of the sensors not working together but needs to be investigated further.
it can work on 5 and 3.3v
i can change the MLX90614 sensor to 3.3v version if its help to solve the problem more easy way
Thanks for the schemo. Looks fine now to address post#24.
The line mlx.begin uses the wire library. Would it make sense to start the wire library before the device that uses the wire library starts?
And then did you check out the deets in post#26?
didn't get what need to be done
Considering the I2C specification that states the SDA and SDL are driven by open drain or collector outputs you would need pull up resistors. Pull down will keep them in the pseudo active state.
two resistors but the value of the resistors will be ?
5V 4.7K.
3.3V 2.7K.
Those should work.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.