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
#31
If I define VNH2SP30 in the latest motor.ino from github, the measured controller voltage goes down by a factor 4.7 (resulting in BAD VOLTAGE), but the controller temp goes up by a factor 2.6. If I undefine VNH2SP30, I get correct readings for both measures. My question: how can I use the pwm_style=2 modus without messing up or disabling my readings? Thx!

Background:
D4/shunt_sense is pulled low, D5/low_current and D12/voltage_sense are left open.

When I switched to the new motor.ino I had to set DIV_BOARD to 1 otherwise I would get a NO MOTOR CONTROLLER message (I could see RxD light but no TxD light on the nano). I don't think this is relevant but it might be anyway.
EDIT: as per 09-APR-2020 this is no longer a variable that needs to be set.


It also occurred to me that D10/enable_pin, while giving an output signal, was high-impedance when engaged. Changing line 627 of motor.ino to pinMode(enable_pin, OUTPUT); now gives me a nice 5V signal when engaged, not depending on the load. I think you might want to change this one.
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: 3 Guest(s)