Made myself some DIY Dial controls

Very Nice!
Can You provide Your code, You flashed into the Leonardo?

yes, that would be great, thanks! :star_struck:

I did something already with a teensy 3.2 as joystsick with 128 Buttons including encoders and am thinking to do the same again.
The hardest part was to “hack” the normal 32 buttons border of the usb-buttons.
I needed to change 4 files of the teensy library.
The normal c# programming in the arduino ide was easy.
Ordered a nice black housing that looks in the front like this small autopilot device that the Carenado 182T has.
I also ordered a 8-position turn-switch for choosing to change the frequencies of NAV1, NAV2, COM1, …, XPDR. Using 2 more encoders. I hope, in FS there are buttons to assign for this..

Thank you but … link does not work :man_shrugging:t2:

When you’re done it might look a bit more like this…:grin:

I built this for iRacing during lockdown with a Leo Bodner controller board.

Cool thread.. Real dials ROCK.

Gives the game another level of interaction, great for training too.

2 Likes

OK now it works, thank you very much!!
Next days i will test it :wink: :+1:t2:

I’m in the middle of similar project, using Leonardo.
I was considering connectong encoders into matrix instead of I2C though.
I just love the possibility of programing Arduino the way I want, then giving FS input as with simple gamepad.

I have small problem though. Have you noticed some key bindings are missing?

Cheers!

Hey, I have actually abandoned the Leonardo and the HCI gamepad on my second version I am currently building. This version goes back to a normal Uno as I couldn’t get the Leonardo to work properly with i2c. I was 5 encoders connecting to three pins total on the Arduino (clock, data and interrupt) though with polling I can get away with 2. Far better than 15 wires!

I have started creating a .net dashboard app with dials for alt, heading and Vs with speed and trim coming next. This allows me to set the alt heading and speed on the console either clicking + or - or typing the value into the text box. Finally the Arduino us connected via serial to the dashboard and can control the dials which then passed to the sim via aim connect. This so far works well and is responsive and two way (changes in the console reflect in the sim and vice versa.

But I may abandon my second version for a new one completely based on a raspberry pi using a Java app to both connect to the sim via network, and directly to the hardware as the pi has native i2c and gpio.

This sounds promising. Do you have a github repository?
I use an Uno with Air Manager, fully customizable. The Leonardo board never interested me as the cost was more than a more versatile Uno.

Keep us posted on your .net app.

1 Like

I am in a process of changign the object model of the C# code, as i hit a brick wall, and moving to a more “java” style way of doing things, and since i spend more time playing the game than devleoping :slight_smile: its taking time, but i will post here the GitHub Repo when done and the code is cleaned up so its not tooo embaressing!

Nice to see that others are doing the same!
Currently I’m using the arduino for 3 rotary’s, it’s working well.
I also started using a nextion screen to use allmost all push buttons on the G1000 just to see if it will work and not make things slower.

I have to give a shout out to you and everyone working on MobiFlight. I have recently started playing around with it and love it! I have used Arduino’s in many projects and this has to be the easiest of all with ZERO coding. Great job! I’ve already have 4, 7 segment LED displays, 1, 20x4 LCD and a dual rotary encoder up and running and I only downloaded MobiFlight a few days ago.

1 Like

Thanks for this super positive feedback! Made my day!!!

That looks interesting! Where will this screen appear?

It is a stand alone screen which you can connect to an Arduino or, in my case, via an usb to ttl converter direct to the pc.
I write the code in viasual basic which connects to FSUIPC via the FSUIPC.dll, easy enough, lots of documentation and examples.
The main advantage of using a nextion screen is the that you van program as many subscreens as you want, for example i have three screens now, one for the autopilot, speed, flightlevel and heading one for Nav adjustments and one for com.

2 Likes

Hello, are these files available somewhere, I would like to give it a try. I have a Nextion 4.3.
Thanks