@iiot2k/hdc1080
v2.0.0
Published
hdc1080 temperature and humidity sensor
Downloads
55
Maintainers
Readme
@iiot2k/hdc1080
hdc1080 temperature and humidity sensor
Thanks for the coffee !! 😁
Installation
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
Usage
- 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.
Examples
Node.js example is in examples folder C++ example is in cpp folder