Can't get accurate current readings. VBUS voltage is correct but I can't figure out the code for current. All voltages will be <36 volts and current <0.8 amps. Any help would be greatly appreciated. Have tried for 4 weeks before I found this forum.
Can't get accurate current readings. VBUS voltage is correct but I can't figure out the code for current. All voltages will be <36 volts and current <0.8 amps. Any help would be greatly appreciated. Have tried for 4 weeks before I found this forum.
Post your code, your PIC, your setup, maybe a video too.
Ioannis
ABS reading times 2.5uV divided by 100. Is current in uAmps.
ABS readings time 25 is current in nA. If I didn't make some mistake...
EDIT: max current is 0.84mA...
I think your resistor is too large, and leakage current will give you bad measurements.
Last edited by pedja089; - 11th February 2025 at 20:49.
What value is appropriate for the CALIBRATION number in the settings?
I've never touched this device.
I assume you've read everything in here:
https://www.ti.com/lit/ds/symlink/ina226.pdf
Section 6.5 seems to be where the main action starts.
EDIT: when I get caught up with a mystery device, I go look at what they're doing on arduino. Sometimes you gets hints in the code, sometimes your eyes just glaze over.
But at least it's a start.
Last edited by Demon; - 21st February 2025 at 06:55.
My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.
Not as dumb as yesterday, but stupider than tomorrow!
Bookmarks