Qwiic Adapter Hookup Guide

Pages
Contributors: Englandsaurus
Favorited Favorite 0

Introduction

The SparkFun Qwiic adapter board is the perfect board to use if you need to make any old I2C board into a Qwiic enabled board. This adapter breaks out the I2C pins from the Qwiic connectors to pins that you can easily solder with your favorite I2C enabled device.

SparkFun Qwiic Adapter

SparkFun Qwiic Adapter

DEV-14495
$1.50

Suggested Materials

To follow along with this tutorial, you will need a I2C enabled device and some headers:

Break Away Headers - Straight

Break Away Headers - Straight

PRT-00116
$1.50
20
Female Headers

Female Headers

PRT-00115
$1.50
7
Break Away Male Headers - Right Angle

Break Away Male Headers - Right Angle

PRT-00553
$1.95
4

You will also need our handy Qwiic connectors to easily connect the adapter to your development board or system. Below are a few options:

Qwiic Cable - 100mm

Qwiic Cable - 100mm

PRT-14427
$1.50
Qwiic Cable - Breadboard Jumper (4-pin)

Qwiic Cable - Breadboard Jumper (4-pin)

PRT-14425
$1.50
Qwiic Cable - 500mm

Qwiic Cable - 500mm

PRT-14429
$1.95
Qwiic Cable - 50mm

Qwiic Cable - 50mm

PRT-14426
$0.95

Tools

You will need a soldering iron, solder, and general soldering accessories. To modify the headers, you will also need needle nose pliers and diagonal cutters.

Solder Lead Free - 100-gram Spool

Solder Lead Free - 100-gram Spool

TOL-09325
$7.95
7
Needle Nose Pliers

Needle Nose Pliers

TOL-08793
$1.95
1
Diagonal Cutters

Diagonal Cutters

TOL-08794
$1.95
2

Hakko FX888D Soldering Station

TOL-11704
53 Retired

Suggested Reading

If you aren’t familiar with the Qwiic system, we recommend reading here for an overview.

Qwiic Connect System
Qwiic Connect System

We would also recommend taking a look at the following tutorials if you aren’t familiar with them.

How to Solder: Through-Hole Soldering

This tutorial covers everything you need to know about through-hole soldering.

Logic Levels

Learn the difference between 3.3V and 5V devices and logic levels.

I2C

An introduction to I2C, one of the main embedded communications protocols in use today.

Hardware Overview

There are a few things you should know about the Qwiic system before you go plugging in I2C devices willy nilly. The first thing to be aware of is that all Qwiic devices run on 3.3V. So if you have a 5V device and you are not using a stackable breakout board with a logic level converter (such as the Qwiic Shield for Arduino), you’ll need to grab a logic level converter to boost your signals up to 5V. Also, be aware that all Qwiic devices have pull-up resistors on the I2C lines. So if your device does not have it, you’ll need to add those in or use the ones on your microcontroller.

The Qwiic adapter is populated with two 4-pin 1mm JST connectors to quickly connect your I2C devices together. Four plated through holes are broken out for SCL, SDA, 3.3V, and GND. These pins can be used to convert an old I2C enabled device into a Qwiic enabled board.

Top view of Qwiic Adapter

Hardware Assembly

There are several different ways to connect your I2C device to the Qwiic adapter. The simplest and probably cleanest method would be to use headers. This also allows the adapter to be reattached to a different I2C device in the future. I’ve found that I enjoy the look of the 90 degree male headers on the Qwiic Adapter, combined with a 90-degree bend in the legs on the female headers I2C device. However, you can really use any combination you’d like depending on how you want the adapter to be oriented relative to your I2C enabled board.

Using pliers, snap off a row of 4 pins from the right angle male header. Using diagonal cutters, you will need to sacrifice one socket in order cut off a row of 4 pins from the female header. Carefully bend the female header’s pins using the pliers to make a right angle with the I2C device. Solder the male headers to the Qwiic adapter and the female headers to the I2C device as shown in the image below.

Qwiic Adapter attached with 90-degree Headers

Once you’ve got headers soldered onto each of your boards, simply plug your adapter into your I2C enabled device. Using a Qwiic cable, plug your Qwiic adapter into a stackable Qwiic board of your choice. Assuming that there is example code loaded on your development board, you can now start reading data from your I2C enabled device!

Resources and Going Further

For more information, check out the resources below:

Now that you have your Qwiic adapter ready to go, it’s time to check out some of SparkX’s Qwiic enabled products, many of which are on their way to becoming good old fashioned SparkFun products.

Qwiic Mux - PCA9548A

SPX-14293
Retired

Qwiic Micro OLED

SPX-14269
Retired

Qwiic Water-Resistant OLED

SPX-14287
Retired

Magnetometer (Qwiic) - MLX90393

SPX-14294
Retired

More I2C Please

Here is the list of the boards that have the standard I2C pinout and will work with the Qwiic adapter board: