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
JohnB155
Posts: 12
Hello,
FSUIPC input 0BC0 is elevator input. -16383 to +16383
what is the equivalent in XPUIPC?
I am trying to connect an encoder to it thru Arduino digital pins. Am I doing this right? I am trying to get this encoder to function as a joystick.

Thanks

JB
2020-11-28 23:31
Avatar
StephanHo
Moderator
From: EDDG, Germany
Posts: 1867
Supporter
Hi John,

how is your config to this offset?
Grüße,
Stephan (Time: UTC+2)
2020-11-29 13:05
Avatar
JohnB155
Posts: 12
I specify the left pin and the right pin to MF. Now I was looking for an axis parameter in the pull down menu, but I can find a aileron trim parameter 0BC0 but no axis. I wanted to put 90 deg left rotation of the encoder shaft to -16383 and 90 deg right rotation of the encoder shaft to +16383.

Just to explain further.....The driving wheels in the race car simulation have beautiful force feedback. They use an encoder connected to a DC motor that provides an instant reverse magetic torque when the wheel is turned manually by the driver. The torques is directly proportional to the angle of turn, and does not have any dead zone. It can also be adjusted up or down for tight and loose wheels. This is far superior to our usual spring loaded yokes. I want to build something like this for flight sim. I have an arduino+ arduino motor controller, and I send my encoder signal to the arduino motor controller and it controls the motor fine. Now I want to send the same encoder signal into MF and then MSFS or XPlane. That is where I am stuck. I am not sure if

a) I can feed the same encoder signal in parallel to the motor controller and MF. Perhaps it is too weak for both jobs. Then I need to duplicate the encoder signal thru the Arduino or boost ti somehow?
2020-11-29 16:48
icon