Texas Instruments INA219 Element

The INA219 element is used to measure current and power consumption. This element is for using the Texas Instruments INA219 current/power monitor.

The INA219 is a sensor element that can be imported into the Element Toolbox through the Add ElementAdd Elementbutton located in the toolbox from Embedded View.

Element Icon
INA219 Element

Properties

The following properties can be changed for the INA219 element:

Name

The name of the element.

I2C Driver Instance

The I2C bus used to communicate with the sensor.

I2C Address

The I2C address the element sends data to.

Shunt Resistor Value (Milli-Ohms)

The resistance value of the shunt resistor. The INA219 requires a calibrated resistor for the shunt.

Gain

The sensitivity gain for the sensor.

Voltage Range

The default voltage range for the sensor.

Bus ADC Resolution

The resolution (in bits) for the ADC that samples the sensor’ bus line.

Shunt ADC Resolution

The resolution (in bits), sample rate, and sample time for reading the shunt’s voltage. Increasing this value will make voltage readings more accurate, but will take longer to sample.

Triggers

The following triggers are available to execute events from within the INA219 element:

Triggered

Execute an event when the source element connected to the INA219 triggers.

Current Read

Execute an event when current data is read (in micro-amps).

Bus Voltage Read

Execute an event when bus voltage data is read (in milli-volts).

Power Read

Execute an event when power data is read (in milli-watts).

Shunt Voltage Read

Execute an event when shunt voltage data is read (in milli-volts).

Abilities

The following abilities are available for the INA219 element when its source element triggers:

Trigger

Trigger the element(s) that follow the INA219 element.

Read Current

Read the sensor’s current data.

Read Bus Voltage

Read the sensor’s bus voltage data.

Read Power

Read the sensor’s power consumption data.

Read Shunt Voltage

Read the sensor’s shunt voltage data.