Golf Cart with bluepill

Post Reply
User avatar
madius
Posts: 23
Joined: Mon May 18, 2020 3:15 pm
Has thanked: 12 times

Golf Cart with bluepill

Post 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.
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Golf Cart with bluepill

Post 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)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
madius
Posts: 23
Joined: Mon May 18, 2020 3:15 pm
Has thanked: 12 times

Re: Golf Cart with bluepill

Post 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!
Post Reply