Open clemaitre58 opened 7 years ago
Interrupt?
On Fri, Jun 23, 2017 at 8:20 AM Lemaitre Cédric notifications@github.com wrote:
Hi Kris,
I have the ladybug + MPU-9250 / BME280. I sold the 2 I2C pads and GND + VCC (no more)
-->Is it great?
I trried to run this script : https://github.com/kriswiner/Dragonfly/blob/master/MPU9250_BME280_BasicAHRS2_Butterfly.ino
but I have this error :
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
If I replace, at ligne n°365, 0x71 by 0x73, the program run but I Have information providing from MPU9250 : In the following lines, the output of the serial :
ax = 0.00 ay = 0.00 az = 0.00 mg gx = 0.00 gy = 0.00 gz = 0.00 deg/s mx = 0 my = 0 mz = 0 mG q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00 Gyro temperature is 21.0 degrees C Yaw, Pitch, Roll: 13.80, 0.00, 0.00 Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 541917.50 Hz BME280: Altimeter temperature = 28.76 C Altimeter temperature = 83.77 F Altimeter pressure = 986.05 mbar Altitude = 750.64 feet Altimeter humidity = 59.0 %rH
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qhH2eoU8q-YkiM4ULV2BlvYLMIzPks5sG9fVgaJpZM4ODtEK .
Does I have also to sold int pad?
On Fri, Jun 23, 2017 at 10:05 PM, Kris Winer notifications@github.com wrote:
Interrupt?
On Fri, Jun 23, 2017 at 8:20 AM Lemaitre Cédric notifications@github.com wrote:
Hi Kris,
I have the ladybug + MPU-9250 / BME280. I sold the 2 I2C pads and GND + VCC (no more)
-->Is it great?
I trried to run this script : https://github.com/kriswiner/Dragonfly/blob/master/MPU9250_ BME280_BasicAHRS2_Butterfly.ino
but I have this error :
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
If I replace, at ligne n°365, 0x71 by 0x73, the program run but I Have information providing from MPU9250 : In the following lines, the output of the serial :
ax = 0.00 ay = 0.00 az = 0.00 mg gx = 0.00 gy = 0.00 gz = 0.00 deg/s mx = 0 my = 0 mz = 0 mG q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00 Gyro temperature is 21.0 degrees C Yaw, Pitch, Roll: 13.80, 0.00, 0.00 Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 541917.50 Hz BME280: Altimeter temperature = 28.76 C Altimeter temperature = 83.77 F Altimeter pressure = 986.05 mbar Altitude = 750.64 feet Altimeter humidity = 59.0 %rH
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qhH2eoU8q- YkiM4ULV2BlvYLMIzPks5sG9fVgaJpZM4ODtEK .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/5#issuecomment-310760465, or mute the thread https://github.com/notifications/unsubscribe-auth/APVw0-_G3Vo_TMgaU0JCyzKeD8vcr6lgks5sHBp5gaJpZM4ODtEK .
You have chosen to use this sketch. This sketch uses an interrupt for data ready. Thus when you get to this part of the sketch:
// If intPin goes high, all data registers have new data if(newData == true) { newData = false; // reset newData flag readMPU9250Data(MPU9250Data); // INT cleared on any read
what do you think is going to happen?
In the sketch I define pin 8 as the interrupt pin. Is pin 8 connected to the MPU9250 INT? If not, this condition
newData == true
will never be true and you will never read any data.
On Fri, Jun 23, 2017 at 1:52 PM, Lemaitre Cédric notifications@github.com wrote:
Does I have also to sold int pad?
On Fri, Jun 23, 2017 at 10:05 PM, Kris Winer notifications@github.com wrote:
Interrupt?
On Fri, Jun 23, 2017 at 8:20 AM Lemaitre Cédric < notifications@github.com> wrote:
Hi Kris,
I have the ladybug + MPU-9250 / BME280. I sold the 2 I2C pads and GND + VCC (no more)
-->Is it great?
I trried to run this script : https://github.com/kriswiner/Dragonfly/blob/master/MPU9250_ BME280_BasicAHRS2_Butterfly.ino
but I have this error :
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
If I replace, at ligne n°365, 0x71 by 0x73, the program run but I Have information providing from MPU9250 : In the following lines, the output of the serial :
ax = 0.00 ay = 0.00 az = 0.00 mg gx = 0.00 gy = 0.00 gz = 0.00 deg/s mx = 0 my = 0 mz = 0 mG q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00 Gyro temperature is 21.0 degrees C Yaw, Pitch, Roll: 13.80, 0.00, 0.00 Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 541917.50 Hz BME280: Altimeter temperature = 28.76 C Altimeter temperature = 83.77 F Altimeter pressure = 986.05 mbar Altitude = 750.64 feet Altimeter humidity = 59.0 %rH
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qhH2eoU8q- YkiM4ULV2BlvYLMIzPks5sG9fVgaJpZM4ODtEK .
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/kriswiner/Dragonfly/issues/5#issuecomment-310760465 , or mute the thread https://github.com/notifications/unsubscribe-auth/APVw0-_G3Vo_ TMgaU0JCyzKeD8vcr6lgks5sHBp5gaJpZM4ODtEK .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/5#issuecomment-310770166, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qrWMqASHB9b9DlotaxOCmoxo0kpdks5sHCVwgaJpZM4ODtEK .
Hi Kris,
I have the ladybug + MPU-9250 / BME280. I sold the 2 I2C pads and GND + VCC (no more)
-->Is it great?
I trried to run this script : https://github.com/kriswiner/Dragonfly/blob/master/MPU9250_BME280_BasicAHRS2_Butterfly.ino
but I have this error :
MPU9250 9-axis motion sensor... MPU9250 I AM 73 I should be 71 Could not connect to MPU9250: 0x73
If I replace, at ligne n°365, 0x71 by 0x73, the program run but I Have information providing from MPU9250 : In the following lines, the output of the serial :
ax = 0.00 ay = 0.00 az = 0.00 mg gx = 0.00 gy = 0.00 gz = 0.00 deg/s mx = 0 my = 0 mz = 0 mG q0 = 1.00 qx = 0.00 qy = 0.00 qz = 0.00 Gyro temperature is 21.0 degrees C Yaw, Pitch, Roll: 13.80, 0.00, 0.00 Grav_x, Grav_y, Grav_z: 0.00, 0.00, 1000.00 mg Lin_ax, Lin_ay, Lin_az: 0.00, 0.00, -1000.00 mg
rate = 541917.50 Hz BME280: Altimeter temperature = 28.76 C Altimeter temperature = 83.77 F Altimeter pressure = 986.05 mbar Altitude = 750.64 feet Altimeter humidity = 59.0 %rH