MAX30102 lowering clock speed

Hi I wanted to ask if anyone knows how to lower the clock speed of this MAX30102 Sensor using the source file ?

The image below the the library I'm using for this sensor.

Hi, @llamaftw
Welcome to the forum.

Why do you want to change the I2C speed?
What model Arduino are you using?

Have you been able to connect with the sensor using the library's examples?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

There are several modules that use that part, and the crack in my glasses is making it impossible for me to see what you have. Please post a link to the technical information on the sensor and a simple schematic showing how it is connected to which arduino. Why do you want to change the clock speed.

Hi thanks for the reply so does that mean I am using a ESP32 with 3 sensors right now MAX30102, MPU6050, MLX90614 and planning to add a fourth NEO-6M GPS Module. And I am able to get the data from the MLX90614 and the MPU6050 when connecting all three sensors together. and did that by changing the clock speed for the MLX90614 and the data shows. So I was wondering if I can change other sensors clock speed to get the data as I did with the MLX90614.

Hi thanks for the reply I am using a ESP32 Microcontroller with MPU6050, MLX90614 and MAX30102 sensors connected to the SCL and SDA pins. And the problem is that when connecting all three sensors together only the data from MLX90614 and MLX90614 shows like the image below.

image

I want to change the clock speed of the MAX30102 because when I did it for the MLX90614 the sensor shows the data in the serial monitor.

I am 97% sure you have a hardware problem. Your pull ups are not correct. You need a total of about 3.3K for a 3V3 system and about 4.7K for a 5V system. This is the total resistance, you need to take into account any resistors that are used as pull ups on the modules. When that is correct run the I2C scanner and everything should show up and your code work if it is correct.

so does that mean I need a 3.3k resistor for each sensor for it to show the data in the serial monitor ?

NO! That means you need a total resistance of 3.3K on SDA and another 3.3K on SCL assuming a 3V3 system. These are pull up resistors that connect to +3V3 and the appropriate Signal (SCL & SDA). Remember it is a bus and that value is for everything on the bus in total, not individual modules.

Hi thaks for the reply I dont really understand what you're taling about is it possible to explain further on what you are talking about ?

Hi,

Tom.. :smiley: :+1: :coffee: :australia:

so from looking at that image does that mean I need to put the resistor from the 3V3 to SCL and SDA ?

Hi,

One 3K3 on the SDA to 3V3 line.
A second 3K3 on the SCL to 3V3 line.

Tom.. :smiley: :+1: :coffee: :coffee: :coffee: :coffee: :australia:

ahh thanks let me try it out

Hi sorry for the late reply I tried it and I still didnt receive data from the sensors, i followed your advice and added 3.3k resistor from the 3v3 to the SDA and the SCL but it still doesnt show data.