@iiot2k/hdc1080

2.0.0 • Public • Published

@iiot2k/hdc1080

platform

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

Package Sidebar

Install

npm i @iiot2k/hdc1080

Weekly Downloads

55

Version

2.0.0

License

Apache-2.0

Unpacked Size

163 kB

Total Files

14

Last publish

Collaborators

  • iiot2k