collapse

* Who's Online

  • Dot Guests: 9
  • Dot Hidden: 0
  • Dot Users: 2
  • Dot Users Online:

* Recent Topics/Posts

Hello from Canada by ChrispyBiscuit99
[April 30, 2024, 06:49:56 AM]

Author Topic: shared memory variables for some instruments  (Read 953 times)

Offline henkie

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: Oct 2009
  • Location: Helmond
  • Posts: 4523
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 3000+ posts Award: Awarded for achieving over 3000 posts Most Time Online Award: Awarded to those 30 members with most time on the forum Gold Cup Award: Awarded to someone for a special achievement Gold Medal Award: Awarded for special contributions to the community Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Top Poster Award: for those 30 members with most posts Electronics Guru Award: Awarded to those with special electronics skills
    • Henk's Viperpit developments
    • Buy me a soda
    • Awards
shared memory variables for some instruments
« 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!

Offline lightning

  • -=VP Donor=-
  • General
  • *
  • Join Date: Mar 2007
  • Location:
  • Posts: 2269
  • Country: 00
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum 2000+ posts Award: Awarded for achieving over 2000 posts
    • Lightning's Tools GitHub repository
    • Awards
Re: shared memory variables for some instruments
« Reply #1 on: May 06, 2023, 11:52:01 PM »
Compass=yaw
Cabin pressure=cabinAlt
LOX: not in sharedmem

Offline Snoopy

  • General
  • ******
  • Join Date: Jun 2019
  • Location:
  • Posts: 570
  • Country: nl
  • Flying Snoopy Airways
  • VP Awards Triplet Award: Awarded after 3 years of community service
    • Awards
Re: shared memory variables for some instruments
« Reply #2 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: :-[

Offline henkie

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: Oct 2009
  • Location: Helmond
  • Posts: 4523
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 3000+ posts Award: Awarded for achieving over 3000 posts Most Time Online Award: Awarded to those 30 members with most time on the forum Gold Cup Award: Awarded to someone for a special achievement Gold Medal Award: Awarded for special contributions to the community Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Top Poster Award: for those 30 members with most posts Electronics Guru Award: Awarded to those with special electronics skills
    • Henk's Viperpit developments
    • Buy me a soda
    • Awards
Re: shared memory variables for some instruments
« Reply #3 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