Page 1 of 1

Golf Cart with bluepill

Posted: Mon Nov 28, 2022 8:32 pm
by madius
Hi!

I am repairing a golf cart brushless motor controller with dead microcontroller.
My solution is openinverter!
I have a bluepill and all hardware of original controller its working.
My experience with openinverter its on a full STM32 dedicated board.
Is there a precompiled firm for bluepill?
I am using PriusG2_V1 as a reference for connecting all ports.
I see that some ports on that project has differences with standar openinverter.

Original motor controller is ACD4805 with vector control operation.

Any comments or suggestions are apreciated.

Re: Golf Cart with bluepill

Posted: Mon Nov 28, 2022 10:12 pm
by johu
The standard firmware will detect that it's running on a blue pill and change the pinmap accordingly

https://openinverter.org/forum/viewtopic.php?t=220 (please read to the end)

Re: Golf Cart with bluepill

Posted: Sun Dec 04, 2022 1:50 pm
by madius
johu wrote: Mon Nov 28, 2022 10:12 pm The standard firmware will detect that it's running on a blue pill and change the pinmap accordingly

https://openinverter.org/forum/viewtopic.php?t=220 (please read to the end)
Thank you johu,

I already have it running with firm V5.20.R-2 (it is the latest version with "sine" precompiled on github).
All the inputs work as well as the outputs, what I can't get the PWM outputs to work.

Is this procedure still valid for these last firmware versions?
start 2

This will start sine wave generation. Type

set fslipspnt 1

set ampnom 1


This outputs a clean 50/50 duty cycle on all 6 PWM outputs.
It's from:
https://openinverter.org/wiki/Schematic ... structions

thanks!