Suggest a microcontroller

2014-10-18 8:42 pm
I got 4 2-phase stepping motor 39\42BYGH model 42H2P4412A4 from my friend.
Can you please suggest a suitable micro-controller to control these 4 stepping
motors at the same time? Thank you.

If you want information of my stepping motor, please visit :
http://16406613.en.frbiz.com/group-motors/29773439-two_phase_stepping_motor_39_42bygh.html
更新1:

To本週之星: Can I write c program in Audrino or Rasperry Pi? If not, could you please specify which kind of program it can run?

回答 (2)

2014-10-20 9:43 am
✔ 最佳答案
其實要驅動stepper motor並不困難,幾乎任何一個mcu都可以做到。但大部份mcu板只有io腳,而要驅動較大電流時,都要另加一個驅動板,而方法有二。一是用四隻io腳,用四個大功率管直接推stepper行,另一個方法係只要兩隻io,搭一個stepper controller,一個pulse就行一步,另一隻腳代表方向。如圖︰


圖片參考:https://s.yimg.com/lo/api/res/1.2/yTqjAFtH8W9eDjIaaVQ61A--/YXBwaWQ9dHdhbnN3ZXJzO3E9ODU-/http://jdreyer.com/projects/Arduino/ArduinoEasyDriverStepperMotorv1_Resize.png


Arduino 是公開源碼。教學又多,這裡有個示範,
https://learn.adafruit.com/adafruit-arduino-lesson-16-stepper-motors/overview
如果你有四軸同時跑,自行定義其他腳做step及dir則可,ardunio是用c編程的,十分易用。
arcuino.cc可以下載所有工具。
2014-10-18 9:46 pm
可以用AUDRINO及RASPERRY PI,後者可以去RS買到,不過要加驅動,要自行PROGRAM,如果你只要它轉動,不必要CONTROLLER,上網找有大量線路可用。

2014-10-18 23:51:11 補充:
RASPERRY PI是LINUX BASED,看看這裡http://www.instructables.com/howto/stepper+motor+control


收錄日期: 2021-04-21 15:10:21
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20141018000051KK00050

檢視 Wayback Machine 備份