Epic plane is epic

The project is to create an auto stabilized LoRa controlled plane
Using:Arduino nano, sx1278,(mpu-9250 or mpu6050)

The main issue is to get both (antenna and gyro) interrupts all ok. Because it seems it’s the only way to get gyro working. Antenna works great anyways.

But if both interrupts trigger at the same time?
What happens?

Gyro libs are a mess to get pitchmyaw,roll. Any suggested better gyro? :blush:

Thanks

/a great thread title.

But if both interrupts trigger at the same time?

The one with the lowest vector address gets served first.

...and the next will be served immediately after.

That's one of the reasons to keep ISRs as short as possible!

I do a ton of work on Arduino based RC airplanes and the IMU I use is the BNO055. This is a really cool module that makes determining the plane's orientation via Euler angles super easy. I'd suggest using this one.

In case you're interested, check out the build logs for my two latest Arduino planes:
Plane #1
Plane #2 (in progress)

Here's the software library for the project (feel free to use it):
ArdUAV

And the library API:
ArdUAV_API

Looks GREAT!

i will sendyou a copy of my code (gyro remaining by now)

Power_Broker:
I do a ton of work on Arduino based RC airplanes and the IMU I use is the BNO055. This is a really cool module that makes determining the plane’s orientation via Euler angles super easy. I’d suggest using this one.

In case you’re interested, check out the build logs for my two latest Arduino planes:
Plane #1
Plane #2 (in progress)

Here’s the software library for the project (feel free to use it):
ArdUAV

And the library API:
ArdUAV_API

garfius:
Looks GREAT!

Thanks!