wollewald / ina226_we Goto Github PK
View Code? Open in Web Editor NEWAn Arduino library for the INA226 current and power sensor module.
License: MIT License
An Arduino library for the INA226 current and power sensor module.
License: MIT License
Hi, I used Continuous_With_Resistor_Value.ino and didn't change anyting. Specific contents are as follows
Soft WDT reset
stack>>>
ctx: cont
sp: 3ffffd60 end: 3fffffc0 offset: 01a0
3fffff00: 60000314 3ffee820 00000001 40202d10
3fffff10: 3ffee820 00000000 00000000 40202d72
3fffff20: 3ffee820 3ffee593 00000004 40202f0e
3fffff30: 00000000 00000040 3ffee591 3ffee7d4
3fffff40: 3fffdad0 00000006 00000002 3ffee7d4
3fffff50: 3fffdad0 00000006 3ffee591 4020304c
3fffff60: 40201906 3ffe884b 3ffee548 402013e8
3fffff70: 3fffdad0 00000031 3ffee548 402015df
3fffff80: 00000d1b 00000008 3ffee548 4020166b
3fffff90: 3fffdad0 3ffee6b8 3ffee548 4020107c
3fffffa0: feefeffe 00000000 3ffee7c0 40202238
3fffffb0: feefeffe feefeffe 3ffe85e0 40100e4d
<<<stack<<<
Can this support high current? If I want to measure high current(Up to 30A), how can this be achieved? Thank you !!!
Hi,
readRegister
misses error checking of the i2c calls. If for example requestFrom
fails, i.e. returns 0
, or no data is available, the function returns 0. This causesgetBusVoltage_V
to return zero when there is a problem with the i2c bus, so we don't know if the read failed or actually reading zero voltage.
In the List of public functions.pdf the current function is called getCurrent_mV()
and describes its output as current in mV. The function as implemented is getCurrent_mA()
and reads current in mA as expected. This is a documentation error only.
Hi and thank you for your work!
Is it possible to use this library whenhaveing multiple INA226 modules? If so how can this be achieved?
Thank you!
Project uses EByte transievers to wake deep sleeping ESP32, then swtich battery on/off and using INA226 monitor the battery.
Can not find a way to initialize INA226; issue maybe, deep sleeping interfers with initalizing process.
Library example "Triggered.ino" results:
Project call from updaedfunction results:
Monitoring voltage with DMM across load: When load is on 5.54 V, load is off 8.4 mV.
William
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.