Hello
Firstly, a huge thank you to Sebastian for Mobiflight, it's amazing and almost eveything I've done with it works flawlessly so far!
However, I'm having a problem configuring my stepper to simulate the APU temp gauge on the NGX's overhead.
I've used StephanHo's excellent tutorial to set up the flap indicator using the same hardware, and that works perfectly (many thanks to him for that thread!). I've also used mobiflight to configure a number of LEDs, switches and rotary encoders which all work fine aswell.
I've have had some luck with the APU gauge, but it's not working consistently. I'm using the same 28BYJ-48 stepper motor with ULN2003 driver that I used for the flap indicator. Here are some screenshots of the mobiflight configuration and the gauge that I have made. There are no comparison, interpolation or precondition settings selected.
I'm still not clear on exactly what values need to be in the "sim/stepper boxes". The "sim" is set to 1000 because that was the default value, and after some trial and error, a "stepper" value of -1750 gives me the right amount of movement. Basically, it does work, but there are a couple of issues:
1) The needle on the gauge (attached to the stepper motor) follows the needle on the simulation when the APU is switched on - clockwise to 7 and then anticlockwise to 4. However, when the APU is switched off and the needle moves back, it moves past the point on the gauge where it started and ends up resting in the wrong place. If the APU is switched on and off again, the same thing happens and the needle stops even more out of position.
2) The manual calibration will not work. Clicking on the "move" button just makes the motor move around erratically and it's impossible to get the needle back into the correct position.
Please can somebody help me to fix these problems? It's very frustrating, especially when eveything else is working so well! I'd appreciate some guidance regarding what values and options need to be selected and why the manual calibration is working for the flaps gauge but not for this.
Many thanks!