Hello everyone,
I’m having trouble getting open loop control to work with my B-G431B-ESC1 board.
The code compiles fine in Arduino IDE, but the motor doesn’t respond at all — no movement, no sound, nothing.
What I’ve tried so far:
-
Used
SimpleFOCGeneratorto generate open loop code for my motor. -
Also tried known working open loop examples from other users (for the same board).
-
Double-checked all connections (power, motor phases, hall/encoder if applicable).
My motor specs:
-
KV: 1850
-
Poles: 7
-
Phase resistance: 0.4 Ω
-
Phase inductance: 0.1 mH
Setup:
-
Board: B-G431B-ESC1
-
IDE: Arduino IDE (with STM32duino and SimpleFOC installed)
-
Power supply: 12V (tested, sufficient current)
-
No load during testing.
The problem:
After upload, the board seems to run (LED on), but the motor doesn’t spin. I’ve tried varying the target value in open loop mode, but no response.
Questions:
-
Are there known issues with open loop on B-G431B-ESC1 for very low inductance motors (0.1 mH)?
-
Could timing/ PWM frequency settings be a factor?
-
Should I modify
voltage_limitorvelocity_limitfor this motor spec? -
Any specific
openloop_gainorphase_resistancecompensation needed? -
Is there a minimal working open loop example for this board that I can compare with?
I’ve attached my current code snippet below. Any help or guidance would be greatly appreciated!