Recently we have seen a lot of codes used to unlock our products being offered for discounted prices. Almost all of them are bought using stolen credit cards. These codes will all be blocked by our systems and you will have to try to get your money back from the seller, we are unable to assist in these matters. Do be very careful when you see a deal that is almost too good to be true, it probably is too good to be true.

Jump to content
myflightdeck

ARDUINO HARDWARE- CONFIGURATION

Recommended Posts

Has anyone out there been successful interfacing the CRJ 700/900 with Arduino?  I am wondering if anyone has a list of FSUIPC offsets that work with the CRJ and or Event ID's associated with the various panel buttons?

For example the 1/2 bank, does it have an event ID or FSUIPC Offset that works to activate the button?  I would be interested in any mapping that has been done.  I am currently mapping the auto-pilot to FSUPIC and Event ID's for Mobiflight Controller but I am stuck on a few buttons.  I am willing to share my config file if anyone is interested.

So far most buttons are working.

Thanks in advance for any help on this.

Share this post


Link to post

Hi,

 

there are no FSUIPC offsets in the CRJ. There are L-Variables for the controls though. The attached list was generated today. Unfortunately I still didn't have the time to create a full SDK, but I attached what I got:

 

L-Vars: LVarList.txt

SDK Doc: ASCRJ_SDK.pdf

Share this post


Link to post

Hans Hartmann, Thank you again for the list of Lvars.  I am making great progress mapping the aircraft to hardware.  I do have a couple of questions.

 

1.  Do you see an error with the ASCRJ_FCP_ALT_LED.  I noticed the LED does not light in the sim nor does it light up my hardware LED.  If you check load the CRJ700 and click on the ALT you will not see the LED turn on.

2. Do you have any L-vars that are associated with the LED's of the warning lights on the glare shield?

 

Thanks again,

 

Share this post


Link to post

I don't see a problemn with that. It's working fine here. The LED in the VC is ON and the L-Var is set to 1.

 

Is it only the  ALT LED or other FCP LEDs too?

Share this post


Link to post

Here is a quick video showing how the LED is not working.  https://www.youtube.com/watch?v=f7HhWGybtC8

 

Also, would you mind sharing any thoughts regarding accessing an Lvar for the warning lights? 

 

Thanks so much!

Share this post


Link to post

The ALT LED not lighting when ALT is pressed is a bug that's on the list of fixes for the next update. I worked on that a few weeks ago.

 

As long as you only read the warning light Lvars and don't try to set them, you're good.

Share this post


Link to post

But I cannot locate the L-vars for the warning lights in the file you sent me.  Do you have an example of the Lvar for the Caution Light?  I guess what I am saying is that I do not see any with the ext. _LED at the end.  Are you suggesting I just read the current VAR for WARN? or is there a specific var for the LED similar to how you setup the auto-pilot.

Share this post


Link to post

ASCRJ_FCP_AP_ENG_LED
ASCRJ_FCP_XFR_LED
ASCRJ_FCP_TURB_LED

ASCRJ_FCP_SPEED_LED
ASCRJ_FCP_APPR_LED
ASCRJ_FCP_BC_LED
ASCRJ_FCP_HDG_LED
ASCRJ_FCP_NAV_LED

ASCRJ_FCP_12BANK_LED
ASCRJ_FCP_ALT_LED
ASCRJ_FCP_VS_LED

 

I honestly have no idea why they're not in the list.

 

Share this post


Link to post

Thank you for being so responsive.  The items above are all dedicated to the AP and do not include the _led for the warn.  Any idea what vars are used for the warning lights?

Share this post


Link to post

It seems that the declaration lines for the LEDs are missing from modeldef.xml. That doesn't have any consequence on building the model but apparently it's enough to not make them show up in the Lvar list. To fix that we would have to re-export the model files. The bad news: they're currently being worked on and they're in no state for an export. So it's going to take a while until this can be fixed.

 

Example:  <Animation name="Ambient" guid="A6F1C5D0-BEF6-449e-BAF8-FB777F27808F" type="Standard" typeParam="AutoPlay,Random" />

 

Share this post


Link to post

would this be true for any other LEDs in the aircraft that are not on the var list? 

I am wondering if you might recommend any type of work around?  I was hoping I could create a LUA script that ran on startup and assigned the value to an FCUIPC offset then use that offset with mobiflight to fire off the led when it read the offset value of 1.   I am able to do this without issue when I use your _LED vars but can't seem to get it to work with general vars that are not specific to the LED.   If there is any work around, please share. 

Han's I love the work you guys have done on this CRJ.   I can't wait to light it up in a full cockpit simulator and so far you suggestions are spot on and I am very close if we can figure out these led's.

 

Thanks

Aaron

 

Share this post


Link to post
vor 17 Minuten, myflightdeck sagte:

would this be true for any other LEDs in the aircraft that are not on the var list? 

No, I just forgot those for the FCP. All others should be defined.

Share this post


Link to post

Can someone tell me how I can set up to keyboard commands for inc and dec a knob using L:vars?

 

Share this post


Link to post
On 11/25/2018 at 9:57 AM, Hans Hartmann said:

No, I just forgot those for the FCP. All others should be defined.

Hi Hans,
Would you be willing to add the LED's to the Lvars if I shot you over $50-$100.  I understand it take time to add these and I don't expect you to do it for free.  I need the LED lvars for the warning lights and the APU/Engine 1 & 2.  and any other LED's that might need to be added.  If you can do this, please shoot me a private message and we can arrange a payment.  This is very important to me as I am mapping out a full cockpit sim.  It is worth the investment to me to assist with adding the Lvars that use LED's.  20140603_212014_lls.jpg

Share this post


Link to post

I already added them but you need to wait for the next model export. Stefan, our modeller, is currently on vacation until mid-January.

Share this post


Link to post

I am not real familiar with the how to get the updated model export,  How would I get my hands on that?  Did you include the LED for the APU?

 

Share this post


Link to post
On 12/17/2018 at 9:38 AM, Hans Hartmann said:

I already added them but you need to wait for the next model export. Stefan, our modeller, is currently on vacation until mid-January.

 

I am wondering if you can provide me the latest LVARS (from the most recent updated model export) with the warning lights, APU etc.  that you added to.  Also when will the updated model be ready?  Looking forward to your response.

Share this post


Link to post

Hi, any updates to the LVARs document? Would be great to show off our CRJ cockpits with all the christmas lights working :)

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...