Open ChiaraBolgiani opened 3 years ago
Are you sure you have the interrupts right? I would try simply polling the sensor data (comment out the check for interrupt flag == true) to see if you can read data.
On Fri, Jan 22, 2021 at 8:48 AM ChiaraBolgiani notifications@github.com wrote:
I am using two Grove IMU 9DOF ( https://wiki.seeedstudio.com/Grove-IMU_9DOF_v2.0/ http://url) and I want to read angles from both of them. I already have one on address 0x69 and the other on the default 0x68 as explained in the Grove IMU. I can read the angles nicely when I use each IMU alone with the basicAHRS code. I am trying to use the dualMPU9250_ladybug code but with an Arduino nano. I know the interrupts pin on the nano are different and I changed them to 2 and 3. I still can't read any data from the sensor. I am now wondering if my wiring is correct.
For both sensor I have:
sensor | arduino 3.3V | VCC GND | GND SDA | SDA + 4.7k pullup resistor SCL | SCL + 4.7k pullup resistor
Am I missing something? I also don't have the RTC library and therefore commented everything involving it in my code, but I don't expect it creating some issues, or does it? Thank you in advance for your help.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKUAGN5D4A46ZJVPRPDS3GT5VANCNFSM4WOX67CA .
Yes, without the interrupts I can get nice readings. Why are they not working though? I don't necessarily need them but it would be nice to understand what mistake I'm making. Thanks again for your help.
Why are they not working though?
Probably because you don't have them configured properly.
On Mon, Jan 25, 2021 at 12:47 AM ChiaraBolgiani notifications@github.com wrote:
Yes, without the interrupts I can get nice readings. Why are they not working though? I don't necessarily need them but it would be nice to understand what mistake I'm making. Thanks again for your help.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/453#issuecomment-766654158, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTDLKQ42HSDFN7P2GKXXXLS3UVZXANCNFSM4WOX67CA .
I am using two Grove IMU 9DOF (https://wiki.seeedstudio.com/Grove-IMU_9DOF_v2.0/) and I want to read angles from both of them. I already have one on address 0x69 and the other on the default 0x68 as explained in the Grove IMU. I can read the angles nicely when I use each IMU alone with the basicAHRS code. I am trying to use the dualMPU9250_ladybug code but with an Arduino nano. I know the interrupts pin on the nano are different and I changed them to 2 and 3. I still can't read any data from the sensor. I am now wondering if my wiring is correct.
For both sensor I have:
sensor | arduino 3.3V | VCC GND | GND SDA | SDA + 4.7k pullup resistor SCL | SCL + 4.7k pullup resistor
Am I missing something? I also don't have the RTC library and therefore commented everything involving it in my code, but I don't expect it creating some issues, or does it? Thank you in advance for your help.