Drv8825 confusion

hello, I wanted to use 3 drv8825 pieces to control 3 different stepper motors but I have doubts about the pins: pins m0, m1, m2 do I have to drive them with 5v or even with 3.3v to activate them? while the sleep pin and reset pin I find different types of configuration (connected, connected to the 5v, one connected to any digital pin) how should I use them?

The DRV8825 data sheet answers all those questions.

1 Like

As shown in the Pololu DRV8825 page

MODE0 MODE1 MODE2 Microstep Resolution
Low Low Low Full step
High Low Low Half step
Low High Low 1/4 step
High High Low 1/8 step
Low Low High 1/16 step
High Low High 1/32 step
Low High High 1/32 step
High High High 1/32 step

The inputs M0, M1 and M2 are pulled low on the module so for Low leave the input (Mx) unconnected or if connected to a digital pin, set the pin to LOW. Choose the required level of microstepping by writing a HIGH or LOW to the pins as in the above table.

1 Like

but what about the battery? if I use 3 of them connected with arduino and I already use a L7805CV that supplies 1.5A by itself, does it mean that I have to add 3 more pieces of L7805CV to power them?

As the DRV8825 data sheet clearly states, right at the top of the front page, 8.2V is the minimum voltage for the motor power supply.

Don't forget to set the DRV8825 current limit appropriately for your motors. That is essential.

Pololu's DRV8825 web page has example wiring diagrams and instructions.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.