Go Down

Topic: using i2c connection on logging shield for mpu6050 (Read 1 time) previous topic - next topic

Ross46

Hi there

i recently purchased a keyes dat logging shield as shown in the link below.

http://tinkbox.ph/sites/tinkbox.ph/files/downloads/Keyes%20-%20Data%20Logging%20Module%20%28rev%201.0%29.pdf

i was having a problem reading the mpu when using this shield. It works on just the arduino, but not when connected to the shield. i contacted the company i bought it from and they said about possibly connecting the separate holes that say SDA and SCL on them to pins A4 & A5. Is this necessary to get it to work?

thankyou

ieee488

#1
Nov 09, 2017, 06:30 pm Last Edit: Nov 09, 2017, 06:31 pm by ieee488
i was having a problem reading the mpu when using this shield.
What mpu ? ? ? ?

Ross46

mpu-6050? thats the label on the accelerometer/gyroscope combination

https://playground.arduino.cc/Main/MPU-6050


it comes in the arduino kit labelled mpu-6050, i dont know if it's a specific brand

Ross46

After a bit of research i have found that the shield has components that use I2C and the address is 0x68. Which is the same as the mpu 6050. How would i go about changing the I2C address for the shield? thanks

GolamMostafa

@ Ross46 

You change the address of the MPU6050 sensor to 0x69 by connecting the ADO-pin to LH. Please see the following diagram.


Go Up