2020-10-01, 12:59 AM
(2020-09-30, 07:57 AM)jamos.tan@gmail.com Wrote: One more question, how would I know if hydraulic mode works as it should be.
If I add a hardware switch to toggle between normal and hydraulic mode
To rephrase what Sean is saying, there's no "hydraulic mode". Rather, you can use pin6 on the controller to choose between driving an ESC using PWM pulses every 20mSec (pin6=0), or driving an H-bridge made of four MOSFETs (pin6=1).
A third option is to set VNH2SP30 in motor.ino, if you're trying to drive an VNH2SP30 or VNH5019 (they're driven the same):
https://github.com/pypilot/pypilot/blob/...r.ino#L119
As Sean says in the code (and as I've also found out), most VNH2SP30 boards are of very bad quality. I've used a few VNH5019 boards and had no problem.
As a fourth option, some people (@McNugget) are using the IBT-2 H-bridges . Code for this isn't in Sean's codebase, but it can be done.
Whether you're using a hydraulic drive or your tiller, you probably want pin6=1 to drive your H-bridge.
(2020-09-30, 07:57 AM)jamos.tan@gmail.com Wrote: but my current H-bridge can go to 43A
Can you tell us more about this H-bridge?