Datasheet
Seite 8
Ausgabe 08/2008 Technische Änderungen v orbehalten! HYGROSENS INSTRUMENTS GmbH Postf ach 1054 D-79839 Löf f ingen Tel: +49 7654 808969-0 Fax: +49 7654 808969-9
SERIAL DIGITAL INTERFACE
Example
Factory setting for configuation of I
2
C interface:
The following example is valid if the HYGROSENS USB Interface in conjunction with a
standard terminal software is used:
t_050 "set switch-off time to 50 ms"
t01200 "select trigger channel KS5V with a trigger time of 200 ms"
iwt7800172 "write command 0x72 to address 0x78 with trigger"
iw_7800152 "configure SIF to communication mode I
2
C"
iw_7800171 "start Normal Operation Mode"
t00000 "turn OFF the trigger channel ==> KS5V = OFF"
The command 0x52 is configurating the serial interface for I
2
C communication. After
starting the normal operating mode the serial interface is updated continously with the
actual conditioned output values. The analog value is still available.
To read out the values
ir_78004 “read four bytes in the order MSB humidity LSB humidity,
MSB temperature, LSB temperature”