-->
Page 1 of 1

problem with temp sensors

PostPosted: Sat Jan 01, 2022 6:46 pm
by mothi
Hi, I'm quite new on ESP

and i'm making my V2 of my first project

the V1 was a classic esp32 with dh22 sensor witch send via mqtt the temperature to a database

it work fine so I wanted to make more sensor, so I bought some lolin D1 mini and dht22 shield.

but when I tested the temperature were wrong so I thought that were cheap shield and no official lolin shield.
so I decided to buy some sht30 shield and I have the same probleme the temerature are wrong again. and unfortunatly the difference between the good and the "bads" sensor look not to be constant

I'm trying to evaluate the difference between the good temperature from the original esp32 and the 2 other sensor

the lolin dht22 is at least 6 °C over the esp32 dht22.

I don't know if there is a way to calibrate.

I put quite the same code (micropython) in the esp32 and the lolin and I don't know if it's a bad idea! because of some build in resistor which can disturb the sensor results.

Thank for who take the time to read my interrogations
by the way, excuse my broken english!

Re: problem with temp sensors

PostPosted: Mon Jan 03, 2022 5:43 am
by rpiloverbd
Hello, this is not what you're looking for. But you may get some clues from here: https://create.arduino.cc/projecthub/wh ... ion-3c5ace

Re: problem with temp sensors

PostPosted: Fri Jan 07, 2022 2:25 pm
by L67GS
Rather than dh22, perhaps you could go to TMP36, which returns an analog value. Then calibration could be done in math. Providing you don't need the humidity function.