TrimWheel hardware controller

https://github.com/ajfdez/TrimWheel

This is a code for a hardware trim wheel controller for Microsoft Flight Simulator 2020 using SPAD.neXt and an Arduino UNO or Leonardo like board.

Even the most el cheapo encoder found on Amazon will perform much more better than those used in the Saitek/Logitech hardware controllers.
Look for “rotary encoder” on Amazon or your electronics parts supplier to find yours.
This code uses hardware interrupts for not loosing a single rotary step, Allowing for better simulation inmersion and accuracy with a tactile feedback control.

The trim wheel is a simple rotary encoder used to control the trim wheel in the simulator.

Please, check it out.

5 Likes

Thanks for posting this information… :grinning:

1 Like

My pleasure.
Please enjoy it.

1 Like

Is there any reason this cannot be done with Mobiflight?

It probably uses interrupts.

An alternative way of getting an affordable trim wheel.

Works like a charm.

I did not use Mobiflight ever, but most probably it can be done.

My solution uses SimConnect commands, and it is interrupt driven.

Well, with a typical volume knob, the begining and end of the resistance track is phisically definied, and you can not go beyond the start and end of the potentiometer. And the position value is based on the resistance reading of the pot.
Unless the volume controller is also based on encoders.

With an encoder, the rotary action is endless, and you can go well beyond 1 circle.
More over, is not resistor based. Instead, we count pulses, and therefore the positional precission is not affected by voltage changes.