collapse

* Who's Online

  • Dot Guests: 67
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Recent Topics/Posts

Last BMS version and the CANOPY SPIDER by Atlas
[Today at 11:35:54 AM]


Customizing Default Point of View in BMS by Sneakpeek
[April 17, 2024, 11:53:20 PM]


DCStoF4 (Standalone version) by Jakkuh-15
[April 17, 2024, 09:36:07 AM]


Hello from the UK! by ChrispyBiscuit99
[April 09, 2024, 01:19:26 PM]


Hi! From Turkiye by Foghorn
[April 09, 2024, 12:24:23 PM]


Hello from Greece by Foghorn
[April 09, 2024, 12:24:06 PM]

Author Topic: Shared memory bms  (Read 2226 times)

Offline Gayet

  • Col.
  • *****
  • Join Date: Jun 2016
  • Location: Boxmeer
  • Posts: 127
  • Country: nl
  • Charlie
  • VP Awards Veteran Award: Awarded after 5 years of community service
    • Viper Charlie F-16 Flightsimulator
    • Awards
Shared memory bms
« on: January 10, 2017, 04:31:36 PM »
How can i read data from shared memory.
Or how can i get a digital input from shared memory to an arduino ?


Offline Taipan

  • General
  • ******
  • Join Date: Jul 2009
  • Location: Melbourne
  • Posts: 1963
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 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 1000+ posts Award: Awarded for achieving over 1000 posts
    • Awards
Re: Shared memory bms
« Reply #1 on: January 11, 2017, 06:51:42 AM »
Gayet
Not sure if you saw my post in the other thread on this very topic - http://www.viperpits.org/smf/index.php/topic,3399.msg157236/topicseen.html#new

This also depends on whether or not you can cut code, but Lightnings tools are the best place to start as the shared mem file is mapped perfectly.. Keep an eye out for replies there.. There are also lots of code snippets out there for arduino in other forums..

If you cant cut code then yell out - there is another ( messy ) option..
T
T


How can i read data from shared memory.
Or how can i get a digital input from shared memory to an arduino ?
"If the heat don't get you........"

gavilan

  • Guest
Re: Shared memory bms
« Reply #2 on: December 06, 2018, 12:59:37 PM »
Hello

I am starting with arduino, and I have made a panel for DCS (DCS has a very well made API for Arduino, so It's a very good start point for a rookie like me).

Do you know if someone worked on a entire API for BMS-Arudino? I have been searching for it, but I have found pieces only.

Salute
Gavilan

Offline uri_ba

  • Brig.General
  • *****
  • Join Date: Jul 2013
  • Location:
  • Posts: 246
  • Country: il
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Software Guru Award: Awarded to those with special software skills
    • My Pit blog
    • Awards
Re: Shared memory bms
« Reply #3 on: December 07, 2018, 02:44:14 PM »
Search a little bit in the forum for "deduino"

I've haven't done anything on it for the last couple of years, but the code for both the PC side and the Arduino side is available.

You can play around with it to get the hang of it, and adupt for whatever DCS compatible hardware you already have.

Offline Keule

  • Col.
  • *****
  • Join Date: Nov 2016
  • Location:
  • Posts: 101
  • Country: de
  • Brand new newbie!
  • VP Awards Veteran Award: Awarded after 5 years of community service
    • Awards
Re: Shared memory bms
« Reply #4 on: May 05, 2023, 01:19:05 AM »
An old thread but fits to my question (I guess…)

I‘m searching for the right bit for my BIT Test switch to activate (and hold) the solenoid. Actually I allocated the RUN bit from the appropriate LED, but I guess that’s not the right solution.

Offline viper26

  • Maj. General
  • *****
  • Join Date: Aug 2007
  • Location: Arizona
  • Posts: 378
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service Outstanding Build Award: Awarded for an outstanding pit build
    • Awards
Re: Shared memory bms
« Reply #5 on: May 06, 2023, 11:46:55 PM »
Not sure what you are looking for but I use DCS-Bios Fork for all my Arduino cards.  I use DCStoF4 application to run some items on my pit from BMS to DCS i.e. DED / Fuel Flow....I've been to lazy to code those for DCS...  :biggrin:  Not sure if this helps. 

Offline Keule

  • Col.
  • *****
  • Join Date: Nov 2016
  • Location:
  • Posts: 101
  • Country: de
  • Brand new newbie!
  • VP Awards Veteran Award: Awarded after 5 years of community service
    • Awards
Re: Shared memory bms
« Reply #6 on: May 07, 2023, 03:05:00 AM »
I‘m using Martins LAN Boards with DEDCapture.
Where you have to point out the right variable from the Shared Memory.

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal