Description:
This humidity sensor module can operate in 3.3V to 5VDC. It comes with basic components and it can start measuring humidity by just supplying power to it. HR202 humidity sensor is humidity sensitive resistor made from organic macromolecule materials. It can be used in hospitals, storage room, workshop, production floor, toilet, garden, laboratory and more.Â
Besides the basic operation, the module also have additional voltage comparator circuit which offer adjustable threshold level for humidity sensor to trigger, it becomes a digital output. It can be interface with any microcontroller with digital or analog input such as PIC, SK40C, SK28A, SKds40A, Arduino series for humidity changes detection.Â
Features:
- Come with screw mounting hole.
- Power indicator LED.
- On board comparator for digital output.
- DO will be low when humidity reach certain level, by adjusting on board potentiometer, the level can be adjusted.
- Humidity is higher than threshold, DO will be LOW.
- Turning the on board potentiometer clockwise set the humidity level lower.
- AO will output analog voltage.
- Operating Humidity range: 20-95%RH
- Operating Temperature: 0 -60 degree Celsius
- Accuracy: +-5%RH
- On-board pull up with 10K resistor to VCC. High humidity result in lower voltage at A0
Documentation:Â HR202 datasheet
Coding:
Â
int LED=13; //build-in LED
const int HR202=4;
void setup() {
pinMode(HR202, INPUT); //set HR202 as input pin
Serial.begin(9600);
}
void loop() {
int value=digitalRead(HR202); //read digital data from HR202 and send it to value1
LED=value; //assign value' value to LED
Serial.println(value);
}