#Standby Attitude Module (inspired by the MD302 and Garmin G5)

1 messages · Page 1 of 1 (latest)

lilac jackal
#

Thank you to @gritty storm for making the firmware work for ESP32 S3!

zealous dragon
#

@lilac jackal Many thanks for your tutorial. Good job. That will help me

gritty storm
#

@lilac jackal Could you please tell me what the range of values for pitch and roll is coming from the sim?

lilac jackal
#

@gritty storm from the sim, it does not really matter how much the value because the attitude indicator is designed to roll indefinitely and pitch indefintely as well. But I 've tested it with a pitch of around +-45 and roll of +-45 degrees from the sim.

gritty storm
#

So the sim sends +/- 180 degrees, not scaled to another range. Thanks

gritty storm
#

@lilac jackal I had a rough look into your code. Is this intended:
-DMF_CUSTOMDEVICE_POLL_MS=10 ; time in ms between updating custom device This will update your custom device every 10ms, not faster. I think for this device it doesn't matter as the TFT update takes longer. But maybe for other devices 😉

lilac jackal
#

I’ll see how it performs if I take it out. Remember, I’m a very amateur programmer so my code is not efficient, LOL🤣

balmy cloak
#

Could I use this with G1000 planes and Boeing/Airbus airliners? I'd use it as the main instrument, like the centre of a PFD or G1000.

Why? because I don't like zooming in with a mouse to see the PFD, lose spatial awareness, then zoom out to fly again.

lilac jackal
balmy cloak
#

Thanks, would I have to modify anything for 38000ft or Mach speeds?

lilac jackal
# balmy cloak Thanks, would I have to modify anything for 38000ft or Mach speeds?

The speed is only in Knots, so it will just display the speed in Knots equivalent of Mach speed I suppose. I am not sure if there is a different dataref in X plane or variable in MSFS for Mach speeds. I just currently get the airspeed in knots. For altitude, there is enough space to display 5 digits so 38000 ft should be displayed just fine. I hope that makes sense.

#

And the airspeed has only space to display 3 digits so upwards of 1000 knots might not be displayed correctly.

balmy cloak
#

Mach speeds can be 2 or 3 digits like ".715". So it will fit and Mobiflight can sense Mach speeds.

lilac jackal
balmy cloak
#

Which file contains "KNOTS"? I did a search and could not find it - with C++ code it will be easy to switch to MACH.

lilac jackal