2020-02-18, 02:12 AM
CapnKernel,
If you haven't already figured this out, you can get current sense out of the VNC5019 into the nano with a small code change.
Change this line (around line 790):
return v * 9 / 34 / 16;
to:
return v * .149;
Connect cs on VHH5019 to pin A1 on nano.
The data sheet says it is more accurate at higher currents and I have found that to be true.
If you haven't already figured this out, you can get current sense out of the VNC5019 into the nano with a small code change.
Change this line (around line 790):
return v * 9 / 34 / 16;
to:
return v * .149;
Connect cs on VHH5019 to pin A1 on nano.
The data sheet says it is more accurate at higher currents and I have found that to be true.