mille-feuilleAutomatic Schematic Creation Tool

Humidity Sensor
(湿度センサー)

step

Features

step



対応プラットフォーム
o ATMEGA328P
o Raspberry Pi


I2Cデバイスのため、I2Cのアドレス変更ができないため、1種類のI2Cデバイスを1つだけmille-feuilleに接続できます。
Download datasheet
Main component : HDC1080 - 低消費電力、高精度デジタル湿度センサー&温度センサー
• Relative Humidity Accuracy ±2% (typical)
• Temperature Accuracy ±0.2°C (typical)
• Excellent Stability at High Humidity
• 14 Bit Measurement Resolution
• 100 nA Sleep Mode Current
• Average Supply Current:
• 710 nA @ 1sps, 11 bit RH Measurement
• 1.3 µA @ 1sps, 11 bit RH and Temperature Measurement
• Supply Voltage 2.7 V to 5.5 V
• Small 3 mm x 3 mm Device Footprint
• I2C Interface

step

Programming

Sample program for Arduino IDE
HDC1080 Library

Sample program
HumidityTest.py
* functions *
import Humidity

def getInfo(Number) : デバイスボードの情報を取得します
Number : 接続するベースボードのコネクタ番号を指定します

def init() :デバイス初期化

def readTemp() : 温度データ取得
return : 摂氏と生データ

def readHumidity() : 湿度データ取得
return : 湿度(%)と生データ