Multiple MPU6050 Accelerometer on ESP32 possible?

Hello ladies and gentlemen, I am new to the Forum and just have a quick question regarding an MPU6050 and a ESP32 board. I would like to hook up (4X) MPU6050 gyro and accelerometers to the board and have it average out accelerations values. I just need to know if it's possible to do this with these boards or do I need to buy some other hardware for this to work? So far I have one single MPU6050 working with the Arduino UNO board but now that I have an ESP32 board, I will like to add a total of 4 MPU6050 sensors to it.

Thank you for your kind responses
-Moses

1 Like

The chip supports 2 I2C addresses:
I2C ADDRESS
AD0 = 0 1101000
AD0 = 1 1101001

Use that like a chip select.
Only talk to the chip whose AD0 line is low.
Drive each AD0 line with a unique pin from the processor.
Hold 1 pin low to talk to a specific chip, and hold all the others high.

It is a great joy to assist members in their projects. My personal question is the purpose and the design You are heading for.
I don't spend time on projects aiming at something not being really thought through. Asking for how to bring down the moon gets no attention.

Why average 4 accelerometers? What is the goal for Your project? Just connecting stuff doesn't tell that.

project: boxing bag that can detect and log punch force and display it for future progress

thank you for your responses

Thanks a lot for the explanation. It tells a lot and motivates the idea.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.