Jump to content
I2Cdevlib Forums

magicpau75

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by magicpau75

  1. Hello I use an ARDUINO UNO and 3accel/3gyro MPU6050. After performing calibration (as info....trough sampling several attitudes and using genetic algorithm in Matlab to minimize squared differences) I apply new offsets trough the command: accelgyro.setXAccelOffset(##) I verify via serial using command accelgyro.getXAccelOffset() and they are correctly applied. But when I switch off the device the offsets are lost and they go back to the manufacturer values. Is there a way to change the offsets in the firmware (I guess) so that they are retained after powering it off? Thank you
  2. Hi, I'm Stefano and this is my first request on this forum. I'm using the I2Clib with Arduino UNO (IDE 1.6.9). I have a little board named MPU-92/65 on GY6500 with the following pins: Vcc, GND, SCL, SDA, EDA, ECL, AD0, INT, NCS, Fsync I have installed i2Clib and I am able to retrieve raw values (both acc. and gyro seem to work fine) on address 0x68 (AD0 low to arduino GND) My only problem is that I get "MPU6050 Connection failed" when the MPU6050_raw calls accelgyro.testConnection(). In fact, I print on serial the result of accelgyro.getDeviceID() and it is 56...decimal number for 38 in hexa.... But afterwards values are printed (they change with orientation of board...it seems definitely working....). the board can be found at http://www.robotpark.com/GY-521-MPU6050-6-Axis-Gyroscope-Acceleration-Sensor-Module Should I be worried that the connection test failed (values not reliable) or should I just ignore it? Thank you in advance Stefano
×
×
  • Create New...