Imu 10dof -> mpu6050 + hmc5883 + ms5611

ted333;1963574 à dit:
Idem erreur sur le site pour cette carte www.drotek.fr - IMU 10DOF - MPU6050 gyro & accelerometre + HMC5883 magneto + MS5611 altimetre

Ajouter dans le fichier config.h
Code:
      #define DROTEK_IMU10DOF    // IMU 10DOF - MPU6050 gyro & accelerometer + HMC5883 magnetometer + MS5611 altimeter
Ajouter dans le fichier def.h
Code:
#if defined(DROTEK_IMU10DOF)
  #define MPU6050
  #define HMC5883
  #define MS561101BA
  #define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;}
  #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
  #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = -Y; magADC[PITCH] = X; magADC[YAW] = -Z;}
  #define MPU6050_ADDRESS 0XD2
  #define MPU6050_I2C_AUX_MASTER // MAG connected to the AUX I2C bus of MPU6050
  #undef INTERNAL_I2C_PULLUPS
#endif
Et Mr Drotek il faut mettre à jour le site ;)







Ted www.rcnet.com


C'est fait Ted!! :)
 
Et sinon, encore une question bête:
pour calibrer le magnéto, c'est quoi la procédure?
Il faut pointer l'avant de la carte vers le Nord, impérativement?
 
salut!

je galère toujours avec mon satellite Spektrum.
Je reprends tout à 0.
Je voudrais savoir si c'est bien cette board à sélectionner dans le programme Arduino?


Merci!
 

Fichiers joints

  • arduino.jpg
    arduino.jpg
    65 KB · Vues: 6
gabe1028;1964299 à dit:
salut!

je galère toujours avec mon satellite Spektrum.
Je reprends tout à 0.
Je voudrais savoir si c'est bien cette board à sélectionner dans le programme Arduino?


Merci!

Oui c'est bien ca!
 
Haut