{"repo":"Sensirion/raspberry-pi-i2c-scd30","free":true,"listed":false,"github":"https://github.com/Sensirion/raspberry-pi-i2c-scd30","clone":"git clone https://github.com/Sensirion/raspberry-pi-i2c-scd30.git","description":"Raspberry-Pi I2C driver for Sensirion's SCD30 sensor","language":"C","stars":23,"topics":["co2","co2-sensor","driver","humidity","i2c","raspberry-pi","sensirion","temperature"],"license":"BSD-3-Clause","category":"self-hosted-apps","readme_excerpt":"Sensirion Raspberry Pi I²C SCD30 Driver The repository provides a driver for setting up a SCD30 sensor to run on a Raspberry Pi over I²C. Click here to learn more about the Sensirion SCD30 sensor. The default I²C address of SCD30 is 0x61 . Connect the sensor Your sensor has 7 different connectors: VDD, GND, SCL, SDA, RDY, PWM, SEL. Use the following pins to connect your SCD30: SCD30 Cable Color Raspberry Pi :----------------: -------------- ------------------ VDD red Pin 1 GND black Pin 6 SCL yellow Pin 5 SDA green Pin 3 RDY Pin PWM Pin SEL blue Pin 9 Detailed sensor pinout Pin Cable Color Name Description Comments ------- --------------- :------: ---------------- ------------ 1 red VDD Supply Voltage 3.3V to 5.5V 2 black GND Ground 3 yellow SCL I2C: Serial clock input 4 green SDA I2C: Serial data input / output 5 RDY High when data is available - do not connect 6 PWM do not connect 7 blue SEL Interface select Pull to ground or floating for I2C Quick start example - Install the Raspberry Pi OS on to your Raspberry Pi - Enable the I²C interface in the raspi-config - Download the SCD30 driver from Github and extract the .zip on your Raspberry Pi - Connect the SCD30 sensor as explained in the section above - Compile the driver 1. Open a terminal 2. Navigate to the driver directory. E.g. cd /raspberry-pi-i2c-scd30 3. Navigate to the subdirectory example-usage. 4. Run the make command to compile the driver Output: - Test your connected sensor - Run ./scd30 i2c example usage in the","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sensirion","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sensirion/raspberry-pi-i2c-scd30/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}