

The 1NA219 Current Sensor by Texas Instruments (TI) is a precision device designed to measure the flow of electric current in a circuit. It provides an output signal proportional to the current level, enabling accurate monitoring and control of electrical systems. This sensor is ideal for applications requiring high accuracy and low power consumption.








The following table outlines the key technical details of the 1NA219 Current Sensor:
| Parameter | Value |
|---|---|
| Supply Voltage (Vcc) | 3.0V to 5.5V |
| Operating Current | 0.7 mA (typical) |
| Current Measurement Range | ±3.2A (with default shunt resistor) |
| Output Signal Type | I²C digital output |
| Accuracy | ±1% (typical) |
| Communication Protocol | I²C (7-bit address) |
| Operating Temperature | -40°C to +125°C |
| Package Type | SOIC-8 |
The 1NA219 Current Sensor has an 8-pin configuration. The table below describes each pin:
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.0V to 5.5V). |
| 2 | GND | Ground connection. |
| 3 | SDA | Serial Data Line for I²C communication. |
| 4 | SCL | Serial Clock Line for I²C communication. |
| 5 | A0 | Address selection pin (used to set the I²C address). |
| 6 | A1 | Address selection pin (used to set the I²C address). |
| 7 | VIN+ | Positive input for current sensing (connect to the high side of the load). |
| 8 | VIN- | Negative input for current sensing (connect to the low side of the load). |
Below is an example of how to interface the 1NA219 Current Sensor with an Arduino UNO:
#include <Wire.h>
#include <Adafruit_INA219.h>
// Create an instance of the INA219 sensor
Adafruit_INA219 ina219;
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
while (!Serial) {
// Wait for the serial port to connect (for native USB devices)
}
if (!ina219.begin()) {
Serial.println("Failed to find INA219 chip");
while (1) {
delay(10); // Halt execution if the sensor is not detected
}
}
Serial.println("INA219 Current Sensor Initialized");
}
void loop() {
float current_mA = ina219.getCurrent_mA(); // Read current in milliamps
Serial.print("Current: ");
Serial.print(current_mA);
Serial.println(" mA");
delay(1000); // Wait for 1 second before the next reading
}
No Output or Incorrect Readings:
I²C Communication Errors:
High Noise in Readings:
Q1: Can the 1NA219 measure negative currents?
Yes, the 1NA219 can measure both positive and negative currents, making it suitable for bidirectional current sensing.
Q2: What is the maximum current the sensor can measure?
The default configuration supports a range of ±3.2A. However, this can be adjusted by changing the shunt resistor.
Q3: Can I use the 1NA219 with a 3.3V microcontroller?
Yes, the 1NA219 is compatible with both 3.3V and 5V logic levels, making it suitable for a wide range of microcontrollers.
Q4: How do I calculate power consumption using the 1NA219?
The 1NA219 can calculate power by multiplying the measured current and voltage. Use the appropriate library functions to retrieve these values.
By following this documentation, users can effectively integrate the 1NA219 Current Sensor into their projects for precise current measurement and monitoring.