Comments (1)
Ok, found the problem. Everything is fine with ina219 lib.
The problem is that the I2C library gets the root logger, which is in DEBUG level (in my case).
Solved it with:
logging.getLogger('Adafruit_I2C.Device.Bus.1.Address.0X40').setLevel(logging.WARNING)
from pi_ina219.
Related Issues (20)
- Calculation of "current" for negative "shunt_voltage" HOT 10
- Current overflow false positive HOT 7
- cannot import name INA219 HOT 5
- Citation HOT 1
- Use named logger instead of root HOT 5
- getting [Errno 121] Remote I/O error? HOT 8
- Unable to get ADC_16SAMP (or any of the others to work) HOT 2
- ImportError: cannot import name INA219 HOT 8
- improbable values returned?
- Convert from Adafruit_GPIO library (which is archived) to smbus2 library HOT 2
- Reading current samples from python while INA219 is connected to Arduino board HOT 1
- ina219.DeviceRangeError: Current out of range I have got exactly the same problem when trying to install Raspberry PI i52 UPS Plus HAT. Device is called EP-0136 HOT 1
- Problem with this on a Pi Pico HOT 7
- OSError: [Errno 121] Remote I/O error HOT 15
- not working on raspberrypiOS 32 bit HOT 1
- No change in resolution or time when changing ADC samples and bit HOT 5
- Library depends on obsolete dependency
- [Solved] Needed version for Raspberry Pi 5 - PiOS Bookworm 64-bit - GoPiGo3 Robot
- Max Amps 3.2A not possible with Voltage Range 32V and Shunt 0.1 Ohm HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pi_ina219.