Zio Current & Voltage Sensor Qwiic Start Guide


This post is part of our Zio Qwiic Start Guide Blog Series.



Table of Contents


  1. Introduction
  2. Zio Qwiic Current & Voltage Sensor Overview
  3. Configuring your Zio Qwiic Current & Voltage Sensor
  4. Modules Connection Setup
  5. Testing example Code





This board can be used for many applications such as estimating battery life, measuring battery levels, tracking solar power generation or monitoring the amount and cost of electricity consumption. 


It can measure voltage up to +26VDC, incorporating a 0.1 ohm shunt resistor for measuring the current (labeled at R100). The INA219 has a very precise rate on measuring voltage draw over the shunt. The current flow is determined along the voltage drop over the shunt, based on Ohm’s law. With the voltage and current known, the power can be also calculated. 



Zio Qwiic Current & Voltage Sensor Overview



  1.  Power and Logic Pins
    • Power Pins: VIN+, VIN-, GND, 3V3
    • Logic Pins: SDA, SCL
  2. Qwiic connector
  3.  Vin+ and Vin- Terminal
  4.  INA219 IC
  5. R100 Resistor



Configuring your Zio Qwiic Current & Voltage Sensor


 Difficulty Level: 

Helpful Resources:


This qwiic guide has a separate post on our development board guides. Check them out below:

Installing Libraries


You need to install the following libraries to your Arduino IDE before you can start programming your Zuino board with Zio Qwiic Current & Voltage Sensor. 


Download the following libraries and save it on your local Arduino IDE libraries folder:


Adafruit INA219 Library

To install the libraries open your Arduino IDE, go to Sketch tab, select Include Library -> Add .Zip Library. Select the above libraries to be included on your IDE.


Connection Set up






Testing Example Codes


For this example, we will monitor the current & voltage value of our Zio Qwiic Ultrasonic Distance Sensor using the Zio Qwiic Current & Voltage Sensor.



1.Get Current Test

Open your Arduino

Go to File > Examples > Adafruit INA219 > getcurrent



Open Serial editor at 115200 baud rate to view the results 




Got questions or suggestions? Or just want to greet us? Drop us a comment below!



Leave a Comment