stancecoke
1 MW
Happy enough, the controller is working again.
There were just two mosfets burned....
Lessons learnt: Never use an unfused battery, when experimenting with unsafe code 8)
In my code the value was set to "6". That means the my calibration is just a little different, obviously. Perhaps we should add an auto-zero function at startup.
I have deleted the TORQUESENSOR EXPERIMENTING branch, due to synconisation problems with eclipse. I pushed my recent code to the new "Merged_motor_and_J-LCD" branch.
Regards
stancecoke
When the mosfets have a short circuit, the OC protection can't help..... (I don't want to test it again :wink: )casainho said:That also means that OC Over Current code did not work/protect :-(
Lessons learnt: Never use an unfused battery, when experimenting with unsafe code 8)
Code:
motor_set_current_max (8); // 1 --> 0.5A
feel free to adapt the Kunteng protocol to my Kingmeter-solutioncasainho said:I will be able to give a look just tomorrow. I want to start using your code, but with the Kunteng LCD, that is the one I have and I also think we should go with.
As wrote, I used an unfused battery. Without BMS.casainho said:Can you please tell if your battery has a BMS, because if so, it should act as a fuse and should avoid that situation.
I have deleted the TORQUESENSOR EXPERIMENTING branch, due to synconisation problems with eclipse. I pushed my recent code to the new "Merged_motor_and_J-LCD" branch.
Regards
stancecoke