Skip to content

SkyRats/CCS811_Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CCS811_Driver

How to use

First time:

sudo apt install i2c-tools chmod 777 start.sh chmod 777 readCO2.py sudo visudo username ALL=(ALL) NOPASSWD: /usr/sbin/i2cget, /usr/sbin/i2cset

Run(When turn the sensor on):

./start.sh

Or you can call the function "start" in the script, it will run the command above

To connect the sensor on odroid xu4:

Pin VCC no pin 29 (1.8V)

Pin GND no pin 28 (GND)

Pin SCL no pin 14 (I2C_1.SCL)

Pin SDA no pin 16 (I2C_1.SDA)

Pin WAK no pin 2 (GND)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published