#Real instrument to mobiflight
1 messages · Page 1 of 1 (latest)
Coooooooooooooooooooooooooooooooooooool
man I gotta do something with steppers sometime
This one is really easy! More easy is a speed indicator, only one needle, direct drive it from the stepper.
I plan to do it too and I also hope to find a cheap real artificial horizon. That’ll give me the 3 standby instruments I need
(Ho and QNH setting is working easily as it is entirely mechanical!)
I'm interfacing to real instruments. For less than 360 degrees I'm using servos instead of stepper motors.
Which aircraft are you simulating?
I don’t like servos because of noise (this is my memory from RC cars but I didn’t try in MF)
I’m in the journey of building a King Air 350, I’m simulating an analog one retrofitted with Garmin G1000 avionic and 3 analog standby gauges
I'm doing a completely analog Piper Seneca II
I’m not familiar with this plane, based on my quick Googling I understand it’s a contender to the Baron?
It looks really nice anyway! Lot of work to build the analog version.
Reminded me of this
Next challenge accepted!
So I’ll try to pave the way then!
For anyone interested here is what it looks like inside :
I will try with servos this time instead of steppers
Pitch looks easy, roll will need more tinkering. AT least as my king air is not a fighter jet I will not need endless rotation! I think 90 to 180 degrees each side will be more than enough.
Some of my engine instruments use a spring to hold the needle in one position. I've then used nylon thread to attach the other end to the arm of a servo.
Could you use a spring to pull it down and then the servo to pull it up. Then a spring to pull it hard left and the servo to pull it right?
When the servo arm is midway, the instrument position is half way.
This idea is easy with needles I think, not much with this kind of instrument requiring more movement.
Here is my first take:
It is working but I’m not satisfied by the noise the servos make and the choppiness of the movements. It’s not smooth at all.
Especially on roll because of the gear drive
I may give it another try with some kind of belt on roll.
If not better I may finally go for steppers. At least in this it will be easy to put a zeroing contact somewhere.
have you tried multiplying the servo scale x10 to ease the choppiness?
I think a lot of times, jerkiness is a result of having too small scale, since the servo only moves in integer numbers.
If for example, you are using airplane yaw in degrees from -45 to +45, that only gives you 90 steps. Multiplying degrees times 10 will give you 900 steps.
I’ve just tried it with the test function inside MF I’ve not linked it to msfs yet
Mechanicaly the servos are installed in a way to use there whole range of movement.
Yes, but Mobiflight will use an integer scale to set the position of the servos, thus you need to provide sufficient integer resolution to prevent the choppiness. Even if you provide full range movement mechanically, if you only provide 90 steps, the full range is divided into those 90 discrete steps.
These servo problems are why I used the PCA9685 driver board and wrote my own code for MobiFlight.
@shell agate That looks really good, given me some confidence in doing mine. Did you 3D print the servo mountings?
I also did better with MG90S servos which have metal gears inside.
So this all will take place in the transform window in the config page right?
Yes it is 3D print. Just a quick mockup to check the concept.
Alternatively I found these mini stepper, virtually silent and available in different gear ratio
Can we interface this with mobiflight?
Yes it should work, but you will need a driver board because an Arduino won't have enough power to drive the motor on its own.