MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

05/03/2024 - This forum is read-only

The community support for MobiFlight has moved exclusively over to our Discord server. Register for free and enjoy more interactive functions like image and video upload, voice chat. More than 7,000 registered users around the world make it a great experience!

See you on our MobiFlight Community Discord server.

A HUGE Thank You to everyone who participated in the forum, especially obviously to Pizman and Stephan who did an outstanding job over so many years providing an incredible service to the MobiFlight community.

The forum is still providing a lot of good content, hence we keep this information accessible.

icon
Avatar
PowerC
Posts: 2
Hi all,
I was wondering if there is a way to realize a kind of auto calibration for a stepper. What I mean by auto calibration is to let the stepper to move to the home position upon start up by means of a Hall effect sensor etc. I think a Hall effect sensor can be attached to near the rotation axis of the stepper to detect the stepper angle by a small magnet attached to the stepper shaft. Upon reset we can let the stepper run until the sensor “meets” the magnet, then we can move the stepper by certain fixed number of degrees to cancel the offset between the hall sensor and your home position.

Any thoughts??

Thanks for the great tool!!
2019-05-19 08:53
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Normaly thats not needed.

Technical the state of Motor (Position) on startup is the "Zero Point" for this seasson.
If you turn the Motor ( For example 45 degrees for a fuel gauge) then the Motor Controller "remember" this moving. When you correctly STOP Mobiflight ( Not pull USB cable or kill it by ALT/F4) then this "stopping" of MF will send a command to the Motorcontroller thet it should turn back to the Zero Point from startup.

Summary this means.... The Motor not have a physical Zero Point by a Hall sensor..... But it will technical remeber the Startup Position and will turn back to it when you Shoutdown thy System correctly.
Good Luck !
2019-05-19 15:25
Avatar
PowerC
Posts: 2
Thank you very much for your help. I know the MobiFlight's *return to zero" feature which is great. The only problem is my system is not yet so stable so abnormal shutdown is frequent. I think I should focus on stablization of the system first.

Thank you again!
2019-05-19 15:36
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
I know that.

Basicly this is a problem while testing and building only !
If you have a final Cockpit ( Hardware fully assambled) and your Mobiflight Config is finished and working correct then "normaly" there are no longer crashes.

Sure if you have a power shoutdown while flying cause your neighbour cut the Master Power line with his little excavator then you need to recallibrate all your Motors again.
But then i would ask the neighbour to spent you a some bottles of beer .... Then its more comfortable to do this calibration finaly ;)
Good Luck !
2019-05-20 09:17
Avatar
DocMoebiuz
Moderator
From: EDSH, Germany
Posts: 1516
I actually have the firmware prepared so that you could configure a optical switch to send a 0 signal and the stepper would stop. I have not yet released this feature.
Have a great day!
Sebastian

MobiFlight - Simply build your own home cockpit for your favorite flight sim - MSFS2020, FSX, Prepar3D (FSUIPC), X-Plane (XPUIPC)
2019-08-10 06:41
icon