2 posts / 0 new
Last post
attila.horvath
Offline
Last seen:1 year 8 months ago
加入:2014-09-22 11:17
SHT11 sensor with I2C

Hello Dialog!

I have a SHT11 Soil Moisture & Temperature Sensor. I would like to read the sensor data, but this hardware use a simplified I2C protocol. I attached the sensor datasheet. How can I use this sensor? Can I ask some sample code, if it is possibly.

I try to implement some code, but it not works at all.

Best regards,
Attila Horvath

Keywords:
附件:
Device:
MT_dialog
Offline
Last seen:2 months 1 week ago
工作人员
加入:2015-06-0811:34
Hi attila.horvath,

Hi attila.horvath,

There is no sample code for that particular sensor, most of the sensors are able to operate with the current I2C driver for the EEPROM with minor or no modifications. Also throughout the forum the I2C driver implementation is discussed and analyzed quite extensively, perhaps the following thread can give you a boost.

http://support.dialog-semiconductor.com/questions-about-i2c-library

Thanks MT_dialog