Qwiic Shield for Arduino & Photon Hookup Guide

Pages
Contributors: Englandsaurus
Favorited Favorite 1

Introduction

The Qwiic Shield (for Arduino or Particle Photon) is the first step in getting acquainted with SparkFun’s Qwiic connect ecosystem. It connects the I2C bus (GND, 3.3V, SDA, and SCL) on your Arduino or Photon board to a series of SparkFun Qwiic connectors. The board already has the circuitry to convert the 5V given to the 3.3V required by I2C boards in our Qwiic ecosystem. The Arduino shield also has holes for mounting Qwiic boards. Since the Qwiic system allows for daisy chaining (as long as your devices are on different addresses) you can stack as many sensors as you’d like to create a tower of sensing power!

SparkFun Qwiic Shield for Arduino

SparkFun Qwiic Shield for Arduino

DEV-14352
$5.95
SparkFun Qwiic Shield for Photon

SparkFun Qwiic Shield for Photon

DEV-14477
$4.95

Here’s a quick overview of the Qwiic shield for Arduino. The Qwiic shield for Photon is similar but made for the Particle Photon’s footprint.

Required Materials

To follow along with this hookup guide, you will need any Arduino with the R3 header footprint, or a Photon Board. This includes the Uno, RedBoard and many other Arduino compatible boards! Here are just a few of the compatible boards.

SparkFun RedBoard - Programmed with Arduino

SparkFun RedBoard - Programmed with Arduino

DEV-13975
$19.95
35
Arduino Uno - R3

Arduino Uno - R3

DEV-11021
$24.95
115
Arduino Mega 2560 R3

Arduino Mega 2560 R3

DEV-11061
$45.95
53
Particle Photon (Headers)

Particle Photon (Headers)

WRL-13774
$19.00
28

Now you probably didn’t buy the Qwiic shield if you didn’t have any Qwiic products to use with it, right? Well, if you don’t have any Qwiic products, the following might not be a bad place to start.

SparkFun Environmental Combo Breakout - CCS811/BME280 (Qwiic)

SparkFun Environmental Combo Breakout - CCS811/BME280 (Qwiic)

SEN-14348
$34.95
9
SparkFun GPS Breakout - XA1110 (Qwiic)

SparkFun GPS Breakout - XA1110 (Qwiic)

GPS-14414
$44.95
3
SparkFun Spectral Sensor Breakout - AS7262 Visible (Qwiic)

SparkFun Spectral Sensor Breakout - AS7262 Visible (Qwiic)

SEN-14347
$24.95
1
SparkFun Qwiic Adapter

SparkFun Qwiic Adapter

DEV-14495
$0.95

Finally, you’ll need our handy Qwiic connectors to easily connect sensors to your Qwiic shield. Below are a few options.

Qwiic Cable - 100mm

Qwiic Cable - 100mm

PRT-14427
$1.50
Qwiic Cable - 200mm

Qwiic Cable - 200mm

PRT-14428
$1.50
Qwiic Cable - 500mm

Qwiic Cable - 500mm

PRT-14429
$1.95
Qwiic Cable - 50mm

Qwiic Cable - 50mm

PRT-14426
$0.95

Required Tools

You will need a soldering iron, solder, and general soldering accessories to solder the header pins to the Qwiic shields.

Solder Lead Free - 15-gram Tube

Solder Lead Free - 15-gram Tube

TOL-09163
$3.50
2
Soldering Iron - 30W (US, 110V)

Soldering Iron - 30W (US, 110V)

TOL-09507
$9.95
6

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

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

Arduino Shields

All things Arduino Shields. What they are and how to assemble them.

I2C

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

Hardware Overview

Qwiic Shield for Arduino

The Qwiic Shields have 4x Qwiic connect ports, all on the same I2C bus. Logic level converters are included for the Qwiic connect port’s SDA and SCL lines so you do not have to worry about using the Qwiic system with 5V (or 3.3V) devices.

In addition to this, a large prototyping area is included. As shown in the image below, the Qwiic shield for Arduino has a few neat features such as a few 3-by-1 rails to help with prototyping.

1x3 rail Arduino Shield

There are also buses for ground, 5V and 3.3V on the shield for Arduino outlined below.

Voltage and GND Rails on Arduino Shield

The headers also allow for every pin on the microcontroller of your choice to still be accessed through the female headers.

Qwiic Shield for Photon

The Qwiic shield for the Particle Photon also includes 4x Qwiic connect ports, a prototyping area, and buses for 3.3V and ground. However, they are much smaller. The Photon is a 3.3V system and assumes that you are using 3.3V devices so logic level conversion is not included in the design. If you are using a 5V based I2C device, be sure to grab a bi-directional logic level converter.

Qwiic Shield for Photon

Hardware Assembly

To get started with your Qwiic shield, all you’ll need to do is solder on headers. For a detailed description of how to do this with Arduino shields, simply check out our Arduino shield tutorial. It’ll get you started with attaching those headers to your shield properly. These tips are also useful when installing the headers for the Qwiic shield for Photon.

Once you’ve attached headers to your Qwiic shield, you’re ready to plug it into your Qwiic enabled board of choice. Below is an example of a few Qwiic sensors daisy chained to the Qwiic shield for Arduino. If you need to mount a Qwiic sensor, just grab a few standoffs and screws. Plug in any Qwiic enabled board and get going!

qwiic action

Resources and Going Further

For more information, check out the resources below:

Now that you have your Qwiic shield 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

Magnetometer (Qwiic) - MLX90393

SPX-14294
Retired

Qwiic Water-Resistant OLED

SPX-14287
Retired

Qwiic Micro OLED

SPX-14269
Retired

But I Already Have Sensors!

If you already have a handful of SparkFun sensors and parts? SparkFun has been putting our standard GND/VCC/SDA/SCL pinout on all our I2C boards for many years. This makes it possible to attach a Qwiic Adapter that will get your SparkFun I2C sensor or actuator onto the Qwiic system.

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