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.

HDC3020-Q1: Configure Level of Heater Current

Part Number: HDC3020-Q1
Other Parts Discussed in Thread: HDC3020

Tool/software:

Team,

Customer HDC3020 works fine already. They want to implement heater function for condensation remove now.

Customer enable heater with commander 0x30 0x6D run successfully.

But when they try to Configure & Read Back Heater Settings with commander 0x30 0x6E 0x3F 0xFF 0x06. The I2C write failed.

1. Why this command write fail?

2. What is default heater power level without configging it?

3. How to read back Heater power level setting?

4. I want to enable heater for 5 min and then disable it for 1 min and then do measurement. Is it OK?

  • Hi Ryan,

    1. What is the order of the i2c transactions? The user must configure the heater first, then enable the heater. It seems like they might be doing it backwards. 

    2. Default heater configuration:

    • Power level default is close to quarter power (~66mW at 3.3V)
    • Resistor value default is 165ohms

    3. You can read back the heater settings with hex code 0x30 6E, please see the datasheet Table 7-4 HDC302x Command Table and Section 7.5.4 I2C Reads. 

    4. Yes the user can do that. They can also continue measuring while the heater is running, and observe the RH drop as the sensor is heated. A minute of recovery time after running the heater is likely enough to measure accurate RH readings again.

    Best,

    Sakeenah

  • Sakeenah,

    Now customer power up silicon , then configure the heater first, then enable the heater. but it still fail.

    Very strange. They can config threshold successfully but only config heater fail. Do you have other comment?

  • Hi Ryan,

    Can you tell me more about how did the customer verify the heater config failed? Are they able to verify the power/current draw or the heated device temperature? Are they just trying to read back the heater setting digitally? 

    Can you share any scope shots of the i2c communication?

    Best,

    Sakeenah

  • Sakeenah,

    // Below is Set High Alert 80% RH 60 degree  address0x611D  value0xCD33  CRC0xFD

    2E B2 04 00 3E 74 75 69 2D 6D 63 75 8A A4 00 61 1D 01 CD 33 FD 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    Cmd return success:

    I2C capture:

    // Below is Set Configure Heater Current Full Power  address0x306E  value0x3FFF  CRC0x06

    2E B2 04 00 3E 74 75 69 2D 6D 63 75 8A A4 00 30 6E 01 3F FF 06 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    Cmd sent successful. But return I2C write Fail.

    I2C capture is :

  • Hi Ryan,

    Please give our team some time to check the i2c communication. In the meantime, can you please tell me more about how did the customer verify the heater config failed, is it that the sensor sent a NACK and that's why they log a "fail"? Are they able to verify the power/current draw or the heated device temperature? 

    Best,

    Sakeenah

  • Sakeenah,

    I add some note for I2C signal capture. I found their command Set Configure Heater Current Full Power is wrong. I let them check their code.

    Thanks for your support 

    HDC3030 I2C.pptx