Download Print this page

sparkfun SGP30 Hook-Up Manual page 8

Air quality sensor

Advertisement

If you decide to use the PTH pins broken out on the Air Quality Sensor you will need to either solder to them.
Alternatively, if you want a temporary connection for prototyping, these IC Hooks are a great option to make that
connection. If you are not familiar with through-hole soldering take a look at this tutorial:
How to Solder: Through-Hole Soldering
SEPTEMBER 19, 2013
This tutorial covers everything you need to know about through-hole soldering.
With the SGP30 connected to your microcontroller it's time to get some code uploaded and start taking
measurements!
SGP30 Arduino Library
Note: This library assumes you are using the latest version of the Arduino IDE on your desktop. If this is your
first time using Arduino, please review our tutorial on installing the Arduino IDE. If you have not previously
installed an Arduino library, please check out our installation guide.
The SparkFun SGP30 Arduino library can be downloaded with the Arduino library manager by searching
'SparkFun SGP30' or you can grab the zip here from the GitHub repository:
Library Functions
The list below outlines all of the functions of the library with some quick descriptions of what they do. The
examples cover most of the functions so take a look at those for demonstrations of how to integrate them in your
code.
Before we get into the heart of the functions, we'll first cover a setup type definition that helps with debugging. This
enum parses the four integer values returned by the SGP30 to a more "human readable" way.
SPARKFUN SHTC3 ARDUINO LIBRARY (ZIP)

Advertisement

loading
Need help?

Need help?

Do you have a question about the SGP30 and is the answer not in the manual?