DHT 22 and DS18B20 temperature sensor librarary incompatibility

Hi Everyone,

I would like to build something like a greenhose. Basically it would be a controlled environment. For my project I would like to use a DHT 22 humidity/temperature sensor and a DS18B20 temperature sensor at the same time. The sensors work separately, but I am unable to put them together in one projec. I think that there is a problem with the libraries. <DHT.h> and <DS18B20.h> they have incopatible elements .

Do you have any what libraries shoul I use in order to make it work? :confused:

Hi Everyone,

I would like to build something like a greenhose. Basically it would be a controlled environment. For my project I would like to use a DHT 22 humidity/temperature sensor and a DS18B20 temperature sensor at the same time. The sensors work separately, but I am unable to put them together in one projec. I think that there is a problem with the libraries. <DHT.h> and <DS18B20.h> they have incopatible elements .

Do you have any what libraries shoul I use in order to make it work? :confused:

What "incompatible elements" do you think you have found?

Post your code. And please don't forget to use code tags when posting the code.

You can use the different pins for the different sensors, and install the correct libraries.

See DHT22 tutorial and DS18B20 tutorial