Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SHT30 temp/humidity i2c sensor to Kincony B8
#1
Hi,

I am trying to connect an SHT30 temperature and humidity i1c sensor to a Kincony B8 using free GPIOs 47 and 48. https://shop.kincony.com/products/sht30-...tion-cable

I have ESPHome firmware on the board with this config:

i2c:

  - id: bus_b
    sda: GPIO47
    scl: GPIO48
    scan: true
    frequency: 100kHz


sensor:
  - platform: sht3xd
    i2c_id: bus_b
    address: 0x44
    update_interval: 60s
    temperature:
      name: "Homerseklet"
      device_class: "temperature"
      state_class: "measurement"
    humidity:
      name: "Paratartalom"
      device_class: "humidity"
      state_class: "measurement"


I have tried many variations, switching the SDA and SCL etc but no luck. The device is not detected. Am I using the correct GPIOs?  (see attached photo)

black -> ground
yellow -> 47
blueish green -> 48
red -> 3V

   
Reply
#2
can you try exchange pin define of SDA and SCL?
Reply
#3
(Yesterday, 11:14 AM)admin Wrote: can you try exchange pin define of SDA and SCL?

Tried that, also to physically change the wires. Tried on GPIO07&40 as well, 47&40. No luck. Also tried 013&14. Tried with lower frequency, cut the wire shorter to reduce resistance. 

[22:20:29.328][C][i2c.idf:092]: I2C Bus: [22:20:29.328][C][i2c.idf:093]: SDA Pin: GPIO13 [22:20:29.328][C][i2c.idf:093]: SCL Pin: GPIO14 [22:20:29.328][C][i2c.idf:093]: Frequency: 10000 Hz [22:20:29.333][C][i2c.idf:106]: Recovery: failed, SCL is held low on the bus [22:20:29.333][C][i2c.idf:113]: Results from bus scan: [22:20:29.333][C][i2c.idf:115]: Found no devices 

I think I will give up at this point and order another RS485 version.
Reply
#4
next week , i will test it, feedback to you.
Reply
#5
take a photo of your SHT30 sensor, our sensor is RED,BLACK,YELLOW,WHITE 4 cables.
RED: power
BLACK: GND
YELLOW: SCL
WHITE: SDA
Reply


Forum Jump:


Users browsing this thread: