Jump to content
I2Cdevlib Forums

Vulpo

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Vulpo

  1. I have tried everything I could, with no success. I also looked at the official library (see http://www.i2cdevlib.com/forums/topic/153-official-dmp-documentation-is-released-by-invensense/ ) but it doesn't seem to be a function for that, and don't find any "dmp register value" in the register map. I guess I will stick to the raw values and try to calibrate a Kalman filter or whatever.
  2. My guess is that the problem comes from the FIFO used by the DMP code. I have the same problem but with an XBee instead of an LCD screen, and from what I observed is that after a moment the data from the FIFO is corrupted (one chunk of the data is lostlost, leading to a global byte shift) and the program hangs as a consequence. Sometimes I can see some corrupted data being transmitted a few seconds before it stops. I did not resolve the problem, but I am trying to find a way to use DMP without the FIFO. Maybe that's the way to go.
  3. I just unsolder/solder it. I didn't dare to try to use the hole before the solder jump, since I feared short-circuits.
  4. I am using the I2C library and the source code on github (https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050) to collect the yaw, pitch and roll fused from the gyrometer and accelerometer outputs: accelgyro.dmpGetQuaternion(&q, fifoBuffer_1); accelgyro.dmpGetGravity(&gravity, &q); accelgyro.dmpGetYawPitchRoll(ypr, &q, &gravity); So I have two questions: 1) I have read that the values above are calculated by fusing the output from the accelerometer and the gyroscope. In this case, I was wondering what is the used algorithm to calculate these way, pitch and roll ? 2) Also, I would like get the acceleration from the accelerometer in m²/s and the angle speed from the gyrometer in °/s. What function should I call or what should I do to get these values? dmpgetGyro() and dmgGetAccel() don't give me correct values: I am adding the measured value to the last measure, but if I move my arduino by 90° it outputs 50° instead, and even if I hold still in the position it slowly decreases/increases back to zero. I am truely desesperated on this one. I really need my second question to be answered. I am read the documentation and the datasheet many times but can't get it work properly.
  5. Hello, I have read that I can connect two mpu-6050 without requiering a multiplexer if they have differnet addresses, and for that I need to change the value of A0. A0 seems soldered to the ground on the Sparkfun breakout board, but right before this soldering there is a hole that I think is called solder jump. Does this mean that if I want to connect A0 to VDD, I just have to connect this wire to VDD ? Or do I have to unsolder A0 first ?
×
×
  • Create New...