Please post. I haven't looked at any of mine for a while, but it is about grass cutting time again. I have actually used it a few times this season and it does work, but I need to figure out how to program the motor for better performance. I do not think my blade speed is high enough and I also don't think the drive motor is configured correctly. It will stall and I have to turn off and back on. This happened several times in my last cut. Keep me posted. If I can be any help, I'll be glad to. Thanks.
So i replaced my VCM with a microcontroller and a couple switches. I got the microcontroller to talk with the motor controllers over CAN and was able to switch on the mower blades (i have 2 controllers for blades), which just links to a toggle switch (when the microcontroller sees the switch flipped, it commands the blades to 100% throttle). I did get the drive motor to spin aswell over the CAN bus. I used the stock throttle sensor wires, used analog read on the microcontroller, and mapped that to a throttle % sent over CAN. This is all with the wheels up in the air. I havent made any changes to wiring besides the custom connectors I made for where the VCM use to be.
The problem ive run into is when i put the mower on the ground and try to drive, the motor makes all sorts of racket and i dont move, and usually the controller faults for instantaneous current (or something like that). I see you had played with the tuning parameters and got something working, i just dont get why the defaults the controller already had arent working.
I dont belive the VCM is doing anything special. Looking at the controller configs, the only parameters coming over CAN bus is the Motor Current limit percent, Braking Current Limit percent, Motor State (0=off, 1=idle (not sure what idle is), 2=RUN), and throttle percent. That makes me confident the VCM isnt "reconfiguring" the tuning parameters or anything.
Hopefully I can get my hands on a known good VCM and monitor the CAN bus to figure this out. If not ill keep tinkering and see if I can get it working
Would you mind sending me the .xml config of the baseline(before changes) and the one you have now that seems to work a bit? I havent gotten mine to move under its own power yet so id atleast like to get that.