Hi Everyone, I am finally ready to share my next community device, a standby attitude module inspired by the MD302 and Garmin G5. The custom firmware runs on ESP32 S3 for better performance. Please find the build guide here: https://github.com/savesabanal01/Mobiflight-StandbyAttitudeModule-ESP32-S3/tree/StandbyAttitudeModule-release/Instruction Manual.
Here is a video of it working with X Plane:
#Standby Attitude Module (inspired by the MD302 and Garmin G5)
1 messages · Page 1 of 1 (latest)
@lilac jackal Many thanks for your tutorial. Good job. That will help me
@lilac jackal Could you please tell me what the range of values for pitch and roll is coming from the sim?
@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.
So the sim sends +/- 180 degrees, not scaled to another range. Thanks
@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 😉
@gritty storm Yes, that is uncommented in the xxx_platformio.ini file.
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🤣
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.
Yes, you can. It just takes the data from the simulator and renders it on the display so you can use it with any plane.
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.
Mach speeds can be 2 or 3 digits like ".715". So it will fit and Mobiflight can sense Mach speeds.
Ok then it can be displayed but the units will still say “KNOTS” because that is hardcoded in the graphics. 😀
Which file contains "KNOTS"? I did a search and could not find it - with C++ code it will be easy to switch to MACH.
It is hard-coded in the background graphics itself (not in the C++ code, so you can't see it). I can make a version that says "MACH" later when I return from vacation, but for the moment, please play around with the current version.