09-15-2015 09:32 AM
thank you very much!
Works well with the Evaluation Kit EK-H5 and the SHT21 on LV2014 SP1
09-16-2015 02:31 AM
Sorry for the fast hype....
The Vi does not work with the SHT21.
Communication works but the conversion from the measured RH% and T values is not correct.
I did put in the conversion math from the SHT21 datasheet but it doesnt work either.
Probably the USB-dongle does need to recieve some other commands to work with the SHT21 but until now I couldnt figure it out.
Does anybody have another solution?
09-16-2015 09:20 AM
Can you put the vi you have NOW and perhaps some of us can see if we can fix it and share that with you...
I am not sure WHICH vi you are trying...
09-17-2015 01:27 AM
Hey davekorpi,
thanks for the fast reply!
I was trying to modify the llb shared before in this thread in order to work with the SHT21.
I tried to put in the valueconversion for the SHT21 (red) rather than the one for the SHT75 (blue) but as said, I only get weird numbers.
It is in the IOWarrior_SHT75_GetTempHumid.vi of the attached llb.
Funny thing is: when I use the conversion for the SHT75 I get the same wrong numbers as when I use the Sensirion USB-Software and tell it that a SHT75 is attached (as in: 10 degC lower Temperature readings, some % off RH readings).
But when I use the "right" conversions as in the attachment I get weird numbers way off something meaningful.
09-17-2015 01:38 AM
Your code looks fine!
I do not know why it does not work.
I had quite a difficult time getting any help from Sensirion.
Those guys at Code Warrior are helpful if you can get to them.
I will be looking into it more!
Just 10 Deg C off or really strange numbers!
Wonder if a bit is "shifted" one too many or something crazy like that!
11-04-2015 01:54 AM
for sht21 you need to write 2^14
(T=-46.85 + 175.72* rawT/(2*2*2*2*2*2*2*2*2*2*2*2*2*2)