This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to drive hydraulic
#13
(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?
Reply


Messages In This Thread
How to drive hydraulic - by jamos.tan@gmail.com - 2020-08-21, 11:36 AM
RE: How to drive hydraulic - by seandepagnier - 2020-08-22, 02:34 AM
RE: How to drive hydraulic - by seandepagnier - 2020-08-22, 12:44 PM
RE: How to drive hydraulic - by rastam4n - 2020-08-23, 04:33 PM
RE: How to drive hydraulic - by rastam4n - 2020-08-23, 08:58 PM
RE: How to drive hydraulic - by seandepagnier - 2020-08-24, 02:43 AM
RE: How to drive hydraulic - by CapnKernel - 2020-10-01, 12:59 AM
RE: How to drive hydraulic - by rastam4n - 2020-10-02, 12:50 PM
RE: How to drive hydraulic - by seandepagnier - 2020-10-01, 12:20 AM
RE: How to drive hydraulic - by CapnKernel - 2020-10-01, 10:54 AM
RE: How to drive hydraulic - by CapnKernel - 2020-10-07, 02:20 AM
RE: How to drive hydraulic - by seandepagnier - 2020-10-01, 06:07 PM
RE: How to drive hydraulic - by CapnKernel - 2020-10-02, 02:01 AM
RE: How to drive hydraulic - by seandepagnier - 2020-10-02, 03:31 AM
RE: How to drive hydraulic - by CapnKernel - 2020-10-12, 01:50 AM
RE: How to drive hydraulic - by Siusb - 2020-12-14, 10:50 AM
RE: How to drive hydraulic - by Pop Alexandra - 2024-02-23, 01:33 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)