MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
gustavo2m
Posts: 14
Good afternoon,
I'm translating this text by google translator, sorry for the errors.

I'm starting a Homecockpit A320 project and I decided to start with the FCU. Specifically by the SPD Encoder however I can not get the current value and update it by rotating the encoder.

The following are the software installed for the test:
Jeehell B50
MobiFlight 7.4
Arduino Mega
P3D V4
FSUIPC 5.121b

The Encoder I use: https://uk.rs-online.com/.../mechanical-rotary.../2651739/

I am connecting the encoder pins as follows:
left pin -> arduino pin 7
right pin -> arduino pin 8
central pin -> GND

I tried to use the offsets: 73C1, 73CC and 73CD and it did not work.

I tried with FSLABS through EVENT ID and I did, but with Jeehell it does not work.

Can someone help me?
2018-03-18 20:52
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

To work with Jeehell Encoder inputs you must use the "Mobiflight Data Pipe Function"
Please choose as Input Type "Jeehell Datapipe" instead of FSUIPC Offset !



JUST FOR INFORMATION

your 3 quoted Offsets are only need if you script this function youreself in a own programm.... the follow is already done by Mobiflight in this "Mobiflight Data Pipe function"

Jeehell Encoder Inputs work through a "Data Pipe"
iconQuote:

Data Pipe. You can set data through this offset. Make sure that you select the type of data you want to send from offset 73CC. This two offsets should be written at the same time.
Data format is the same as used in read offsets, or raw data if not explicitly written in offset 73CC list.



That means.... Mobiflight will READ Offset 73C1 to get the current value of SPD Display.
Then it will calculate the new value like $+1 ( increase spead by 1 )
Then it will write in one run Offset 73CC with value 1 ( to tell Jehell the next input is a SPD Data.....
And it will write Offset 73CD with the new calculated speed value.

Again... All this is be done internal by mobiflight for you !
Good Luck !
2018-03-19 06:12
Avatar
gustavo2m
Posts: 14
Thanks for the feedback, but I already tried datapipe too and it did not work.

I'll make a video to show how I'm doing.
2018-03-19 18:11
Avatar
gustavo2m
Posts: 14
follow my tests, what am I doing wrong?

https://youtu.be/BhydsknBETk
2018-03-20 00:41
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
HI

Thank you for the video and your research work.... But i must say that was verry confusing.... next time please do all the things 2-3 times slower..... It´s hard to follow your actions. I need to view the video multiple times to understand maby 50% what you doing there.
Also please use sound.... Whatever your english is not good.... You need to explane what you do..... then its much more easy to understand for us !
If you not like to talk then write in english your steps as comments in video !

About Problem....

1. You should not write to offset 73C1.... thats a READ Offset.... You "can" write it but that makes no sense as you already find out ( And maby crash Jehell)
2. You can not write the other 2 Offsets 73CC and 73CD by hand.....
As i explane above that make only sense with a logical script and a detailed sequence that must be 100% correct.... Thats not possible with Mobiflight finaly.
3. You not need to write 73CC with a Button like you do with input "spd" ( A Single Input on 73CC without data of 73CD will also kill the sequence)

the only config that looks correct is the last one "datapipe"

Final question.... Why it not work..... Here i not know 100%..... A Reason can be that you read out 73CC and 73CD at all time.... Both Offsets are WRITE Offsets for Datapipe and should NOT be read .... "Maby" this reading will kill the hole Datapipe process.

To solve....

1. Please try your system without reading 73CC and 73CD ! Delete this 2 Output configs.
If this not helps
2. Create a complete new config.... Only with 1 Device "Encoder" and no Output configs.... Only set for this encoder the Datapipe function like you do in the video.
Maby while testing you did so much "trash" that your config have an internal issue already ( i can not see this in video and need to see your mcc code).... So try a new empty one!

Please report if this helps !
Good Luck !
2018-03-20 01:07
Avatar
gustavo2m
Posts: 14
Ok, I'll do the tests, thank you.

Sorry for the video, I did not say anything because I do not speak English. I'm using the google translator. But if there are others, I put legend.
2018-03-20 17:14
Avatar
gustavo2m
Posts: 14
2018-03-21 12:45
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
arrrgh.

That looks good now. I dont know why it not work.

I not use jeehell at all.... So i can´t test it for you .... i hate Airbus :scared: Only fly Boeings :love: !

Another Idea.

Please Confirm you install the FSUIPC PlugIn for Jeheell. Do you ever made other Inputs and do they work ?
(Jeehell only talks to FSUIPC if you enable that)

If Buttons e.g. work fine and problem is only the encoder then please try out other Datapipe Inputs like ALT HDG QNH and so on.
Is the Problem only in SPD ??

((You not need to make a new video... Just awnser the questions)

Finaly we need to find out if there is a problem in the system or a wrong use of youreself !
( If you do all correct then maby the new P3D or the new Jeehell v50 is incompatible with Mobiflight at the moment)

PLEASE: Can another Jeehell User shortly comment this if Problems are reproducable !
Good Luck !
2018-03-21 14:41
icon