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.

[FAQ] HDC3020: Is there an Energia or Arduino example available?

Part Number: HDC3020
Other Parts Discussed in Thread: HDC3021, HDC3022, MSP-EXP430F5529LP, ENERGIA

The HDC3 family of digital temperature and relative humidity sensors support multiple I2C addresses and the EVM for this device only supports one device at a time - is there a simple Arduino example to use which exercises more than one sensor from the same MCU? 

  • Yes, there are two simple examples available in either platform, which are attached here. 

    These exercise the HDC3 devices, using the four possible 7 bit I2C addresses (0x44, 0x45, 0x46 and 0x47); reading temp and %RH from the devices and sending data out over UART, for csv logging purposes (@115200, 8N1). These can be used with the HDC3020, HDC3021 and HDC3022. 

    Arduino example (tested on MEGA2560)

    HDC3x_ADDR44_ADDR45.ino

    Energia example (tested on MSP-EXP430F5529LP)

    7115.HDC3x_ADDR44_ADDR47.ino