My name is Sylvain and I'm French. I have been intrigued and fascinated by airplanes for a long time, especially by the big Airbus planes ✈️
That's why I've been using x-plane for 2 years now and I'm particularly interested in interfacing x-plane with external physical elements, without going so far as to build a complete cockpit...
In this context I was confronted with the reproduction of the rotary switches, in particular of the cockpit of the A320.
There are many "commercial" switches but I wanted to respect the number of positions and the angle between each position.
Some switches have a large number of positions and therefore a reduced angle between two positions, others like the WIPER speed selector have a high angle between two positions (because only 3 positions).
After various ideas and prototypes, I arrived at the solution that you can visualize in images here.
The idea is to use a potentiometer and to simulate the positions through magnets. The position of the notch is "felt" by the attraction force of the fixed magnet and the magnets on the wheel.
The system is quite functional.
In absolute terms, it is possible to create atypical angles between positions such as:
1st position: 0°
2nd position: 20°
3rd position: 40°
4th position: 80°
In addition to being able to determine precise angles, the wiring is reduced. On the model in the picture, the "rotaray switch" has 6 positions but only a wire connected to an analog input can detect the 6 positions.
Perhaps this idea can give others ideas some