Supplying power to stepper motor

Hello,

Im currently working on a project that uses esp32, bipolar stepper motor and a l298n motor driver.

Im wondering would supplying power on the esp32 extension board and supplying power to the motor driver would be any difference?

Im currently having a problem with working the motor properly and I think its because im not supplying enough power to the motor.

I would like to see your opinion on the topic.

We need much more information to give any hints. Please provide links to the used components ( including the PSU) and post a schematic how everything is wired.
N.B. most modern steppers cannot be driven by the ancient L298 driver.

1 Like

Yes!
The expansion board typically presents a static load, where the current draw remains relatively constant.

In contrast, the motor will experience varying current surges, depending on changes in mechanical load, speed, and acceleration.

1 Like

Yes, You will want to use a separate power supply to power the stepper motors.
As a general rule, it's best to provide isolation of power supplies for micro controllers (driven by a dedicated source) and any high powered or transient-prone noise spike driver circuits or components, like motors and inductive loads.

Regards,
Mike_H

To power a stepper motor, select a power supply that matches its voltage and current requirements. Connect the motor wires to a stepper motor driver and then connect the driver to the power supply, ensuring correct polarity. Use a microcontroller to send step and direction signals to control the motor. Always refer to the motor and driver datasheets for specific instructions.

Alright, thank you the info

But you don't power the motor, you power the driver.
So the supply must match the requirements of the driver.
A 4volt 1.5Amp motor could require a 12-24volt 1Amp supply.

We need the voltage/current specifications of the stepper motor (not NEMA xx).
If voltage is less than 12V and current is more than 0.3A, then the L298 is unsuitable.
Leo..

1 Like

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