-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- fix #4, cache ADCrange to improve **getShuntVoltage()** - add INA_comparison_table.md - minor edits
- Loading branch information
1 parent
1a2d83d
commit 6365d8b
Showing
11 changed files
with
113 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
## Comparison table INA sensors | ||
|
||
Comparison of my INA2xx libraries | ||
|
||
|
||
| | 219 | 226 | 228 | 229 | 236 | 239 | 3221 | | ||
|:------------------|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:|:-----:| | ||
| bits | 12 | 16 | 20 | 20 | 16 | 16 | 13 | | ||
| Max Voltage | 26 | 36 | 85 | 85 | 48 | 85 | 26 | | ||
| Communication | I2C | I2C | I2C | SPI | I2C | SPI | I2C | | ||
| Channels | 1 | 1 | 1 | 1 | 1 | 1 | 3 | | ||
| | | | | | | | | | ||
| getBusVoltage | Y | Y | Y | Y | Y | Y | Y | | ||
| getShuntVoltage | Y | Y | Y | Y | Y | Y | Y | | ||
| getCurrent | Y | Y | Y | Y | Y | Y | Y | | ||
| getPower | Y | Y | Y | Y | Y | Y | Y | | ||
| getTemperature | - | - | Y | Y | - | Y | - | | ||
| getEnergy | - | - | Y | Y | - | - | - | | ||
| getCharge | - | - | Y | Y | - | - | - | | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
BOARD: Arduino UNO | ||
IDE: 1.8.19 | ||
|
||
|
||
INA239_LIB_VERSION: 0.1.1 | ||
|
||
|
||
======================================================== | ||
Speed: 1000000 | ||
|
||
test_core | ||
getBusVoltage: 60 | ||
getShuntVoltage: 60 | ||
getCurrent: 56 | ||
getPower: 80 | ||
getTemperature: 56 | ||
|
||
======================================================== | ||
Speed: 2000000 | ||
|
||
test_core | ||
getBusVoltage: 48 | ||
getShuntVoltage: 48 | ||
getCurrent: 40 | ||
getPower: 64 | ||
getTemperature: 48 | ||
|
||
======================================================== | ||
Speed: 4000000 | ||
|
||
test_core | ||
getBusVoltage: 44 | ||
getShuntVoltage: 44 | ||
getCurrent: 40 | ||
getPower: 64 | ||
getTemperature: 44 | ||
|
||
======================================================== | ||
Speed: 8000000 | ||
|
||
test_core | ||
getBusVoltage: 44 | ||
getShuntVoltage: 40 | ||
getCurrent: 32 | ||
getPower: 52 | ||
getTemperature: 40 | ||
|
||
Done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=INA239 | ||
version=0.1.0 | ||
version=0.1.1 | ||
author=Rob Tillaart <[email protected]> | ||
maintainer=Rob Tillaart <[email protected]> | ||
sentence=Arduino library for the INA239, SPI, 16 bit, voltage, current and power sensor. | ||
|