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
bar_rodoy
Posts: 27
Hey. I have KY-040 Rotary Encoder it has 5 pins. GND, + , SW, DT and CLK. I really dont know where to connect the SW, DT and CLK pins. I have option for only two legs in the settings...

Another question is I have two input option for every leg. ("On Left", "On Left (Fast), On Right, On Right (Fast)). What is the "Fast" mode?
2015-03-09 22:36
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Hi ,

take a look at
https://bigdanzblog.wordpress.com/2014/08/16/using-a-ky040-rotary-encoder-with-arduino/

Use A and B for the Rotary Config and the other pin as additional push button
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-03-10 06:23
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
iconDocMoebiuz:

Hi ,

take a look at
https://bigdanzblog.wordpress.com/2014/08/16/using-a-ky040-rotary-encoder-with-arduino/

Use A and B for the Rotary Config and the other pin as additional push button



FastMode means that you can assign a different function or value which is applied when you rotate faster.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-03-10 07:12
Avatar
bar_rodoy
Posts: 27
Thanks! Its works great! Another question, any chance to make MobiFlight compatible with HD44780 LCD display?
2015-03-10 13:17
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Next step is steppers and servos. Currently I have not yet planned to support LCDs because I have not a clear vision of how to put the configuration into the MobiFlight Connector.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2015-03-11 18:41
Avatar
masawee
Posts: 64
maybe better use arduino i2c LCD than old system HD44780 paraller LCD.
Thats only my suggestion only.
2016-09-19 00:44
Avatar
Japmaco
Posts: 48
What "value" would u type into fastmode to get the encoder Count faster on a com radio for example? For example if i like to Count with twice the speed when turning knob faster..
2016-09-19 01:35
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
Examples:
Normal mode: $+1
Fast mode: $+2
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-09-24 01:35
Avatar
masawee
Posts: 64
Not need use ky board because come cheapen use only encoder whit mobiflight, same but not have pcb board.
i use and working fine connect channel A to about pin arduino what use and channel B second pin arduino and center to GND ready.
i use cheap ebay encoders. many other flight sim system too (not only mobiflight) link2fs,leo bodnar card,etc, working fine all,
http://www.ebay.com/itm/1-10-pcs-12mm-Rotary-Encoder-Push-Button-Switch-Keyswitch-Electronic-Durable-SY-/361332898853?var=&hash=item54211e7c25:m:mYZcBPU2-ArcB_SlXGSBJsg
2016-09-27 12:02
Avatar
tony-m
Posts: 1
hola! sebasitian ....tengo problema con el encoder +push button no funciona correctamente cuando giro hacia la izq me aumenta en vez de disminiur su valor.
hice las pruebas de modificar los valores pre establecidos de MFC pero no funciona.
agradeceria toda la ayuda posible gracias
2017-02-06 20:39
Avatar
pizman82
From: ETSI, Germany
Posts: 6010
Supporter
Hola.

Pls. try to request in english if posible.
Google translator for spanish is verry poor i think.

If i translate right youre encoder is inverted ? means it increase when you turn left ??
Change the value in config or just change the wire from pin A and B. So it should increase while right turn.

If this was not youre question please write again..... in english if posible. ( Or talk to a spanish member here)
Good Luck !
2017-02-15 11:28
Avatar
corco19@hotmail.com
Posts: 25
Ok tony-m, as Pizman said, looks like your wiring is connected inverted in Arduino.

Check you have set On left config with $-1, and On Right config with $+1, if this is all right, invert your wiring and try again.

******************************************************************************************************************************

Ok tony-m, como ha dicho Pizman, parece que tus cables están conectados a Arduino de forma invertida.

Comprueb si tienes configurado en On left $-1 y en On Right $+1. Si esto está bien, intercambia los cables y prueba otra vez.


Best regards!
2017-02-15 13:48
icon