Open Jibun-no-Kage opened 1 year ago
Just reference information... Requires adafruit blinka (core) support library for Raspberry Pi...
# pip3 install adafruit-circuitpython-sht4x # python3 Python 3.9.2 (default, Mar 12 2021, 04:06:34) [GCC 10.2.1 20210110] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import board >> import adafruit_sht4x >>> theSensor=adafruit_sht4x.SHT4x(board.I2C()) >>> theSensor.temperature 21.304264896620126 >>> theSensor.relative_humidity 27.82162203402762
Issues or requests related to specific overlays should be opened in this repo (raspberrypi/linux), not the firmware.
Your request should be satisfied by https://github.com/raspberrypi/linux/commit/c8c99191e1419062ac8b668956d19e788865912a and https://github.com/raspberrypi/linux/commit/636cdc62014a04ac1673286b11a063dfdaa09bbe.
Oh, that is right. Sorry about that. Thanks for expanding the sensor support, really appreciate it.
Please add or extend dtoverlay sht3x to include newer sht4x. Just got the newer sht4x sensors, and tried the sht3x support, does not seem to work, which seems a bit odd since address 0x44 is used for both. Willing to help test of course. Thanks.
# cat /boot/config.txt | grep dtoverlay dtoverlay=i2c-sensor,sht3x
# lsmod | grep sht sht3x 16384 0 crc8 16384 1 sht3x
# i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --