This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/HDC2022EVM: Arduino

Part Number: HDC2022EVM
Other Parts Discussed in Thread: HDC2022, HDC2080, ENERGIA

Tool/software: TI C/C++ Compiler

I want to measure temperature and humidity with Arduino and HDC2022. But nowhere else could I find the Arduino library of HDC2022. May I ask you for an example of the Arduino library and source code of HDC2022 so that I can measure temperature and humidity?

I thought the Arduino library in HDC2080 would be compatible. It failed.

I'm in too much trouble now. Somebody please answer this question. Thanks a lot. T.T

Arduino uses Uno Board and nodeMCU.

  • Dear user6507014 - 

    The HDC2 family will use same code - that assumption was correct. 

    Would you please elaborate on what the failure might have been and what your hardware setup connections are? 

    things to check: 

    1. make sure you have pullup resistors on SDA and SCL lines.

    2. make sure you have correct I2C address (in Energia and Ardunio, they use decimal instead of hex value you would expect, I have encountered that) 

    If its not either of these, then send link to code base you started with.