Hello,
i´m sorry for my bad englsih
espeasy (20231225 CollectionA 4M [ESP8266,ESP32,ESP32-S2/S3/C3]) run at a Wemos D1 mini.
The SHT31 works fine but the Dallas D18B20 doesn´t have a adress or a value.
Both sensors connected on the same pin D2 and the SCL from the SHT31 is connected to the pin D1.
Between 5V and D2 is a 4K7 pullup.
At the I2C Scan i can only find the SHT31.
What is my mistake?
(i cant select pin D2 at the config of the Dallas Sensor is that correct?)
SHT31 with D18B20 doesn´t work
Moderators: grovkillen, Stuntteam, TD-er
Re: SHT31 with D18B20 doesn´t work
You can't share 1-Wire with I2C using the same pins.
I2C needs 2 pins which are exclusively used for I2C devices.
You can have multiple 1Wire devices on the same 1Wire bus, but not other kinds of devices.
I2C needs 2 pins which are exclusively used for I2C devices.
You can have multiple 1Wire devices on the same 1Wire bus, but not other kinds of devices.
Re: SHT31 with D18B20 doesn´t work
Also you really should not pull up pins to 5V as you likely will destroy other sensors connected to the pin.
Re: SHT31 with D18B20 doesn´t work
But both sensors are I2C Sensors with diffent adress´s!
And for the SHT31 i can select the adress. But i can only took the 0x45, when a took the 0x44 it´s not possible to enable the sensor after submit.
It´s little bit confuse
And for the SHT31 i can select the adress. But i can only took the 0x45, when a took the 0x44 it´s not possible to enable the sensor after submit.
It´s little bit confuse
Re: SHT31 with D18B20 doesn´t work
Ok i have changed the Dallas to Pin D4 and now it works.
Thx
Thx
Who is online
Users browsing this forum: Bing [Bot] and 1 guest