#Opencockpits PNP Module

1 messages · Page 1 of 1 (latest)

dreamy delta
#

Hey Guys i have buyed a very Cheap Plug and Play RMP from Ebay. now i want to use it in MSFS. is it possible to use it, when yes how ?

astral sierra
#

What microcontroller does it use? Does Mobiflight recognize this unit as a compatible board?

teal hollow
#

You need to open it up, I don't think it is Arduino, as opencockpit has their own IOCards stuff that are based on PIC microcontrollers. But the plug and play usb units are standalone, so I have no idea. Open it up and share pics on #1148707070128955402 and we can have a brainstorming session again.

dreamy delta
#

Ive tried it to use it with SIOC it works but it becames no variables from FSUIPC ... i dont know why XD.

teal hollow
#

try with the default vars first?

#

sioc is pretty much like pulling your fingernails, but it works, they should have a sioc script in the downloads section?

#

if I remember correctly SIOC was all fsuipc offsets

#

so I guess it should work with fenixquartz too

dreamy delta
#

Iam an Absolut Newbie on Sioc thats my first panel with that

dreamy delta
#

Ok now for the first it Works .. ican change the freq and Sioc Transmit it to MSFS ( Fenix) so i can fly online 🙂

teal hollow
#

yeah sioc works but the numbered variables were killing my brain

#

I think you can nowadays have named variables already? I remember it was so bad back in the day I wrote a Perl script (yes, that long ago) that let me write the sioc code with $StandbyFrequency etc and it would go through and replace the variable names with numbers

teal hollow
#

the idea of sioc is kinda not so different from mobiflight - its similarly tied to input and fsuipc output events

#

its just the syntax and numbered variables and some spanish spelling in the language definitions that took some getting used to

dreamy delta
#

var 2, name enc_com1
{
if &enc_com1 = 1
{
&io_pt_com1 = 1
&io_pt2_com1 = 1
call &sub_d_com1
&id2_com1 = &act_com1
&o_vhf1 = 1
// Lese die COM1 Active-Frequenz aus dem FSUIPC-Offset
&com1_active = get &fcom1A
&com1_active = &com1_active * 1000 + get &fcom1B
// Lese die COM1 Standby-Frequenz aus dem FSUIPC-Offset
&com1_standby = get &fcom1SA
&com1_standby = &com1_standby * 1000 + get &fcom1SB
}
else
{
&io_pt_com1 = 0
&io_pt2_com1 = 0
&id_com1 = -999999
&id2_com1 = -999999
&o_vhf1 = 0
// Setze die gelesenen Frequenzen auf den Standardwert, wenn der Encoder nicht aktiv ist
&com1_active = 118000
&com1_standby = 118000
}
}

teal hollow
#

yeah all those &com1_active needed to be v1 and v2 etc so you had to have some namespaces like all radio stuff was v200 - v300 etc

#

so they didnt conflict

#

its way less insane with actual variable names

dreamy delta
#

I use this config for it it works,but the on issue i have is that he didnt read out the Frequencys Com1 Active Stby and Com2 Active STBY.. it shows on startup on both 118.000 and 118.000 ... not the sim frequenzy. When i Rotate the encoder i can setup a fre and set it to active the value goes into sim.. but i have no readout

teal hollow
#

what plane is it? maybe it doesnt share those via fsuipc?

dreamy delta
#

Standard Cessna 178

teal hollow
#

I am marking this as "solved" as it is not really a mobiflight question, but we can keep sharing thoughts here nevertheless

#

but to just let folks know it is not an unanswered support question anymore

#

did you open it up btw? how is the inside, would it be easy to swap into an arduino or such?