Professional Documents
Culture Documents
Humidity Sensor
User’s Manual
V1.2
April 2009
Information contained in this publication regarding device applications and the like is intended through suggestion only and may
be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No
representation or warranty is given and no liability is assumed by Cytron Technologies Incorporated with respect to the accuracy
or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use
of Cytron Technologies’s products as critical components in life support systems is not authorized except with express written
approval by Cytron Technologies. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
ROBOT . HEAD to TOE
Product User’s Manual – Humidity Sensor
Index
2. PRODUCT SPECIFICATION
3. PRODUCT LAYOUT
Sensor for
Humidity
Sensor for
Temperature 4-Pin
Header
Figure 3.1
Label Description
Vcc The power supply to the sensor.
Humidity Output The analog output of Humidity for the sensor.
GND The Ground of the sensor.
Temperature Output The analog output of Temperature for the sensor.
Sensor for Temperature The sensor to sense the temperature.
Sensor for Humidity The sensor to sense the humidity.
4-Pin Header The connector to the cable which connect to
testing/microcontroller circuit.
Table 3.1
4. GETTING STARTED
Figure 4.1
Voltage vs Temperature
5
4.5
4
3.5
Voltage(V)
3
2.5 Series1
2
1.5
1
0.5
0
30 32 34 36 38 40 42 45
Temperature (℃)
Figure 4.2
Figure 4.3 shows the relationship between output voltage and humidity while Table 4.1
shows the standard characteristics of the humidity sensor.
Figure 4.2
Table 4.1
U1
1 28
MCLR MCLR/Vpp RB7/PGD
2 27
RA0 RA0/AN0 RB6/PGC
3 26
RA1 RA1/AN1 RB5
4 25
RA2/AN2/Vref-/CVref RB4
5 24
RA3/AN3/Vref+ RB3/PGM
6 23
RA4/T0CKI/C1OUT RB2
7 22
RA5/AN4/SS/C2OUT RB1
8 21 VCC
Vss RB0/INT
9 20
OSC1/CLKIN Vdd
10 19
OSC2/CLKOUT Vss
C1 11 18
RC0/T1OSO/T1CKI RC7/RX/DT
12 17
RC1/T1OSI/CCP2 RC6/TX/CK
13 16
RC2/CCP1 RC5/SDO
2
30pF 14 15
RC3/SCK/SCL RC4/SDI/SDA
Y1
C2 20MHz PIC16F876A
1
VCC
`30pF
Diode 1N4148 R3
S5 10K
MCLR
SW-PB RA1
R2
10K
Figure 4.4
Figure 4.4 shows the connection of humidity sensor to PIC microcontroller, which is
PIC16F876A. The voltage supply (VCC) of the circuit is 5V. The voltage analog output of
humidity (H) is connected to RA0 (AN0) while the voltage analog output of temperature (T)
is connected to RA1 (AN1). However, user is free to choose any type of microcontroller, just
have to make sure that both of the voltage analog outputs of humidity sensor are connected to
the ADC (Analog Digital Convector) pin of that particular microcontroller. For more details
of example application, please refer Cytron product, PR15 which can be found in the web site:
www.cytron.com.my .
5. WARRANTY
Prepared by
Cytron Technologies Sdn. Bhd.
19, Jalan Kebudayaan 1A,
Taman Universiti,
81300 Skudai,
Johor, Malaysia.
URL: www.cytron.com.my
Email: support@cytron.com.my
sales@cytron.com.my