fab a écrit:teste l'exe ci-dessus et dis moi si tu vois bouger le QNH, si tu vois quelques chose

Je teste ça ce soir une fois chez moi! ;)
Par ailleurs, j'ai eu quelques infos intéressantes sur Viperpit de la personne qui a réalisé l'alti et la machmètre dont j'ai posté la vidéo plus haut!). Je met sa réponse ici (:
"Mechanically speaking, the knob drives an axis that:
-with a round big gear, makes the numbers roll
-drives a series of gear that, ultimately go on the back side of the altimeter (among Others, it makes a synchro body rotate, so that's the mechanical part of the calibration).
You will need to permanently remove all the "back" body of the altimeter (the big body that rotates when you turn the knob.
You will need to find a way to attach an encoder (i used a quite standard one, makes 24 clicks / revolution).
Then.
The values I read from sh.mem are aauz and altcalreading (sorry,
only bms 4.33 )
First of all I measured how many "clicks" of the encoder are needed to turn the knob by 1 full unit (eg from 1013 to 1014).In my case it is a little Tricky because I needed 3.4 clicks for a full turn...(used a little math to compensate).
So each time the arduino reads "x" clicks, it fires a joystick button press (my arduino is programmed to act as usb hid joystick).
Finally...in order to "align" what's on the screen in regards to the actual altimeter.....
1-I use the elec/pneu switch to turn on/off the encoder reading
2-when I power the instrument up, it is turned off.
3-I then manually set the instrument to read 1013 mb.
4-when I turn it on, (and am in the 3d world) I read the altCalReading (for example, 1050mb), and fire "x" number (1050-1013 = 37 clicks) of the button presses to decrease the falcon qnh to 1013.
5-from now on, they stay aligned (I do also make Runtime checks to see that the value i read in the mechanical instrument is equal to the value reported by falcon, if they arent, I correct them).
You could also do without the altCalReading (bms 4.32). In this case you could, for example, set it mechanically to 1013, then fire up like 130 upclicks (to get falcon to the highest possible value, like 1060 or so), then fire 1060-1013 = 47 down clicks so that they are aligned. "