Maker.io main logo

Qwiic Adapter Hookup Guide

2018-02-26 | By SparkFun Electronics

License: General Public License

Courtesy of Sparkfun

Qwiic Adapter Hookup Guide

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 AdapterSparkFun Qwiic Adapter

Suggested Materials

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

  • Break Away Headers - Straight
  • Female Headers
  • Break Away Male Headers - Right Angle

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

Note: Depending on your development board and system's voltage level, you may also need to use a logic level converter. Certain stackable breakout boards have a built in logic level converter (such as the Qwiic Shield for Arduino. If it is not included in the design, you will need to grab the bi-directional logic level converter.

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.

  • Hakko FX888D Soldering Station
  • Solder Lead Free - 100-gram Spool
  • Needle Nose Pliers
  • Diagonal Cutters

Suggested Reading

If you aren’t familiar with our new Qwiic system, we recommend reading here for an overview. We would also recommend taking a look at the following tutorials if you aren’t familiar with them.

How to Solder Through-Hole Soldering

How to Solder: Through-Hole Soldering
This tutorial covers everything you need to know about through-hole soldering.

Logic Levels

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

I2C

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:

More I2C Please

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

制造商零件编号 DEV-14495
QWIIC ADAPTER
SparkFun Electronics
¥13.02
Details
制造商零件编号 PRT-14425
QWIIC CABLE - BREADBOARD JUMPER
SparkFun Electronics
¥12.21
Details
制造商零件编号 PRT-14429
QWIIC CABLE - 500MM
SparkFun Electronics
¥17.83
Details
制造商零件编号 PRT-14427
QWIIC CABLE - 100MM
SparkFun Electronics
¥12.70
Details
制造商零件编号 PRT-14426
QWIIC CABLE - 50MM
SparkFun Electronics
¥7.73
Details
制造商零件编号 DEV-14352
QWIIC SHIELD FOR ARDUINO
SparkFun Electronics
¥61.05
Details
制造商零件编号 BOB-12009
EVAL BOARD FOR BSS138
SparkFun Electronics
¥28.49
Details
制造商零件编号 SEN-13944
9DOF SENSOR STICK
SparkFun Electronics
¥146.11
Details
制造商零件编号 SEN-13762
SPARKFUN IMU BREAKOUT - MPU-9250
SparkFun Electronics
¥125.97
Details
制造商零件编号 BOB-13303
FREEDOM BOARD 6DEG LSM303C 13303
SparkFun Electronics
¥89.13
Details
制造商零件编号 SEN-13339
SPARKFUN 6 DEGREES OF FREEDOM BR
SparkFun Electronics
¥93.61
Details
制造商零件编号 SEN-13963
EVAL BOARD ACCELEROMETER LIS3DH
SparkFun Electronics
¥52.91
Details
制造商零件编号 SEN-12670
EVAL BOARD FOR MAG3110
SparkFun Electronics
¥121.69
Details
制造商零件编号 SEN-12916
SPARKFUN HMC6343 BREAKOUT
SparkFun Electronics
¥1,882.39
Details
制造商零件编号 SEN-13676
BME280 ATMOSPHERIC SENSOR NO HDR
SparkFun Electronics
¥175.01
Details
制造商零件编号 SEN-12909
SPARKFUN PRESSURE SENSOR BREAKOU
SparkFun Electronics
¥525.04
Details
制造商零件编号 SEN-13763
HUMIDITY & TEMPERATURE SENSOR BR
SparkFun Electronics
¥89.13
Details
制造商零件编号 SEN-13314
TMP102 DIGITAL TEMP SENSOR BOARD
SparkFun Electronics
¥44.77
Details
制造商零件编号 SEN-14045
PARTICLE SENSOR BREAKOUT BOARD
SparkFun Electronics
¥113.55
Details
制造商零件编号 SEN-14193
AIR QUALITY SENSOR BOARD
SparkFun Electronics
¥189.58
Details
制造商零件编号 SEN-12785
BOARD RANGE SENSOR TOF VL6180
SparkFun Electronics
¥240.13
Details
制造商零件编号 LCD-13003
GRAPHIC DISPLAY OLED BLUE 0.66"
SparkFun Electronics
¥150.65
Details
制造商零件编号 SEN-12787
RGB AND GESTURE SENSOR APDS-9960
SparkFun Electronics
¥134.31
Details
制造商零件编号 SEN-12829
RGB LIGHT SENSOR - ISL29125
SparkFun Electronics
¥77.33
Details
制造商零件编号 BOB-12918
MCP4725 DAC BREAKOUT
SparkFun Electronics
¥48.43
Details
制造商零件编号 BOB-13601
16 OUTPUT I/O EXPANDER BREAKOUT
SparkFun Electronics
¥56.57
Details
制造商零件编号 PRT-13777
BATTERY BABYSITTER LIPO BATTERY
SparkFun Electronics
¥175.01
Details
制造商零件编号 ROB-14538
HAPTIC MOTOR DRIVER - DRV2605L
SparkFun Electronics
¥77.33
Details
Add all DigiKey Parts to Cart
TechForum

Have questions or comments? Continue the conversation on TechForum, DigiKey's online community and technical resource.

Visit TechForum