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
monkeysuncle
From: Lake Peekskill, NY, United States
Posts: 22
Hi, I have an 8 position 2 channel enocder that I want to use for my transponder. I chose the 8 position encoder so I would get a full rotation (0-7). This is the item I have:

http://www.mouser.com/ProductDetail/Grayhill/25LB45-Q

When I wire it up and program it with Event ID, I only get a change in the number every four clicks in either direction. Am I doing something wrong?, or do I have the wrong item to do what I want it to do?
thanks, Dave
2017-10-08 20:08
Avatar
StephanHo
From: EDDG, Germany
Posts: 1867
Supporter
Hi Dave,

that is normal. Look into your linked Data sheet, first page, right side "Quadrature 2-Bit Code 1/4 Cycle per Detent".
1/4 cycle per detent means one event all 4 detents. The last note at the bottom is your key: "Code repeats every 4 positions".
Grüße,
Stephan (Time: UTC+2)
2017-10-08 21:48
Avatar
monkeysuncle
From: Lake Peekskill, NY, United States
Posts: 22
Ugh. I missed that. Thanks Stephan.
2017-10-08 23:18
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
HI. We talk about this some time ago that there is a little problem in a Full realistic Transponder building.

In FSUIPC there is a missing part to SET a single position of the 4 Transponder numbers.... You can Increase and Decrease it... But you can not SET it with a Event.
Additional there is no way to Write a halfbyte directly with mobiflight.... So it is not possible here too ( Only with own scripting maby or in a future version i just plan at the moment.)

Result... We have to work with the Increase/Decrease Logic finaly.... Whatever with a Encoder or 2 Buttons for +/- .

With encoders it is not possible to have a Realistic switch position corespondening to the shown number in Display.... SO it is normaly not need to use a 8 Detent Rotary here.
This would only be needed for a "rotary switch" ... here with 8 Positions (45 degrees) we could directly SET a Number for every postition. BUT AGAIN.... This is alredy not possible with curent technics in the software (Mobi and/or FSUIPC).
So if the Encoder is not used for fixed position/Number logic it is not needed that it have exact 8 detents !


I Would recommend.... Simply use a standard encoder with whatever number of detents.... Thats the easy solution.
Good Luck !
2017-10-09 07:44
icon