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
Jonatrev
Posts: 4
Hello,
First of all this is a great software and I would like to thank the developers. :)
I've already tried to connect 7-LED with the max7219- works great.:thumbup:

So how should I connect a simple encoder like this to the Arduino mega?
I mean what resistors should I use to which pins etc.

I was looking for a tutorial on the tutorials section and forum but couldn't find one.

Thanks.
Jonathan
2016-04-26 10:15
Avatar
tunarda
Posts: 8
KY 040 encoder work with arduino.

http://www.ebay.com/sch/i.html?_from=R40&_trksid=p2050601.m570.l1313.TR0.TRC0.H0.Xky+040.TRS0&_nkw=ky+040&_sacat=0
2016-04-27 08:51
Avatar
Jonatrev
Posts: 4
Thank you, but I'm already have the KY040 and using it with mobiflight w no problem. but I want to use the simple encoder also.

I just saw the tutorial for mobiflight on youtube with this cheap encoder, so i was wondering how he wired it to the mega:
https://youtu.be/aswny5xjCPA?t=123


Jonathan
2016-04-28 21:28
Avatar
DocMoebiuz
Moderator
From: NW of KPWK, United States
Posts: 1443
The encoder has three pins
* left
* right
* ground - usually the middle pin, some encoders have it at one side

The left, right pin goes to an I/O pin each and the Ground is connected to an GND pin on your Arduino.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2016-05-08 11:07
icon