Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shunt voltage of 0.2mV when there's no load #93

Open
flambert2 opened this issue Nov 10, 2022 · 0 comments
Open

Shunt voltage of 0.2mV when there's no load #93

flambert2 opened this issue Nov 10, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@flambert2
Copy link

Expected Behavior

I would expect the output to be near 0 when there's no load connected.

Actual Behavior

I get a shunt voltage of 0.20000 mV and around 3500mW when no load is present. also it seems that the resolution does not quite fit, I only see steps per 0.02mV I would expect around 0.009mV since I have a shunt of 75mV 100Amp.

Steps to Reproduce the Problem

get a 75mV 100Amp shunt, remove existing shunt resistor on ina3221 (CH1), connect the external shunt, connect the esp to the ina3221.
use the DisplayReadings example
set these values:
const uint32_t SHUNT_MICRO_OHM{750}; ///< Shunt resistance in Micro-Ohm, e.g. 100000 is 0.1 Ohm
const uint16_t MAXIMUM_AMPS{100}; ///< Max expected amps, clamped from 1A to a max of 1022A

open serial console.

@flambert2 flambert2 added the bug Something isn't working label Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants