AIR QUALITY SENSOR SEN-CCS811V1 1. GENERAL INFORMATION Dear customer, Thank you for purchasing our product. In the following, we will show you which things should be observed during the use. Should you encounter any unexpected problems, do not hesitate to contact us. www.joy-it.net Pascalstr.
. INSTRUCTIONS FOR USE When using this module, please note that you must perform a so-called Burn-In. This means that for the first 48 hours you will take measurements with the sensor in the mode of your choice. This is because the resistances and sensitivity changes within these first 48 hours, which makes the measurement results inaccurate within this time. There is also the so-called Run-In.
. USAGE WITH THE RASPBERRY PI 1. Connection Raspberry Pi CCS811V1 3v3 VCC GND GND SCL SCL SDA SDA GND Wake (Pin 1) (Pin 6) (Pin 5) (Pin 3) (Pin 14) 2. Code example To execute the code example, first download the edited code from us here or type the following command into the console: wget https://joy-it.net/files/files/Produkte/SEN-CCS811V1/CCS811V1-Python.zip You can use the following command to extract the file and delete the .zip file. Please note that your directory may differ.
Go to Interface Options → and activate I2C. Now open the config.txt to reduce the I2C baudrate. sudo nano /boot/config.txt Add the following line there: dtparam=i2c_baudrate=10000 Save with CTRL + O and exit the editor with CTRL + X. Now restart the Raspberry Pi: sudo reboot Now execute the following command: sudo pigpiod You can now enter the following command to start the code example. In the code example you will see the eCO2 and TVOC output every second and the sensor is in mode 1 by default.
4. USAGE WITH THE ARDUINO 1. Connection Arduino CCS811V1 5V VCC GND GND SCL SCL SDA SDA GND Wake (A5) (A4) 2. Installation You have to install the following library to use the sensor. Click on Sketch → Include Library → Manage Libraries... www.joy-it.net Pascalstr.
Search for CCS811 and install the Adafruit CCS811 Library by Adafruit. 3. Code example Now copy the following code example into your IDE and click on Upload. Also open the serial monitor and set the baudrate to 9600 so you can see the output. /*************************************************************************** This is a library for the CCS811 air This sketch reads the sensor Designed specifically to work with the Adafruit CCS811 breakout ----> http://www.adafruit.
if(!ccs.begin()){ Serial.println("Failed to start sensor! Please check your wiring."); while(1); } //calibrate temperature sensor while(!ccs.available()); float temp = ccs.calculateTemperature(); ccs.setTempOffset(temp - 25.0); } void loop() { if(ccs.available()){ float temp = ccs.calculateTemperature(); if(!ccs.readData()){ Serial.print("CO2: "); Serial.print(ccs.geteCO2()); Serial.print("ppm, TVOC: "); Serial.print(ccs.getTVOC()); Serial.print("ppb Temp:"); Serial.println(temp); } else{ Serial.
5. OTHER INFORMATION Our information and take-back obligations according to the Electrical and Electronic Equipment Act (ElektroG) Symbol on electrical and electronic equipment: This crossed-out dustbin means that electrical and electronic appliances do not belong in the household waste. You must return the old appliances to a collection point. Before handing over waste batteries and accumulators that are not enclosed by waste equipment must be separated from it.