Prajjwal Nag
Published © CC BY-NC-SA

HIH4000 Humidity, Hygrometer Sensor Tutorial

The HIH-4000 Series Humidity Sensors are designed specifically for high efficient humidity sensing by Honeywell.

BeginnerFull instructions provided1 hour1,158
HIH4000 Humidity, Hygrometer Sensor Tutorial

Things used in this project

Hardware components

HIH4000 Humidity Sensor
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

Connection

Code

Code snippet #1

Plain text
int HIH4000_Pin = A0; //analog pin 0

void setup(){
  Serial.begin(9600);
}

void loop(){

  //To properly caculate relative humidity, we need the temperature.
  float relativeHumidity  = analogRead(HIH4000_Pin);

 float av=0.0048875*relativeHumidity;
 
  float res=(av-0.86)/0.03;
Serial.println(res);
  delay(250); //just here to slow it down so you can read it
}

Credits

Prajjwal Nag

Prajjwal Nag

8 projects • 31 followers
So basically i am a crazy person, who loves to think the most odd way ever possible,who makes what he thinks and also let other also make those .

Comments