PSoC Analog Coprocessor Pioneer Kit Guide, Doc. # 002-11190 Rev. *B
30
Kit Operation
shows the PSoC Creator schematic for interfacing a PSoC Analog Coprocessor with a
humidity sensor.
Figure 3-14. Interfacing PSoC Analog Coprocessor with a Humidity Sensor
The PSoC Analog Coprocessor Pioneer Kit has a humidity sensor (HPP801A031) and a reference
capacitor (C
ref
) of 180 pF. The reference capacitor, C
ref
, is used to calibrate the capacitance
measurement. The capacitance of the humidity sensor is calculated using the following equation:
Where, C
s
is the capacitance of the humidity sensor
C
ref
is the capacitance of the reference capacitor
RawCount
Cs
is the raw count obtained from the CapSense Component when the humidity sensor is
being measured.
RawCount
Cref
is the raw count obtained from the CapSense Component when the reference capaci-
tor is being measured.
RawCount
cos
is the raw count that corresponds to the offset capacitance (trace capacitance with
sensor disconnected).
C
OS
is the offset capacitance (trace capacitance with sensor disconnected from the pin).
Humidity is calculated from the measured capacitance Cs using the following equation:
Where,
C
s
is the capacitance of the humidity sensor
C
nom
is the nominal capacitance of the humidity sensor
Sensitivity is the sensitivity of the humidity sensor (pF/%RH)
%RH
nom
is the nominal humidity value
Note that C
nom
, sensitivity, and %RH
nom
are specific to the sensors and are provided by sensor
manufacturer. For the humidity sensor (HPP801A031) used on PSoC Analog Coprocessor Pioneer
Kit, the C
nom
, %RH
nom
, and sensitivity are 180 pF, 55%RH and 0.31 pF/%RH respectively.