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: Environment setup for multi-channel measurement

Part Number: HDC3020-Q1
Other Parts Discussed in Thread: HDC3020EVM, HDC2010, MSP430F5528, USB2ANY, MSP-EXP430F5529LP, ENERGIA

Hi TI Team,

My customer is considering the replacement of their humidity sensor from SENSIRION's sensor to HDC3020-Q1. They want to verify the multi-channel or multi-point measurement of more than 4-ch with several HDC3020EVMs. But the configuration of HDC3020EVM and GUI is only for 1-ch measurement. I think that the multi-channel interface board and simple log data of each channel's humidity/temp are needed to meet their requirements. Do you have any ideas for this issue? Please check it and let me know.

Regards,

  • Dear Jeffrey - 

    Thanks for the post. We do not currently have this available for this EVM. Here I would recommend, as this part is a direct replacement, for them to populate HDC3020-Q1 devices on to their current PCBs for testing, of course assuming two PCBs, if they are using two SHT3x devices per board (since that device only is capable of supporting two I2C addresses, versus the four that the HDC3x is capable of) - please do let us know if this is not possible and they are still looking for an alternate solution or more testing ideas.  

  • Hi Josh,

    Thanks for your response. They can't use Sensirion's test board with HDC3020-Q1 because SHT4x can't be replaced to TI sensor. So I suggested the configuration of HDC3020EVM(board of MCU part) and four TI sensor board connected with power/I2C/GND. I will discuss with my customer about this suggestion.

    Regards,

  • Dear Jeffrey - 

    Thanks for mentioning the family of SHT parts. The SHT4 is more comparable to the HDC2 family with regards to performance. If their key care about is size, the HDC2010 is a better match, but it is not auto rated. Please do let us know what more information and requirements are in place here and also if they are indeed looking at the AW1AB version. 

  • Dear Josh

    Could I get source code of HDC3020EVM?

    I need the source code to read data from 4 devices and print log data to console window.

    If you can't provide it, could I get driver or example source?

    Regards,

  • Dear SY - 

    The "source" for the EVM is here: https://dev.ti.com/gallery/search/HDC3 

    You can download it into GUI Composer using this button

    This GUI supports four I2C addresses and would have to be modified to switch between them automatically. 

    Alternatively - if there is another hardware platform designed, embedded code could be written to accommodate and log, too. 

  • Dear Josh,

    Thank you for your reply. 

    But I will don't use GUI tool. 

    I want source code of MSP430F5528 on the EVM.

    I will modify this code to test customer's configuration.

  • Dear SY - 

    That is the way that EVM works - the source code for the MSP430 is generic and is just performing the USB2ANY (in this case to I2C) function. All the code you would normally expect to be in the MCU is actually running from the PC resources. 

    If want a real embedded code example, you can either use ASC Studio or we can help provide you an example, if you have an MCU in mind to use. One option that would be easy to help you out with would be running on a LaunchPad, i.e. MSP-EXP430F5529LP. 

    Please do let us know which way you want to proceed here. 

  • Dear Josh,

    I'm sorry for late reply.

    I have an MSP-EXP430F5529LP. 

    If you have example on the MSP-EXP430F5529LP, please provide me code. 

  • Dear SY - 

    No problem - give us a few days and we will get something at least to start with for you. 

  • Dear SY - 

    As promised, please find an Energia sketch attached here and also the compiled binary image to load (in case you want to just test your configuration before modifying). This tested code exercises four HDC302x devices, with each set for individual I2C addresses (0x44 through 0x47) in sequence and at a 1Hz loop rate.

    Output looks like this, so you can log directly from it into a .csv file, with a timestamp on each sample line (put on by the terminal). (click on image to enlarge)

    Saleae logic capture also included for your reference. Viewer is here: https://www.saleae.com/downloads/ 

    2538.HDC3x_ADDR44_ADDR47_2.ino

    5618.HDC3x_ADDR44_ADDR47_2.ino.MSP-EXP430F5529LP.hex

    HDC3x_four_I2C_from_reset.sal

    Please advise if you need anything more!