I am trying to set up my raspberry pi 5 with the max30102 sensor via the i2c interface. I bought two sensors, but neither seem to work. I'm trying to rule out faulty sensors and I don't have a multimeter.
I connected them as mentioned in the following tutorial, but even after trying both neither of them show up when I run i2cdetect -y 1
.
I soldered the pins to the sensors, and the jumper between the middle pad and 3.3V at the back to select it over the 1V one.
Could it be that they are faulty or the heat from the solder killed them? Or am I doing something else wrong?
-
\$\begingroup\$ Do you have I2C pull-up resistors somewhere? \$\endgroup\$winny– winny2025年06月17日 07:27:05 +00:00Commented Jun 17 at 7:27
-
\$\begingroup\$ So it does not show up in i2cdetect scan. Do you use correct I2C bus number if there are several? Has the pins been set up for I2C use? Should the chip show up in the i2cdetect scan? Not all chips respond to dummy reads as the chip I2C protocol might require register address to respond and i2cdetect does not do that. \$\endgroup\$Justme– Justme2025年06月17日 07:27:27 +00:00Commented Jun 17 at 7:27
-
\$\begingroup\$ Thanks for the responses! @winny I don't but the raspberry pi has inbuilt pullup resistors for i2c so I wouldn't think it's a problem there. \$\endgroup\$Kaizad Wadia– Kaizad Wadia2025年06月17日 08:02:56 +00:00Commented Jun 17 at 8:02
-
\$\begingroup\$ Yes I have checked that it is the correct and only bus as far as I see. I am pretty sure the sensor should as it normally does for others and I would need the channel to use in my code, which doesn't work right now either because it can't detect the sensor. \$\endgroup\$Kaizad Wadia– Kaizad Wadia2025年06月17日 08:04:59 +00:00Commented Jun 17 at 8:04
-
1\$\begingroup\$ The soldering on the pins looks very suspect. You can see the solder has not filled the hole. \$\endgroup\$Kartman– Kartman2025年06月18日 01:53:52 +00:00Commented Jun 18 at 1:53