Voltage output humidity sensor meter HM1500 / 1520 with microprocessor PIC16F874
Description: An intelligent humidity meter circuit utilizing the HM1500/1520 humidity sensor and a microcontroller configuration. The circuit operates on a +5V power supply and incorporates four common cathode LED digital displays. It employs three integrated circuits: IC1 is the HM1500/1520 humidity sensor, IC2 is a 10-bit ADC microcontroller from Microchip, specifically the PIC16F874, and IC3 is a Darlington inverter drive array (MC1413). The PIC16F874 is an economical 8-bit microcontroller featuring an 8-channel successive approximation A/D converter, allowing for the conversion of up to 8 humidity signal analog inputs to digital format. The circuit utilizes a 4MHz quartz crystal oscillator (JT) with coupled capacitors (C1, C2) to provide the necessary clock frequency for the microcontroller. The PIC16F874 operates within a wide voltage range (+2.5V to +5V), making it suitable for low-voltage applications, with a quiescent current of less than 2mA. The RA port (RA0 to RA7) serves as the I/O interface, with PA0 (also known as AIN0) receiving the voltage signal from the humidity sensor. The PA1 to PA4 outputs generate scanning signals for the MC1413 inverter drive. The RB0 to RB6 outputs provide the 7-segment code signals for the LED display segments a to g. Additionally, the PIC16F874 features power-down protection, with the MCLR pin facilitating a brownout reset. When the supply voltage drops from +5V to +4V, the chip enters a reset state. After the voltage returns to normal, a 72ms delay is required before the chip resumes normal operation. Data stored in RAM during a power failure remains intact and is not lost.
The intelligent humidity meter circuit is designed to measure and display relative humidity levels accurately. The HM1500/1520 humidity sensor (IC1) detects humidity in the environment and outputs an analog voltage proportional to the humidity level. This analog signal is fed into the PIC16F874 microcontroller (IC2), which contains an integrated 10-bit successive approximation ADC that converts the analog signal into a digital format for processing.
The microcontroller is clocked by a 4MHz oscillator, ensuring efficient operation and timely processing of the input signals. The use of capacitors (C1 and C2) stabilizes the oscillator circuit, providing a reliable clock signal for the microcontroller.
The microcontroller’s I/O ports are configured to facilitate interaction with the humidity sensor and the LED display. The PA0 pin is dedicated to reading the analog voltage from the humidity sensor, while the PA1 to PA4 pins are used to generate scanning signals that control the MC1413 inverter, which drives the common cathode LED displays. The RB0 to RB6 pins output the necessary signals to light up the corresponding segments of the 7-segment displays, allowing for clear visual representation of the humidity readings.
The PIC16F874's power management features ensure that the device remains operational within a specified voltage range. The brownout reset feature protects the microcontroller from erratic behavior during voltage drops, and the retention of RAM data during power loss enhances reliability in applications where power stability may be a concern.
Overall, this intelligent humidity meter circuit is a robust solution for monitoring humidity levels, making it suitable for various applications in environmental control, HVAC systems, and other areas where humidity measurement is critical.Intelligent humidity meter circuit by the HM1500 / 1520 humidity sensor and MCU configuration shown in Fig. The meter + 5V power supply, with four common cathode LED digital tube. CCP uses three circuit IC: IC1 to HM1500 / 1520 humidity sensor, IC2 is produced by the US microchip band (Microchip) Company 10-bit ADC of microcontroller PIC16F874, IC3 7 Darlington inverter drive array MC1413. PIC16F874 is a cost-effective 8-bit microcontrollers, containing 8 10 successive approximation A / D converter, up to 8 humidity signal analog to digital conversion, is only the way in which.
JT is 4MHz quartz crystal oscillators coupled capacitors C1, C2 can be provided after 4MHz clock frequency of the microcontroller. PIC16F874 wide supply voltage range (+ 2.5 ~ + 5V), suitable for low voltage power supply, quiescent current is less than 2mA.
RA port (RA0 ~ RA7) for the I / O interface, now use PA0 (also known AIN0) opening line to receive the voltage signal generated by the humidity sensor. PA1 ~ PA4 output bit scanning signal, bit-MC1413 obtained by inverting the drive signal. RB0 ~ RB6 output RB mouth 7-segment code signal, then the corresponding electrode segment LED display pen a ~ g.
PIC16F874 also has a power-down protection, MCLR to brownout reset latch side. When UDD from + 5V down to + 4V, the chip enters the reset state. When the power supply has returned to normal, must 72ms delay before the detachment state into normal state. Data during power failure RAM remain unchanged, will not be lost.
The internal disconnection circuit for a blanket operates on the principle of induction. It includes a wire approximately 2 cm in length that senses the proximity of a charged mains power source. When the sensing wire is close to the...
In various situations, it is necessary to indicate the amount of battery charge using methods such as LED dot displays or LED bar displays. This circuit utilizes the LM3914 integrated circuit to serve as a battery charge indicator with an...
This document outlines the theory behind a high-speed control scheme for an LED display screen circuit. The circuit utilizes the MCS51 series microcontroller to manage the LED display. A 62512 random access memory (RAM) is employed for data storage, holding...
The microprocessor utilizes a linear regulator power circuit that is constructed using two MAX666 devices. The power supply for the CPU and A/D converter is connected to A2, while the RAM and real-time clock receive power from A1. The output...
A Teledyne TSC7135 digital voltmeter (DVM) chip is utilized to control a multiplexed 5-digit display. To facilitate common cathode drive, a CD4513BE CMOS integrated circuit (IC) functions as a segment driver, with selection controlled by pins 17-20 of the DVM...
The output DC voltage of sensor SEN1 changes linearly in response to variations in relative humidity. This DC voltage is routed through resistors R1 and R2 to the analog-to-digital (A/D) converter chip U2. Resistor R4 is connected to ground, while...
RealView is a measurement application, which records and plots measured values from analogue hardware devices in real-time. Several curves can be plotted into a single diagram. Several diagrams can be arranged on one or more pages if necessary. Plot options...
The figure illustrates a digital display pressure measuring circuit diagram. The circuit operates with an additional voltage of approximately 12.8V and draws a current of 30mA. Under maximum gain conditions, the input voltage range is 0.8mV. The zero adjustment range...
The DC millivoltmeter features a three-and-a-half digit display, offering high accuracy, performance, stability, and user-friendliness. Its measurement range extends from 0 to 1.999 mV, with a measurement accuracy of 1 mV.
The DC millivoltmeter is designed to provide precise voltage measurements...
We use cookies to enhance your experience, analyze traffic, and (if you allow) serve personalized ads.
By clicking Accept All, you agree to our use of cookies.
Learn more