kriswiner / MPU9250

Arduino sketches for MPU9250 9DoF with AHRS sensor fusion
1.03k stars 471 forks source link

ESP32 SPI DMP #373

Open Lynxu opened 5 years ago

Lynxu commented 5 years ago

Hello @kriswiner do you know how can i get working dmp on a ESP32 on spi. I'm preety new to stuff like this. I got stuck on a project where i have three MPU9250 and need the quaternions for them.

kriswiner commented 5 years ago

No, I don't use the DMP on the MPU9250. I prefer to do the sensor fusion on the host MCU.

On Sun, May 19, 2019 at 10:41 AM Lynxu notifications@github.com wrote:

Hello @kriswiner https://github.com/kriswiner do you know how can i get working dmp on a ESP32 on spi. I'm preety new to stuff like this. I got stuck on a project where i have three MPU9250 and need the quaternions for them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/373?email_source=notifications&email_token=ABTDLKQODI4RLGIZPK6GCADPWGGMDA5CNFSM4HN47WCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUTB27Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKRXOKASK4MNZTCRJETPWGGMDANCNFSM4HN47WCA .

Lynxu commented 5 years ago

Do you have something that could help me to get the quaternions? Any information is needed right now.

kriswiner commented 5 years ago

This: https://github.com/kriswiner/ESP32/tree/master/MPU9250_MS5637

and this: https://github.com/kriswiner/MPU9250/tree/master/Dual_MPU9250

On Sun, May 19, 2019 at 11:06 AM Lynxu notifications@github.com wrote:

Do you have something that could help me to get the quaternions? Any information is needed right now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/373?email_source=notifications&email_token=ABTDLKWCIJL4MTMMW7TWOM3PWGJKBA5CNFSM4HN47WCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVXHMLY#issuecomment-493778479, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKWKSLOKXGDRMEDG34TPWGJKBANCNFSM4HN47WCA .

Lynxu commented 5 years ago

@kriswiner which of your sketches think would work the best for esp32

kriswiner commented 5 years ago

Maybe this one: https://github.com/kriswiner/ESP32/tree/master/MPU9250_MS5637

On Sat, Jun 8, 2019 at 7:14 AM Lynxu notifications@github.com wrote:

@kriswiner https://github.com/kriswiner which of your sketches think would work the best for esp32

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/373?email_source=notifications&email_token=ABTDLKR3KQKCMYB2JDT5VRTPZO5C3A5CNFSM4HN47WCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHVNAI#issuecomment-500127361, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKV7SDI2FNYLUYI3ITDPZO5C3ANCNFSM4HN47WCA .

Lynxu commented 5 years ago

@kriswiner did you made something that could work on spi too?

kriswiner commented 5 years ago

No, but this should be a straightforward change to the read/writeByte functions.

On Sat, Jun 8, 2019 at 7:43 AM Lynxu notifications@github.com wrote:

@kriswiner https://github.com/kriswiner did you made something that could work on spi too?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/kriswiner/MPU9250/issues/373?email_source=notifications&email_token=ABTDLKQ4SNS4M7SDHJ3H4TTPZPASXA5CNFSM4HN47WCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHV5QY#issuecomment-500129475, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKXXTP3VCT4MHALGMFTPZPASXANCNFSM4HN47WCA .