Skip to content

Feat: added support for the SHT3x sensor - #3095

Open
Tomas-Kuchta-FPV wants to merge 2 commits into
meshcore-dev:devfrom
Tomas-Kuchta-FPV:SHT3x-Vibes-only
Open

Feat: added support for the SHT3x sensor#3095
Tomas-Kuchta-FPV wants to merge 2 commits into
meshcore-dev:devfrom
Tomas-Kuchta-FPV:SHT3x-Vibes-only

Conversation

@Tomas-Kuchta-FPV

Copy link
Copy Markdown

Hi, this is my first contribution to the MeshCore repo.
This code has been partially helped using copilot and I don't understand everything that much so please be thorough with the review.

Changes

  • Implemented SHT3x library.
  • Implemented a simple check for INA226 as it's on the same addres

Testing

Everything was tested on Heltec V3 and it seems to work. Everything shows up as it should.

Testing screnarious

1) INA219 + SHT30

DEBUG: Second I2C initialized on pins SDA: 41 SCL: 42
DEBUG: AHT10/AHT20 not detected at I2C address 38
DEBUG: BME680 not detected at I2C address 76
DEBUG: BME280 not detected at I2C address 76
DEBUG: BMP280 not detected at I2C address 76
DEBUG: SHTC3 not detected at I2C address 70
DEBUG: Found SHT3X at address: 44
DEBUG: SHT4X found at 44 but failed to initialize
DEBUG: LPS22HB not detected at I2C address 5C
DEBUG: INA3221 not detected at I2C address 42
DEBUG: Found INA219 at address: 40
DEBUG: INA260 not detected at I2C address 41
DEBUG: INA226 found at 44 but failed to initialize
DEBUG: MLX90614 not detected at I2C address 5A
DEBUG: VL53L0X not detected at I2C address 29
DEBUG: BMP085 not detected at I2C address 77

2) SHT30 + SHT40

DEBUG: Second I2C initialized on pins SDA: 41 SCL: 42
DEBUG: AHT10/AHT20 not detected at I2C address 38
DEBUG: BME680 not detected at I2C address 76
DEBUG: BME280 not detected at I2C address 76
DEBUG: BMP280 not detected at I2C address 76
DEBUG: SHTC3 not detected at I2C address 70
DEBUG: Found SHT3X at address: 44
DEBUG: SHT4X found at 44 but failed to initialize
DEBUG: LPS22HB not detected at I2C address 5C
DEBUG: INA3221 not detected at I2C address 42
DEBUG: INA219 not detected at I2C address 40
DEBUG: INA260 not detected at I2C address 41
DEBUG: INA226 found at 44 but failed to initialize
DEBUG: MLX90614 not detected at I2C address 5A
DEBUG: VL53L0X not detected at I2C address 29
DEBUG: BMP085 not detected at I2C address 77

3) SHT40

DEBUG: Second I2C initialized on pins SDA: 41 SCL: 42
DEBUG: AHT10/AHT20 not detected at I2C address 38
DEBUG: BME680 not detected at I2C address 76
DEBUG: BME280 not detected at I2C address 76
DEBUG: BMP280 not detected at I2C address 76
DEBUG: SHTC3 not detected at I2C address 70
DEBUG: SHT3X found at 44 but failed to initialize
DEBUG: Found SHT4X at address: 44
DEBUG: LPS22HB not detected at I2C address 5C
DEBUG: INA3221 not detected at I2C address 42
DEBUG: INA219 not detected at I2C address 40
DEBUG: INA260 not detected at I2C address 41
DEBUG: INA226 found at 44 but failed to initialize
DEBUG: MLX90614 not detected at I2C address 5A
DEBUG: VL53L0X not detected at I2C address 29
DEBUG: BMP085 not detected at I2C address 77

@Tomas-Kuchta-FPV Tomas-Kuchta-FPV changed the title Feat: added the SHT3x sensor support. Feat: added support for the SHT3x sensor Aug 1, 2026
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

Successfully merging this pull request may close these issues.

1 participant