[
自宅サーバーWebRing
┃
前
|ID=54
前後5表示
|
次
┃
乱移動
|
サイト一覧
]
このサイト内
書籍 DVD CD
Google(日本語)
Google(Web全体)
Google(イメージ)
Google(キャッシュ)
Yahoo! JAPAN
goo 英和
goo 和英
goo 国語
goo 新語
サイトマップ
リンク集
ダウンロード
フォーラム
Users Wiki
最新情報
TOP
»
UsersWiki
»
nao-pon
»
blog
» 2020-12-15 をテンプレートにして作成
|
一覧
検索
最新
ヘルプ
ページへ戻る
履歴
リンク元
印刷
KS0457 keyestudio CCS811 Carbon Dioxide Air Quality Sensor
をテンプレートにして作成
UsersWiki
:nao-pon/blog/2020-12-15 をテンプレートにして作成
開始行:
#navi
RIGHT:&rsslink(../);
#boxdate
* KS0457 keyestudio CCS811 Carbon Dioxide Air Quality Sen...
RIGHT:&tag(ホームオートメーション,ESP8266,センサー,メモ);
** Description
Keyestudio CCS811 carbon dioxide, air quality sensor main...
Keyestudio CCS811 二酸化炭素、大気質センサーは主にCCS811...
** echnical Parameters
- Working voltage: DC 5V
- Working current: 30mA
- Maximum power: 60mW
- eCO2 measurement range: 400-29206 ppm
- TVOC measurement range: 0 to 32768ppb
- Interface: 7pin (2.54mm pitch)
- Positioning hole diameter: 3mm
- Dimensions: 30*20mm
- Environmental attributes: ROHS
-動作電圧:DC 5V
-動作電流:30mA
-最大電力:60mW
-eCO2測定範囲:400-29206 ppm
-TVOC測定範囲:0〜32768ppb
-インターフェース:7ピン(2.54mmピッチ)
-位置決め穴径:3mm
-寸法:30 * 20mm
-環境属性:ROHS
** PINOUTS
|GND|ground|
|VCC|Input power|
|SDA|I2C data pin|
|SCL|I2C clock pin|
|RST|Reset pin: connect to ground, sensor will automatica...
|WAKE|WAKE pin should connect to ground to communicate wi...
|INT|This is the interrupt output pin that detects when a...
** Connection
&ref(800px-0457片3.png,mw:480,mh:360);
** Test Code
NOTE:
+ Place the corresponding file in the libraries folder of...
+ We recommend to use arduino 1.8.7 version , other versi...
#code(){{
#include <CCS811.h>
/*
* IIC address default 0x5A, the address becomes 0x5B if ...
*/
//CCS811 sensor(&Wire, /*IIC_ADDRESS=*/0x5A);
CCS811 sensor;
void setup(void)
{
Serial.begin(115200);
/*Wait for the chip to be initialized completely, and...
while(sensor.begin() != 0){
Serial.println("failed to init chip, please check...
delay(1000);
}
/**
* @brief Set measurement cycle
* @param cycle:in typedef enum{
* eClosed, //Idle (Measurement...
* eCycle_1s, //Constant power mo...
* eCycle_10s, //Pulse heating mod...
* eCycle_60s, //Low power pulse h...
* eCycle_250ms //Constant power mo...
* }eCycle_t;
*/
sensor.setMeasCycle(sensor.eCycle_250ms);
}
void loop() {
delay(1000);
if(sensor.checkDataReady() == true){
Serial.print("CO2: ");
Serial.print(sensor.getCO2PPM());
Serial.print("ppm, TVOC: ");
Serial.print(sensor.getTVOCPPB());
Serial.println("ppb");
} else {
Serial.println("Data is not ready!");
}
/*!
* @brief Set baseline
* @param get from getBaseline.ino
*/
sensor.writeBaseLine(0x847B);
//delay cannot be less than measurement cycle
//delay(1000);
}
}}
** Resource
Download all the relevant info from the link:
- https://fs.keyestudio.com/KS0457
-- &ref(KS0457 keyestudio CCS811 Carbon Dioxide Air Quali...
** Link
- [[ESPHome CCS811 CO_2 and Volatile Organic Compound Sen...
RIGHT:&font(90%){&page_comments;};
#navi
終了行:
#navi
RIGHT:&rsslink(../);
#boxdate
* KS0457 keyestudio CCS811 Carbon Dioxide Air Quality Sen...
RIGHT:&tag(ホームオートメーション,ESP8266,センサー,メモ);
** Description
Keyestudio CCS811 carbon dioxide, air quality sensor main...
Keyestudio CCS811 二酸化炭素、大気質センサーは主にCCS811...
** echnical Parameters
- Working voltage: DC 5V
- Working current: 30mA
- Maximum power: 60mW
- eCO2 measurement range: 400-29206 ppm
- TVOC measurement range: 0 to 32768ppb
- Interface: 7pin (2.54mm pitch)
- Positioning hole diameter: 3mm
- Dimensions: 30*20mm
- Environmental attributes: ROHS
-動作電圧:DC 5V
-動作電流:30mA
-最大電力:60mW
-eCO2測定範囲:400-29206 ppm
-TVOC測定範囲:0〜32768ppb
-インターフェース:7ピン(2.54mmピッチ)
-位置決め穴径:3mm
-寸法:30 * 20mm
-環境属性:ROHS
** PINOUTS
|GND|ground|
|VCC|Input power|
|SDA|I2C data pin|
|SCL|I2C clock pin|
|RST|Reset pin: connect to ground, sensor will automatica...
|WAKE|WAKE pin should connect to ground to communicate wi...
|INT|This is the interrupt output pin that detects when a...
** Connection
&ref(800px-0457片3.png,mw:480,mh:360);
** Test Code
NOTE:
+ Place the corresponding file in the libraries folder of...
+ We recommend to use arduino 1.8.7 version , other versi...
#code(){{
#include <CCS811.h>
/*
* IIC address default 0x5A, the address becomes 0x5B if ...
*/
//CCS811 sensor(&Wire, /*IIC_ADDRESS=*/0x5A);
CCS811 sensor;
void setup(void)
{
Serial.begin(115200);
/*Wait for the chip to be initialized completely, and...
while(sensor.begin() != 0){
Serial.println("failed to init chip, please check...
delay(1000);
}
/**
* @brief Set measurement cycle
* @param cycle:in typedef enum{
* eClosed, //Idle (Measurement...
* eCycle_1s, //Constant power mo...
* eCycle_10s, //Pulse heating mod...
* eCycle_60s, //Low power pulse h...
* eCycle_250ms //Constant power mo...
* }eCycle_t;
*/
sensor.setMeasCycle(sensor.eCycle_250ms);
}
void loop() {
delay(1000);
if(sensor.checkDataReady() == true){
Serial.print("CO2: ");
Serial.print(sensor.getCO2PPM());
Serial.print("ppm, TVOC: ");
Serial.print(sensor.getTVOCPPB());
Serial.println("ppb");
} else {
Serial.println("Data is not ready!");
}
/*!
* @brief Set baseline
* @param get from getBaseline.ino
*/
sensor.writeBaseLine(0x847B);
//delay cannot be less than measurement cycle
//delay(1000);
}
}}
** Resource
Download all the relevant info from the link:
- https://fs.keyestudio.com/KS0457
-- &ref(KS0457 keyestudio CCS811 Carbon Dioxide Air Quali...
** Link
- [[ESPHome CCS811 CO_2 and Volatile Organic Compound Sen...
RIGHT:&font(90%){&page_comments;};
#navi
ページ名:
ぺージ情報
ぺージ名 :
nao-pon/blog/2020-12-15
ページ別名 :
未設定
ページオーナー :
nao-pon
閲覧可
グループ :
すべての訪問者
ユーザー :
すべての訪問者
編集可
グループ :
なし
ユーザー :
ゲスト
Counter: 0, today: 0, yesterday: 0
メインメニュー
ホーム
価格比較 百貨
UsersWiki
新規ページ作成
最新ページ一覧
全ページ一覧
全コメント一覧
ヘルプ
xpwiki
お問い合わせ
ファイルマネージャー
ログイン
ユーザー名:
パスワード:
パスワード紛失
|
新規登録
最近の更新
最新の20件
2023-05-14
nao-pon
/
gmap + gmap_street + gmap_insertmarker
nao-pon
/
googlemaps2
2023-03-22
PublicBlog
/
The Importance of QFP in PCB
2023-02-28
FrontPage
/
PCB terminology you must know
2023-01-20
nao-pon
/
blog
/
ESP8266 を壊してしまいました しかも続けて2回も
2022-09-22
nao-pon
/
blog
/
ESP32 + ESPHome の Bluetooth Proxy で SwitchBot Mater
2022-08-26
nao-pon
/
blog
/
独自ビルドの Tasmota を 12.1.1 へ
2022-08-19
nao-pon
/
blog
/
Zigbee + ZHA のメモ書き
2022-01-17
nao-pon
/
blog
/
HomeAssistant 統合の Tasmota-IRHVAC に貢献
2021-08-03
nao-pon
/
ファイル置き場
/
スペースサワダ
2021-07-01
nao-pon
/
blog
/
HomeAssistant 統合の Tasmota-IRHVAC の不具合修正
2021-06-20
nao-pon
/
blog
/
Tasmota を 9.4.0 から 9.5.0 へアップデート
2021-06-15
nao-pon
/
blog
/
ミンティア[MINTIA] で WiFi 6ボタンスイッチを作った
2021-04-27
PublicBlog
2021-03-17
nao-pon
/
blog
/
SwitchBot 温湿度計を ESP32 でモニタリング
2021-03-13
nao-pon
/
blog
/
東芝エアコンのエントリーモデルもWiFi化
2021-02-23
risoulaser
2021-02-18
nao-pon
/
blog
/
Panasonic (ナショナル) エアコンの 2008 年モデルも WiFi 化
2021-02-15
nao-pon
/
blog
/
Tasmota で HA 端子(JEM-A) 連携
2021-02-07
nao-pon
/
blog
/
Tasmota で三菱エアコンを完全コントロール
オンライン状況
560 人のユーザが現在オンラインです。 (15 人のユーザが UsersWiki を参照しています。)
登録ユーザ: 0
ゲスト: 560
もっと...
サイト情報