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
Marcored
Posts: 2
Hi All
I have big questions about the motor to use with my project of STAB TRIM WHEELS.
I have read a lot of forum, without solve my problem.
I use:
P3D with B737NGX PMDG.
Ardino mega 2560

Stepper motor OFFSET: 0BC2
VALUE TYPE: Int
Size in Byte: 4

I tryed to use Nema 17 Stepper motor with controller L298N. Link: https://lastminuteengineers.com/l298n-dc-stepper-driver-arduino-tutorial/
but dosen't work.
after read a few topics I have tried with ULN2003 and stepper motor, 28BYJ-48, Link: https://lastminuteengineers.com/28byj48-stepper-motor-arduino-tutorial/
works, but the movement is really slow, I don't know were I can manage the speed of this motor, or if this motor can Drive the trim wheels.
I think is impossible to use Nema 17, with ULN2003, because the motor is 2 coils, and is high current used.
please help me to solve this problems.

Thanks Guys
2021-11-08 19:57
Avatar
pizman82
Moderator
From: ETSI, Germany
Posts: 6010
Supporter
Hi

I see you open this topic in 2 different sections..... Thats not verry helpfull !

I recommend.... Join or Discord Group.
Here in Forum most users only ask for problems..... But not read the requests themself. In discord lots of our users are always present and read/awnser to questions they still build.

Basically.... Using a Stepper occure in a big problem..... It work 100% fine for a Motor Controll periode..... So while AP is ON and the Stepper controll the Wheel.
BUT
Steppers can not be turned by hand ( broke the gearbox e.g. in a little 28BYJ48 ) ..... And also a "clutch" is not working in case the stepper define it´s position by its drived steps..... means if you turn the wheel by hand (override stepper) it not work anymore.

For "Throttle motoriced e.g. B737) there exist logics with steppers...... But mostly for this systems we use "normal Motors".
Means the Device got 2 Elements.... A Encoder ( endless turns) or a Potentiometer (limit range like Throttle),
Also it have a indipendent Motor ( and a clutch in throttles) that detect position.

In easy words.... You not use a "stepper" and say..... "Please turn to postion X".
instead you use a Motor and say.... Please turn clockwise/counterclockwise ( whatever real Wheel is below or above the sim position) and then the motor turn ASLONG the 2 Values ( Virtual Position and real position is identical again.
Mostly done vie 2 LED Pins..... Pin A define the direction ( e.g. HIGH for Clockwise and LOW for Counterclockwise) and PinB define if Motor must turn or not ( 1/0)

I recommend.... Request info in DISCORD..... Hopefully a advanced user can help. If not ask Stephan or myself ( or another MOD user) for help.
then we can try to guide you !
Good Luck !
2021-11-08 22:55
icon