Scd30 co2 sensor: Difference between revisions

From wikiluntti
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:


CO2 sensor by Sensirion. https://sensirion.com/products/catalog/SCD30/
CO2 sensor by Sensirion. https://sensirion.com/products/catalog/SCD30/
Based on NDIR technology.  
Based on NDIR technology. Temperature and humidity according to the SHT31 sensor on board.
 
See https://learn.adafruit.com/adafruit-scd30


<gallery>
<gallery>
Co2_sensirion_scd30_1.jpg|Caption1
Co2_sensirion_scd30_1.jpg|Caption1
Co2_sensirion_scd30_2.jpg|Caption2
Co2_sensirion_scd30_2.jpg|Caption2
Scd30 pins.png|Pins
</gallery>
</gallery>
Connect
* Board Vin (Red) to Arduino 5V
* Board Gnd (black) to Arduino Gnd
* Board SCL (yellow) to Arduino SCL
* Board SDA (blue) to Arduino SDA


== Theory ==
== Theory ==
Line 24: Line 33:


=== Codes ===
=== Codes ===
Adafruit library: Adafruit SCD30 (and  Adafruit Unified Sensor is installed automatically).
Find an example code from File -> Examples -> Adafruit SCD30


Sensition sample code: https://github.com/Sensirion/embedded-scd/releases/tag/2.1.1
Sensition sample code: https://github.com/Sensirion/embedded-scd/releases/tag/2.1.1

Latest revision as of 10:17, 23 March 2023

Introduction

CO2 sensor by Sensirion. https://sensirion.com/products/catalog/SCD30/ Based on NDIR technology. Temperature and humidity according to the SHT31 sensor on board.

See https://learn.adafruit.com/adafruit-scd30

Connect

  • Board Vin (Red) to Arduino 5V
  • Board Gnd (black) to Arduino Gnd
  • Board SCL (yellow) to Arduino SCL
  • Board SDA (blue) to Arduino SDA

Theory

Air quality

https://sensirion.com/media/documents/87EDEFB9/62601F86/Sensirion_Indoor-Air-Quality_Brochure.pdf

NDIR

Manuals

Codes

Adafruit library: Adafruit SCD30 (and Adafruit Unified Sensor is installed automatically).

Find an example code from File -> Examples -> Adafruit SCD30


Sensition sample code: https://github.com/Sensirion/embedded-scd/releases/tag/2.1.1

Arduino Coding

https://www.arduino.cc/reference/en/libraries/sparkfun-scd30-arduino-library/

https://learn.adafruit.com/adafruit-scd30/arduino


Raspberry Pi Coding

https://pypi.org/project/scd30-i2c/

https://github.com/Sensirion/raspberry-pi-i2c-scd30

https://github.com/postronium/SCD30-Raspberry-Pi

https://simplepush.io/blog/monitor-co2-with-raspberry-pi