Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add or extend dtoverlay sht3x to include newer sht4x senors? #5334

Open
Jibun-no-Kage opened this issue Jan 22, 2023 · 3 comments
Open

Comments

@Jibun-no-Kage
Copy link

Jibun-no-Kage commented Jan 22, 2023

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: -- -- -- -- -- -- -- --

@Jibun-no-Kage
Copy link
Author

Jibun-no-Kage commented Jan 22, 2023

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

@pelwell pelwell transferred this issue from raspberrypi/firmware Jan 24, 2023
pelwell added a commit that referenced this issue Jan 24, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell added a commit that referenced this issue Jan 24, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@pelwell
Copy link
Contributor

pelwell commented Jan 24, 2023

Issues or requests related to specific overlays should be opened in this repo (raspberrypi/linux), not the firmware.

Your request should be satisfied by c8c9919 and 636cdc6.

pelwell added a commit that referenced this issue Jan 24, 2023
The address selection patch was omitted from the commit adding sht3x
support.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
@Jibun-no-Kage
Copy link
Author

Oh, that is right. Sorry about that. Thanks for expanding the sensor support, really appreciate it.

pelwell added a commit that referenced this issue Jan 24, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell added a commit that referenced this issue Jan 24, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell added a commit that referenced this issue Jan 24, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
pelwell added a commit that referenced this issue Jan 24, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jan 30, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jan 30, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix added a commit to raspberrypi/firmware that referenced this issue Jan 30, 2023
kernel: configs: Add MTD_SPI_NAND=m
See: raspberrypi/linux#5339

kernel: configs: add CONFIG_DM_INTEGRITY=m
See: raspberrypi/linux#5337

kernel: extend dtoverlay sht3x to include newer sht4x sensors
See: raspberrypi/linux#5334
popcornmix added a commit to raspberrypi/rpi-firmware that referenced this issue Jan 30, 2023
kernel: configs: Add MTD_SPI_NAND=m
See: raspberrypi/linux#5339

kernel: configs: add CONFIG_DM_INTEGRITY=m
See: raspberrypi/linux#5337

kernel: extend dtoverlay sht3x to include newer sht4x sensors
See: raspberrypi/linux#5334
popcornmix pushed a commit that referenced this issue Feb 1, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 1, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
limeng-linux pushed a commit to limeng-linux/linux-yocto-bsp that referenced this issue Feb 6, 2023
commit  552ab64cd6a202613704c88fcb28adbcd5bc879c from
https://github.com/raspberrypi/linux.git rpi-6.1.y

Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: raspberrypi/linux#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Meng Li <Meng.Li@windriver.com>
popcornmix pushed a commit that referenced this issue Feb 6, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 6, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 6, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 6, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
limeng-linux pushed a commit to limeng-linux/linux-yocto-bsp that referenced this issue Feb 7, 2023
commit  552ab64cd6a202613704c88fcb28adbcd5bc879c from
https://github.com/raspberrypi/linux.git rpi-6.1.y

Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: raspberrypi/linux#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Signed-off-by: Meng Li <Meng.Li@windriver.com>
popcornmix pushed a commit that referenced this issue Feb 10, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 10, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 14, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 14, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
herrnst pushed a commit to herrnst/linux-raspberrypi that referenced this issue Feb 20, 2023
See: raspberrypi#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
herrnst pushed a commit to herrnst/linux-raspberrypi that referenced this issue Feb 20, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: raspberrypi#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Feb 20, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 11, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 11, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 11, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 11, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 24, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 24, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 24, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 24, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 30, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 30, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 30, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue May 30, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 7, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 7, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Noltari pushed a commit to Noltari/rpi-linux that referenced this issue Jun 8, 2023
See: raspberrypi#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Noltari pushed a commit to Noltari/rpi-linux that referenced this issue Jun 8, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: raspberrypi#5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 12, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 12, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 16, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 16, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 22, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 22, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 30, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jun 30, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 3, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 3, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 10, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 10, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 14, 2023
See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
popcornmix pushed a commit that referenced this issue Jul 14, 2023
Add support for the Sensirion SHT4X temperature and humidity
sensor.

See: #5334

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants