You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I am an astronomer/astrophotographer. I am currently building a control board for my Celestron telescope and one of the metrics I want to collect is the Dew Point. I will use this in deciding the power level I will supply to my Dew Heater on the telescope. I have found a simple Dew Point calculation, which would be great to be able to reference from a DHT sensor. The calculation can be found at https://iridl.ldeo.columbia.edu/dochelp/QA/Basic/dewpoint.html.
Would this be something that you would consider adding to the current library? I have provided my code below for your reference. This was tested on the following:
Arduino board: *ARDUINO/UNO R3
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.19
Sorry, I should have added that I have tested both functions using DHT11 and DHT22 sensors, and verified the results using online Dew Point calculators.
Hi. I am an astronomer/astrophotographer. I am currently building a control board for my Celestron telescope and one of the metrics I want to collect is the Dew Point. I will use this in deciding the power level I will supply to my Dew Heater on the telescope. I have found a simple Dew Point calculation, which would be great to be able to reference from a DHT sensor. The calculation can be found at https://iridl.ldeo.columbia.edu/dochelp/QA/Basic/dewpoint.html.
Would this be something that you would consider adding to the current library? I have provided my code below for your reference. This was tested on the following:
DHT.h
float computeDewPointSimple(float temperature, float percentHumidity,
bool isFahrenheit = true);
DHT.cpp
/*!
@brief Compute Dew Point - Simple Method
@param temperature
@param percentHumidity
@param isFahrenheit
@return float dew point
*/
float DHT::computeDewPointSimple(float temperature, float percentHumidity,
bool isFahrenheit) {
float hi;
if (!isFahrenheit)
temperature = convertCtoF(temperature);
}
There is a more complex function that gives greater accuracy, which is detailed on the web page provided above, but I have yet compiled that function.
Kind regards
Teddy
The text was updated successfully, but these errors were encountered: