






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Submitted by Maira Batool 240101015 Amna Imran 240101027 Rebekah Zeesha Zia 24010109 3
Submitted to Mr. Moiez Bhatti
A humidity sensor is a device that measures the amount of water vapor (moisture) present in the air and converts it into an electrical signal. It provides readings such as relative humidity. Common types include capacitive, resistive, and thermal humidity sensors. These sensors are widely used in HVAC systems, weather stations, smart homes, and industrial control systems to regulate comfort, maintain process quality by detecting when air becomes too dry or too humid. Figure 2 .1 Humidity Sensor Module
The purpose of this experiment is to study the working principle of a humidity sensor and measure the relative humidity of the surrounding environment. The experiment helps observe how the sensor converts moisture in the air into an electrical signal.
Equipment required is as follows:
i. Connect the humidity sensor to the operational amplifier unit according to the provided circuit diagram. Figure 5.1. Humidity Sensor connections ii. Attach the thermocouple, ensuring its wire is positioned near the humidity sensor. iii. Supply ±12V to the operational amplifier. Figure 5.2. Operational Amplifier iv. Connect the output of the humidity sensor to a digital multimeter to measure the corresponding voltage. v. Connect the thermocouple’s output terminals to another digital multimeter to measure the voltage representing temperature. vi. Record the initial voltage readings of both the humidity sensor and the thermocouple under normal room conditions.
Figure 5. 3 Operational Amplifier vii. Exhale gently near the humidity sensor to artificially increase the air’s moisture content. viii. Observe and note the changes in output voltage from both the humidity sensor and the thermocouple during exhalation. Figure 5.4. Sensor Needle ix. Repeat the procedure several times to obtain consistent readings 3 times. Figure 5.5. Complete Circuit
Figure 7.2. Voltage vs Humidity Graph Explanation: Y = 0.0574x + 0.95 ------ ( 3 ) The equation y = 0.0574x + 0.95 shows how the humidity sensor’s output voltage increases with relative humidity. The slope (0.0574) indicates the voltage rises about 0.057 V for every 1% increase in humidity, confirming the sensor responds proportionally to moisture in the air.
% Temperature and Humidity data temperature = [16.9, 17.2, 23.5, 24]; humidity = [23, 25, 60, 62]; % Plot Humidity vs Temperature plot(temperature, humidity, 'o-') xlabel('Temperature (°C)') ylabel('Relative Humidity (%)') title('Humidity vs Temperature') grid on MATLAB CODE 2: % Humidity (%) and Voltage (V) data humidity = [23, 25, 60, 62]; voltage = [2.27, 2.45, 4.35, 4.51]; % Plot Voltage vs Humidity plot(humidity, voltage, 'o-') xlabel('Relative Humidity (%)') ylabel('Voltage (V)') title('Voltage vs Humidity') grid on