Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Temperature Sensor Options
#13

(31-12-2023, 06:26)Palmyweather Wrote:  If the "*10;" is changed to "*100;", there is no clear pattern to the number outputs.

Hi Mathew,

When you change the multiplier to *100 you are producing a variable overflow thus the random results.

Have you noticed that the first reading is always correct?
From your experiments, what seems to me is that this instruction:

Code:
dht.reading(T_ExtS1, H_ExtS1);

is only exectuded one time, or the values of the vars T_ExtS1 and H_ExtS1 aren't updated when it runs. The problem must be here. Why, I still don't know.
The DHTxx library have some debug options, try to enable them and see if any clue can come from them.

The mystery is why it stoped work with your new sensors, while it worked with old ones, and also works with my DHT22 sensors?

I haven't had time yet to test with the config files you sent, but I will do it as soon as I can. Indeed this thing started to be a more and more interesting mystery.

Which version of Arduino IDE are you using to compile the code?

Rgs.
Werk_AG

Reply


Messages In This Thread
Temperature Sensor Options - by Palmyweather - 10-12-2023, 03:27
RE: Temperature Sensor Options - by Shred - 11-12-2023, 10:43
RE: Temperature Sensor Options - by werk_ag - 17-12-2023, 00:48
RE: Temperature Sensor Options - by Palmyweather - 22-12-2023, 20:07
RE: Temperature Sensor Options - by werk_ag - 28-12-2023, 23:21
RE: Temperature Sensor Options - by Palmyweather - 29-12-2023, 08:43
RE: Temperature Sensor Options - by werk_ag - 30-12-2023, 04:54
RE: Temperature Sensor Options - by Palmyweather - 30-12-2023, 08:37
RE: Temperature Sensor Options - by werk_ag - 31-12-2023, 00:05
RE: Temperature Sensor Options - by Palmyweather - 31-12-2023, 06:11
RE: Temperature Sensor Options - by Palmyweather - 30-12-2023, 08:40
RE: Temperature Sensor Options - by Palmyweather - 31-12-2023, 06:26
RE: Temperature Sensor Options - by werk_ag - 04-01-2024, 06:13
RE: Temperature Sensor Options - by Palmyweather - 04-01-2024, 09:22
RE: Temperature Sensor Options - by werk_ag - 05-01-2024, 03:30
RE: Temperature Sensor Options - by Palmyweather - 05-01-2024, 07:47
RE: Temperature Sensor Options - by werk_ag - 08-01-2024, 19:43
RE: Temperature Sensor Options - by Palmyweather - 09-01-2024, 08:46
RE: Temperature Sensor Options - by Palmyweather - 15-01-2024, 00:15
RE: Temperature Sensor Options - by werk_ag - 15-01-2024, 01:54
RE: Temperature Sensor Options - by Franco - 14-04-2026, 03:18



Users browsing this thread: 1 Guest(s)