I need to use this INA 2xx power sensors on a project with ESP32. But I have a bus voltage more than 36V (which is the max limit of INA226), there is a INA238 for 85 V which is enough for my project.
But the thing is there is literally no code source (library) on the web for ina238 but there are lots of libraries for INA226. So I am planning to use a basic voltage division (like 1 to 3) with resistors to have a bus voltage less than the max limit of INA226 and then multiply it by three in the software. Is this a logical solution for this problem? It should be basic and simple as that right just I will divide my real Vbus and feed it like a fake Vbus to the sensor, all other connections and logic should be the same
The common voltage on Vin+ and Vin- must be less than 40V and you have greater than than on the INA226 on the left (Input). So that is no good
I have no idea what you are trying to do with the buck
I am trying to build a MPPT (input is solar panel output is heater) with the buck but I need power measurements from input and output side. What is your suggestion?
In case you can get the INA238, Could you try with this library? I need to add the part of the DIAG_ALRT Register, but first I would like to know if it possible to make some measurements using this library.
Unfortunately I don't have the device and it is somewhat difficult for me to get it.