Search found 4 matches

by andreu
Sun Mar 02, 2014 9:36 am
Forum: IO-Warrior English
Topic: Interface with Sensirion EKH5 with Sensor SHT2x
Replies: 7
Views: 24156

Re: Interface with Sensirion EKH5 with Sensor SHT2x

Hi there,

I already found where the problem was. Now I get the temperature without problem.
At the end of the SHT2x datasheet it states that you can use the same protocol as in SHT7 so I did that based on this entry:

http://forum.codemercs.com/viewtopic.php?f=1&t=1694

//sensor first time setup ...
by andreu
Sat Mar 01, 2014 7:17 pm
Forum: IO-Warrior English
Topic: Interface with Sensirion EKH5 with Sensor SHT2x
Replies: 7
Views: 24156

Re: Interface with Sensirion EKH5 with Sensor SHT2x

Hi,

thanks I tried that, but I always get following result back:
1st read:
report[0] = 2
report[1] = 128
2nd read:
report[0] = 3
report[1] = 128
and so on... (being the rest of the values 0).

which does not seem to me any temperature reading...
I have also tried to add the Read Temperature command ...
by andreu
Fri Feb 28, 2014 7:13 pm
Forum: IO-Warrior English
Topic: Interface with Sensirion EKH5 with Sensor SHT2x
Replies: 7
Views: 24156

Re: Interface with Sensirion EKH5 with Sensor SHT2x

Hi,

yes I took a look at the data sheet. The problem is that writing address 0x80 (128), the iowkit write function gives back 0 bytes written...

this is what I do:

//Soft reset
report[0] = 0x80; //I2c address + write
report[1] = 0xFE; // Soft reset
ret = IOWarrior.Functions.IowKitWrite(Handle, 1 ...
by andreu
Thu Feb 27, 2014 6:06 pm
Forum: IO-Warrior English
Topic: Interface with Sensirion EKH5 with Sensor SHT2x
Replies: 7
Views: 24156

Interface with Sensirion EKH5 with Sensor SHT2x

Hi guys,

I am communicating with the Sensirion EKH5 with Sensor SHT2x but I don't know what values I have to write in order to get the proper values of temperature and humidity from the sensor.

These values from a SHT75 that I found in this forum:

//Init I2C mode
report[0] = 0x01;
report[1 ...