Skip to content

Stepper motor closed loop control doesn't seem to work #232

@stignarnia

Description

@stignarnia

Describe the bug
I tried running this example and it didn't work, despite using basically the same hardware: https://github.com/simplefoc/simplefoc.github.io/blob/28b483510cb9b5b22fd640fdac20aeeaa71a6483/docs/simplefoc_library/examples/stepper_control_nucleo.md

Describe the hardware setup
For us it is very important to know what is the hardware setup you're using in order to be able to help more directly

  • NEMA 14 hybrid stepper motor with 4 wires
  • L298N driver
  • STM32 nucleo board (tried multiple SKUs)
  • Analog magnetic sensor (did change the example code to use the appropriate class)
  • Current sensing used? No

IDE you are using

  • Platformio

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions