Skip to content

Works perfectly for around 2 minutes. Then it spins randomly. #287

@AmExptl

Description

@AmExptl

Works perfectly open loop (velocity) both separately and together (both motor control and sensor readings). But, in closed loop (velocity) it only works perfectly for about 2 and half minutes. Then it spins randomly. This happens every single time. Starts perfectly after reset. Using the example code for Closed Loop Velocity. Used ...MagneticSensorSPI sensor = MagneticSensorSPI(10, 14, 0x3FFF); What am I doing wrong ???

Describe the hardware setup

  • SimpleFoc mini
  • Gimbal motor 13.7 ohm 11 pole pairs
  • Arduino Uno
  • AS5048A (SPI) magnetic sensor.
  • Current sensing used? No
  • Arduino IDE

Tried the Getting started guide? - if applicable
Completed

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions