hdc1080 temperature and humidity sensor
npm install @iiot2k/hdc1080
or add in your package.json
:
"dependencies": {
"@iiot2k/hdc1080": "latest"
},
View on npm📌
View on GitHub📌
Report any issues here📌
hdc1080📌 14bit temperature and humidity sensor
- This library works on Raspberry Pi with 32bit or 64bit OS.
- The output value is °C and %rH.
- Enable I2C with raspi-config.
- In this case i2c-1 is enabled (port=1).
- If you use i2c-0 port add
dtparam=i2c_vc=on
to /boot/config.txt,
then Pin27=SDA, Pin28=SCK.
- For other ports add this to /boot/config.txt.
Node.js example is in examples folder
C++ example is in cpp folder