I would like to know I must connect two stepper motor drivers to my Arduino Uno. Indeed, my drivers has two links with the Arduino : a step link and a "dir" link. But I don't understand the use of PWM outputs.
The driver should emit a PWM to the motor so I shouldn't need PWM outputs, should I?
Is it dangerous if I connect something on PWM pins but I use them as normal digital outputs?
Thank a lot for your answer
Regards
We need more information.
What type of stepper,link to data.
What driver, link to data.
If you have a driver you do not need to PWM, there are libraries you can use in your sketch to control the drivers.
Look at the site where you bought the driver units, most have sample code and libraries to help you make a sketch.
I would like to know I must connect two stepper motor drivers to my Arduino Uno. Indeed, my drivers has two links with the Arduino : a step link and a "dir" link. But I don't understand the use of PWM outputs.
The driver should emit a PWM to the motor so I shouldn't need PWM outputs, should I?
Is it dangerous if I connect something on PWM pins but I use them as normal digital outputs?
Thank a lot for your answer
Regards
post a link to your drivers.
Robin2's link is a good introduction to steppers if you are just learning.
most drivers have some sort of reference software or sketch to get them to work.
Thank a lot for your replies !!!
Excuse me for my English errors.
So my motor is a 42SH33-4A : http://www.tridenteng.co.uk/media/pdf4df089261e9fc.pdf
I choose this driver to connect to my motor : https://www.pololu.com/file/download/drv8825.pdf?file_id=0J590
Thank Robin2 : I will read these!
dave-in-nj : Yes I am a beginner in this domain !
Thank TomGeorge : I would like to make turning my stepper motors then I would like to check the speed and the position of both motors thanks to two speed sensors and two rotation sensors and modify if my steppers motors' positions are wrong. Due to my low knowledge in electronics, I would like to use an Arduino board.
Moreover this device will be embedded.
TomGeorge : your sentence means that ... in my case, I don't have to use PWM outputs ? But can I connect my drivers to PWM I/O anyway and use I/O as normal digital I/O?
TomGeorge : your sentence means that ... in my case, I don't have to use PWM outputs ? But can I connect my drivers to PWM I/O anyway and use I/O as normal digital I/O?