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! 

icon
Avatar
buddym
Posts: 18
Is it possible to have an encoder split across 2 Arduino modules? For instance, have the "-" encoder pin connected to pin #13 of Arduino A and the "+" encoder pin connected to pin #44 of Arduino B?

Thanks,
Buddy
2019-04-07 22:32
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 2950
Supporter
In short words.... NO. A Encoder is internal ONE Device and need a A and a B Line to emulate the "GreyCode" of the Encoder.
Both Lines MUST be on same Arduino MEGA cause the calculation of the code is done one he Ardunino.... Not on Mobiflight . So device MUST be on one board.

If you realy get in trouble here simply transfer a 1 pin device ( Button, Led and so on) to a other Arduino Mega...... If you still need 2 Boards its recommend to split the devices regulary over the 2 baords.... So your for example 53 Pins in use are split maby 26/27 over two megas..... Instead a 52/1 Setup !
Good Luck !
2019-04-08 00:42
icon