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
vnh20sp30
#28
(2020-02-14, 04:36 PM)Ola_H Wrote:
(2019-12-31, 06:33 AM)CapnKernel Wrote: Last night was the first time I hooked the Rpi Zero W up to the nano with the VNH5019.  It's working!  I can rotate the RPi and the motor responds accordingly.  I can't wait to try it out on my boat!

My VNH5019 arrived today.

Did you connect both EnA and EnB on VNH5019 to D10 on Arduino?

For my test version I didn't connect ENA and ENB to anything, because my reading of the Pololu datasheet is that these pins are pulled high, and thus default to enabled.  

In the next version that I'm designing now, I will connect CS from the VNH5019 to a voltage divider and read it on the nano's A0.  

(2020-02-15, 03:13 AM)seandepagnier Wrote: I suggest ena and enab to pin D2 and D3, but use D9 for PWM.   It's all in the motor.ino sketch which already supports it with #define VNH2SP30

To get the VNH5019 working, as far as I remember, I just changed these four lines in motor.ino:

Code:
#define VNH2SP30 // defined if this board is used
#define DISABLE_TEMP_SENSE    // if no temp sensors avoid errors
#define DISABLE_VOLTAGE_SENSE // if no voltage sense
#define DISABLE_RUDDER_SENSE  // if no rudder sense

This is exciting!  Tell us how you go!
Reply


Messages In This Thread
vnh20sp30 - by seandepagnier - 2018-11-02, 03:35 PM
RE: vnh20sp30 - by jim321 - 2018-11-02, 05:13 PM
RE: vnh20sp30 - by jim321 - 2018-11-04, 08:33 PM
RE: vnh20sp30 - by seandepagnier - 2018-11-05, 12:35 AM
RE: vnh20sp30 - by jim321 - 2018-11-05, 04:02 PM
RE: vnh20sp30 - by seandepagnier - 2018-11-05, 07:30 PM
RE: vnh20sp30 - by jim321 - 2018-11-06, 02:47 PM
RE: vnh20sp30 - by jim321 - 2018-11-13, 12:06 PM
RE: vnh20sp30 - by jim321 - 2018-11-15, 06:07 PM
RE: vnh20sp30 - by donovanes - 2018-12-17, 12:12 AM
RE: vnh20sp30 - by vatuhiva - 2019-09-08, 11:35 AM
RE: vnh20sp30 - by Stevendark - 2019-10-22, 08:03 PM
RE: vnh20sp30 - by seandepagnier - 2019-10-23, 12:27 AM
RE: vnh20sp30 - by Stevendark - 2019-10-29, 12:13 PM
RE: vnh20sp30 - by vatuhiva - 2019-10-29, 12:24 PM
RE: vnh20sp30 - by Stevendark - 2019-11-28, 01:13 AM
RE: vnh20sp30 - by seandepagnier - 2019-11-29, 02:13 AM
RE: vnh20sp30 - by Stevendark - 2019-12-11, 12:52 AM
RE: vnh20sp30 - by CapnKernel - 2019-11-29, 06:44 AM
RE: vnh20sp30 - by Baltic Sailor - 2019-12-01, 07:51 PM
RE: vnh20sp30 - by CapnKernel - 2019-12-05, 10:38 AM
RE: vnh20sp30 - by CapnKernel - 2019-12-11, 04:49 AM
RE: vnh20sp30 - by seandepagnier - 2019-12-04, 12:12 AM
RE: vnh20sp30 - by jamos.tan@gmail.com - 2019-12-30, 05:06 PM
RE: vnh20sp30 - by CapnKernel - 2019-12-31, 06:33 AM
RE: vnh20sp30 - by Ola_H - 2020-02-14, 04:36 PM
RE: vnh20sp30 - by CapnKernel - 2020-02-15, 10:08 AM
RE: vnh20sp30 - by seandepagnier - 2020-02-15, 03:13 AM
RE: vnh20sp30 - by seandepagnier - 2020-02-15, 03:45 PM
RE: vnh20sp30 - by Ola_H - 2020-02-16, 12:38 PM
RE: vnh20sp30 - by ironman - 2020-04-01, 08:42 PM
RE: vnh20sp30 - by ironman - 2020-04-02, 04:12 PM
RE: vnh20sp30 - by ironman - 2020-04-02, 01:16 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)