2021-08-05, 04:07 PM
(2021-08-05, 03:45 PM)seandepagnier Wrote: If you are using pwm_style == 2, for ibt 2, then the reference is from 0 to 5 volts which may explain some of the low readings. The other thing to consider is exactly how many volts per amp the ibt 2 puts out which as you mention is adjustable?
I assume pwm_style == 2, as VNH2SP30 is defined >
#define VNH2SP30 // defined if this board is used
Though just putting an adjustable voltage onto A1 the servo,current values stop rising once the voltage reaches 1.1v which suggests the reference is 1.1v?
Not that it seems to matter much, either with a voltage divider or changing the resister between IS & ground the voltage coming out of the IBT_2 can be changed to whatever suits.