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

Temperature Sensor Options
#16

Thank you for the additional suggestions

Measuring the voltage across the data pin to ground gives 4.4VDC reading.

I have enabled the serial data output from the DHTxx library with the below results. I note that the serial data from the DHTxx library only displays once on the initial reading and not again.
 
Code:
DHT 14 3 4 4 4 4 3 12 4 4 12 4 12 4 12 4 4 4 3 4 3 4 4 4 4 12 12 12 3 4 4 12 4 4 4 12 12 12 3 4 4
HEX 15 2 54 0 E2 38 : 38
Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 22.60  Hum: 59.60

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 226.00  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 293.92  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 317.76  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: -99.20  Hum: 0.00

After board reset:
Code:
DHT 14 4 4 4 3 4 3 12 3 4 11 12 3 4 12 4 4 4 3 4 4 4 4 3 4 11 12 12 4 3 4 11 12 4 12 4 4 12 4 3 12
HEX 15 2 64 0 E3 49 : 49
Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 22.70  Hum: 61.20

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 227.00  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 303.92  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: -237.60  Hum: 0.00

Sending ID0...
  Sensor 0 - Temp: 0.00  Hum: 0.00
  Sensor 1 - Temp: 245.44  Hum: 0.00

So it looks like additional requests for data of the DHT sensor is not occurring.

As an idea, would you mind zipping up your working code with the DHT sensor you tested last week and supplying it with the library etc to see if I can get your code to work correctly on mine?

I have ordered new DHT22 sensors from China, due end of the month. It will be interesting to see what results I get then if we cannot find a solution before that point.

Thank you once again for your help.


Attached Files Image(s)
       
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)