====== AltiIMU 1 V5 de chez Polulu ====== https://www.pololu.com/product/2739 c'est la bête {{:arduino:polulu_altiimu_v5.jpg?200|}} le code : de départ https://github.com/pololu/minimu-9-ahrs-arduino Connexions de : http://tronixstuff.com/2010/10/20/tutorial-arduino-and-the-i2c-bus/ From a hardware perspective, the wiring is very easy. Those of you with an Arduino Uno or 100% compatible board, you will be using pins A4 for SDA (data) and A5 for SCL (clock): Arduino Nano <-> AltiIMU v5 GND <-> GND 5V <-> Vin A5 SCL <-> SCL A4 SDA <-> SDA ===== Résultats ===== * {{ :arduino:librairie-arduino-capteur-polulu-3d.tgz |}} * {{ :arduino:minimu9ahrs.tgz |}} Cela donne en activant les 2 sorties EULER ET DCM en 115200 bauds: if (PRINT_EULER == 1) Serial.println ("EULER+ : Euler angles Roll, Pitch and Yaw + MAG_Heading"); if (PRINT_DCM == 1 ) Serial.println ("DCM : whole direction cosine matrix"); -24.44,4.42,-61.60,-4.76,0.47,0.79,0.40,-0.88,0.46,0.14,-0.08,-0.41,0.91