# Understanding voltage\_limit for stepper motor

**URL:** <https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263>\
**Category:** developement\
**Created:** [July 10, 2026, 12:57pm UTC](https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263 "2026-07-10T12:57:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmorenoga](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/r/ee59a6/32.png) [@rmorenoga](https://community.simplefoc.com/u/rmorenoga)\
**Post date:** [July 10, 2026, 12:57pm UTC](https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263/1 "2026-07-10T12:57:03Z")

</div>

Dear SimpleFOC community,

I am trying to configure a stepper motor in voltage mode and when reading the documentation page I see that it says to configure the voltage limit for the motor between 2 to 5 volts so not to fry the motor.

[Voltage Mode | Arduino-FOC](https://docs.simplefoc.com/voltage_torque_mode)

However, if I go to the stepper motor configuration page, it states that this limit should be 12 volts under step 5.6

> **[Stepper Motors](https://docs.simplefoc.com/steppermotor)**
>
> An Arduino Based Field Oriented Control(FOC) library documentation

Which one should I believe? or why are they different?

Best Regards,

Rodrigo

---

<div class="post-metadata">

**Author:** ![dekutree64](https://community.simplefoc.com/user_avatar/community.simplefoc.com/dekutree64/32/3398_2.png) [@dekutree64](https://community.simplefoc.com/u/dekutree64)\
**Post date:** [July 10, 2026, 5:58pm UTC](https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263/2 "2026-07-10T17:58:05Z")

</div>

Looks like a mistake. 2 to 5 volts is correct. You can’t even use 12V motor voltage on a 12V power supply anyway. Motor voltage is multiplied by sin/cos which range -1 to +1 and then offset by half the power supply voltage, so 6V covers the full range and higher will saturate. Or 6.93V with SpaceVectorPWM, which takes advantage of the fact that only one of the three sine waves is at its peak at any given time.

---

<div class="post-metadata">

**Author:** ![o\_lampe](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/o/85e7bf/32.png) [@o\_lampe](https://community.simplefoc.com/u/o_lampe)\
**Post date:** [July 11, 2026, 8:55am UTC](https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263/3 "2026-07-11T08:55:15Z")

</div>

In openloop\_velocity mode it is recommended to _start_ with a low voltage limit.  
In closed loop modes this limit can be higher, because the sensor PID algorithm keeps everything safe.

---

<div class="post-metadata">

**Author:** ![rmorenoga](https://community.simplefoc.com/letter_avatar_proxy/v4/letter/r/ee59a6/32.png) [@rmorenoga](https://community.simplefoc.com/u/rmorenoga)\
**Post date:** [July 13, 2026, 12:00pm UTC](https://community.simplefoc.com/t/understanding-voltage-limit-for-stepper-motor/8263/4 "2026-07-13T12:00:30Z")

</div>

Hi,

Thank you for the answers, I am actually planning to run my motor with a 24V power supply, from @dekutree64 's answer I get that I should put a 5 volt max as the voltage limit.

@o_lampe I am working on closed loop voltage mode for stepper motors. How high can I go?

Best,

Rodrigo
