19jai90
Posts: 1
Joined: Tue Dec 26, 2017 1:16 pm
Location: Malaysia
Contact: Skype

How to control two or more nema 17 stepper motor(s) using raspberry pi?

Wed Dec 27, 2017 5:36 am

For an example, i have two stepper motors, let's name it steppper X and stepper Y.

I want stepper X and Y move together to 270 degree then stepper Y has to stay there until stepper X move to 90 degree then 300 degree. After stepper X finishes it's tasks, stepper X and Y move simultaneously to 0 degree.

above are the motions i want achieve. Hope i can get help from everyone.

I have two types of drivers, one is easy driver and A4899.

Thanks in advance for the guides and help

beta-tester
Posts: 1237
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: How to control two or more nema 17 stepper motor(s) using raspberry pi?

Wed Dec 27, 2017 1:30 pm

you can use something like this... https://blog.protoneer.co.nz/raspberry- ... board-hat/
so the RPi is sending kind of koordinates to an arduino.
then the arduino is doing the signal processing to control the stepper driver.

but in the simplest case you can control the stepper driver directly via GPIO and a python script to do stepp up /down manually.
https://www.pololu.com/product/1182

https://www.youtube.com/watch?v=LUbhPKBL_IU
https://www.rototron.info/raspberry-pi- ... -tutorial/
{ I only give negative feedback }
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B, RPi3B, RPi3B+, RPiZeroW, ...

Return to “General discussion”