Installing the Arduino Library
Arduino
Arduino IDE
This example assumes you are using the latest version of the Arduino IDE on your desktop. If this is your first time using Arduino IDE and an library, please review the following tutorials.
USB-to-Serial Drivers
If you've never connected an CH340 device to your computer before, you may need to install drivers for the USB-to-serial converter. Check out our section on "How to Install CH340 Drivers" for help with the installation.
ENS160
SparkFun has written a library to work with the SparkFun Indoor Air Quality Sensor - ENS160 (Qwiic). This library can be used by extension with the Qwiic Environmental Combo Breakout - ENS160/BME280. You can obtain this library through the Arduino Library Manager by searching for "ENS160". Find the one written by SparkFun Electronics and install the latest version. Users who prefer to manually install the library can get it from the GitHub Repositoryor download the .ZIP by clicking the button below:
BME280
SparkFun has written a library to work with the SparkFun Qwiic Atmospheric Sensor - BME280 (Qwiic). This library can be used by extension with the Qwiic Environmental Combo Breakout - ENS160/BME280. You can obtain this library through the Arduino Library Manager by searching for "BME280". Find the one written by SparkFun Electronics and install the latest version. Users who prefer to manually install the library can get it from the GitHub Repository or download the .ZIP by clicking the button below: