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
dogeroski
From: Barcelona, Spain
Posts: 6
Hi,

Would it be possible to implement different types of rotary encoders apart from the full cycle encoders?
For example in my project I would like to use an small rotary encoder that is normally used in the mouse scroll wheels. Those encoders are quadrature and the only library working with it is the Quadrature library (http://www.neufeld.newton.ks.us/electronics/?page_id=249).

It would be great to be able to choose the type of encoder when adding encoder device.

I suppose it shouldn't be very difficult. I'm a developer myself but it would probably take me ages to implement it on my own. I don't have experience with C# apps and would have to dig into project first.

Cheers,
Bartek
2018-03-13 15:19
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I´m not prefessional in electronics ( thats Stephans world) .... But Mobiflight still work with quadrature System i think .

Do you just mean you like to switch between 1:1 or 1:2 or 1:4 encoder Types ???
That will come in next release.....

If you have other intentions please explane me more detailed what you mean or wait for a reply by stephan !
Good Luck !
2018-03-13 15:47
Avatar
dogeroski
From: Barcelona, Spain
Posts: 6
Yes, that's what I meant. I think, I'm not great in electronics either! :)

Great to hear it's coming! Do you have any timeframe for the next release?
2018-03-13 16:16
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi,

I have tested the beta version. We can assume that the encoder features come with the next version.

It will be that the 2:1 and 4:1 encoders will behave like a 1:1 encoder. The encoder type must be defined during device input. A later change is possible at any time, as we are used to from MobiFlight.

If you are not sure what kind of encoder you have, you should set up a test setup on the bredboard. For each encoder output a resistor with LED. Connect Vcc and GND and turn the encoder. Based on the state of the LEDs and the rotated Detents you can quickly see which encoder type you have. This type is then set in MF and has from then on a 1: 1 encoder.

I can not say when this version of MobiFlight will come out. For this Sebastian would have to say something.
Grüße,
Stephan (Time: UTC+2)
2018-03-13 19:56
Avatar
dogeroski
From: Barcelona, Spain
Posts: 6
Great, I will pull the latest sources from the repo and give it a try!
2018-03-14 16:09
icon