Why do we need a load resistor connected between the output pin and ground? reference to a detailed description of the sensor
\$\begingroup\$ Does this answer your question? Different outputs of a sensor in its recommended load range \$\endgroup\$– JREJul 20, 2020 at 18:31
From the link:
Since the output of the sensor is analog voltage it can be interfaced directly to any micro-controller which has internal ADC. It can also be interfaced directly to Arduino.
It acts as a pull-down resistor that drives the input to micro-controller to a known logic
0, in case your sensor's output floats for some reasons.
2\$\begingroup\$ If the resistor were in series, then your first point would apply - but the resistor is in parallel to the sensor and can't do anything to prevent a short circuit from damaging the microcontroller output. The sensor has an analog output, and so should be used with an analog input on the microcontroller - no need to provide a fixed digital level. \$\endgroup\$ Dec 16, 2019 at 6:42
\$\begingroup\$ Ha ! That's right :D \$\endgroup\$– Mitu RajDec 16, 2019 at 6:52
1\$\begingroup\$ I meant to say that the pull down theory doesn't work, either. \$\endgroup\$ Dec 16, 2019 at 7:00
1\$\begingroup\$ Suppose sensor has burnt out or not powered, its output can be floating right ? In that case, suppose my controller wants to read '0', I need a pull-down. \$\endgroup\$– Mitu RajDec 16, 2019 at 7:02
\$\begingroup\$ It is an analog input. \$\endgroup\$ Dec 16, 2019 at 7:17
I have no experience with the HIH 4000 (or other humidity sensors,) but I thought I'd have a look and see what I could find.
From what I have found, the datasheet isn't telling you that you need to put an 80k resistor from the output to ground.
What the datasheet trying to say is that the load impedance connected to its output must be higher than 80k ohms.
This thread on the Velleman forums refers to an ADC module with a 20k ohm input imopedance. An HIH 4000 connected to that module (the Velleman K8061) would consistently show a wrong output (as measured with a voltmeter) when connected to the K8061, but would show a proper voltage when disconnected from the K8061. The recommended solution was to remove the 20k resistor in parallel with the input on the K8061. Alternatively, an op amp could be used to buffer the HIH4000 output.
There's a similar problem and solution with the Velleman K8055 mentioned in this forum post.
Something similar happened with an ADC for a Raspberry Pi. Again, the solution was to increase the input impedance of the ADC module.
Summary: The 80k is the minimum input impedance of the ADC or buffer amplifier you connect to the sensor.
Given that you have a high impedance output coupled to a high impedance input, you have a very good chance of picking up stay noise over the wires from the sensor to the ADC. The solution to that is to use the minimum load allowed in all cases (80k in parallel with the ADC input) or to install a buffer right at the sensor output so that you have a lower impedance line going to the ADC.