Hi Guys,
I am new to this community. I have designed a project for my Aquarium.
My Goal is that - need a dimming led and a primary led. both need to turned on and off according to the schedule.
Next one is need to get the Room temperature & Humidity also.
In this project, I am not able to get the values from the humidity sensor to the application, able to get the value in Serial plotter on the Arduino IDE or by inter changing the value of
" void Send_Sensor() {
float h = dht.readHumidity();
float t = dht.readTemperature();
humidity_device.updateAndReportParam("Humidity", h);
temperature_device.updateAndReportParam("Temperature", t);} "
In the application Humidity shows a value 25 always and no changing, can any one sort out this issue?
Attaching the code as a text file...
Humidity Value is not obtained.
-
- Posts: 1
- Joined: Mon Aug 14, 2023 6:33 am
Humidity Value is not obtained.
- Attachments
-
- code.txt
- (4.03 KiB) Downloaded 170 times
Re: Humidity Value is not obtained.
You can try the adafruit dht library instead:
https://github.com/adafruit/DHT-sensor-library
https://learn.adafruit.com/dht/downloads
https://github.com/adafruit/DHT-sensor-library
https://learn.adafruit.com/dht/downloads
Who is online
Users browsing this forum: No registered users and 113 guests