Search the Community
Showing results for tags 'connection'.
Hi all, Need some help. I have successfully used the AK8975 library with the MPU-9150 which according to the data sheet uses the ak8963 magnetometer. However, when using the same library with a MPU-9250 which has a AK8975 I keep getting a connection failure when using the test sketch. I have gone through all the possible addresses 0x0C through 0x0F with the same results. For reference I am using a CJMCU-117 breakout board that I got over ebay. I have tried also disabling mastermode and enabling bypass but still does not work. Also, getting the accel and gryo data seem to be working fine. Anyone have any suggestions or experience with this issue? Thanks Mike ==================================================== Update 5/11/2014 Ok - came to the conclusion that it is a bad chip and nothing I am doing. After going through the register maps (8963 and 9250), the motion driver software I set up the self test option which the board failed - i checked it against the 9150 which passed. Also, ran a i2cscanner on the 9150 and the 9250. The scanner picked up the magnetometer on the 9150 but not the 9250.
Hi @ all, im new here, but i've read much in this forum about the MPU6050 and I2C. First i wanna say two things: 1. my english isnn't the best, i hope u understand me 2. you guys do a really great job here *clap* Im here, because i have a problem. i use a Arduino due and a GY-521 with an MPU6050. I've written my own code, but there are somethimes connectionproblems. I dont know why, i cant understand. What i've done: - Checked the connections 3.3V is connected to VCC GND is connected to GND SCL is connected to SCL (via pull up to 3,3v) SDA is connected to SDA (via pull up to 3,3v) AD0 is connected directly to GND the rest is open. - I've soldered additionaly 2x 4,7kOhm Resistors from SDA and SCL to 3.3V (read this could help in playground) The problem is strange, because its just somethimes. If u disconnect my board and reconnect it, it works. But somethimes i have to do this several times. Im not sure if the problem is in the code. Because if i start the Seiral monitor, there are some printouts, that shouldnt get printet before other printouts. I've testet it with several boards, sensors and shields, its always the same problem. Do you have any ideas. in the attachement my file as .txt, cant upload .ino Thanks and best regards. Patrick gyro.txt