Viperpit(s).org

Simulation Software => Falcon BMS => Topic started by: henkie on May 06, 2023, 04:27:08 PM

Title: shared memory variables for some instruments
Post by: henkie on May 06, 2023, 04:27:08 PM
Maybe I overlooked, after reading so many times I am probably "blind"  :brickwall:
What are the variables to control

- compass indication
- liquid oxygen indication
- cabin pressure indication

all on the right AUX panel

???
Thanks!
Title: Re: shared memory variables for some instruments
Post by: lightning on May 06, 2023, 11:52:01 PM
Compass=yaw
Cabin pressure=cabinAlt
LOX: not in sharedmem
Title: Re: shared memory variables for some instruments
Post by: Snoopy on May 07, 2023, 01:53:21 AM
LOX: not in sharedmem
That would explain why Liquid Oxygen is not included in F4to Serial. Shame though.

I am using F4toSerial for the DED, most of the gauges and LEDs. I only need to read Total Fuel and Compass with an Arduino to power these last two instruments on my Right Aux. In F4toSerial you can only use separate 7-digit blocks for the total fuel display on the Total Fuel Quantity Indicator. I have a very small OLED display. And for the wet compass, I made my own solution based on a hint from an A-10 cockpit. Both options work very nice, if only I could somehow get these two values into an Arduino. But the thought of C-programming and Visual Studio... Even looking at GitHub and forks and those things makes my mind start to slowly melt.  :-\ :sleepyeyed: :-[
Title: Re: shared memory variables for some instruments
Post by: henkie on May 07, 2023, 01:19:54 PM
@lightning : Thanks!
Cabin Pressure ...  :DOH:
Compass ... yaw ... I had not made that connection  :whistle:
LOX ...  ::)  An just for thát indicator I did a lot of work. Build a separate 115VAC 400 Hz power supply (input 24VDC), and a small stepper motor controller, mounted underneath the right side console. I did manage to get the real LOX indicator working, so I guess, I put the needle at some 4.2 at startup, and leave it there.

Adding a lot to the SharedMemoryTester and my "app", it's about time to see how my pit reacts  :whistle:  :bounce2:

@Snoopy : I also started with zero knowledge of "Windows Programming",  C# and Visual Studio. It is simply learning by doing. However, I am still an amateur. Sometimes, to get things done, I save my work, close Visual Studio, and then start Visual Studio again. I certainly am still not comfortable navigating through all the panes, there are of course more clever ways than close/start again, but it gets the job done  :D

Having done everything "my own way" makes that I have to do the last bits also "my own way"  :reading:
SimplePortal 2.3.5 © 2008-2012, SimplePortal