Open jimbowarrior opened 8 years ago
Sadly not, as I don't have one to test, I'm not sure how much help I can be.. The data sheet is here: https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/Humidity_and_Temperature_Sensors/Sensirion_Humidity_and_Temperature_Sensors_SHT3x_Datasheet_digital.pdf.
Compared to sht21's here: http://www.farnell.com/datasheets/1780639.pdf
It looks much more sophisticated. Instead of just sending one byte, it looks like you need to send 3 (two bytes for the command, one CRC checksum). If you get something working, let me know and I can look to fold it in to this.
there are some source code with C++ her : https://github.com/adafruit/Adafruit_SHT31 And her https://github.com/jaques/sht21_python/issues/6 Nadanks provided some code ?
I can confirm the module written for the sht31 is functional. I am able to read temperature and humidity values from the sensor. Although I am getting some errors when turning the heater on and off as well as when doing a soft_reset.
hello,
have you full code to read a SHT31 sensor ?
Thank you