Go Down

Topic: Honeywell HCH 1000 Humidity Sensor (Read 24468 times) previous topic - next topic

I was wondering if anyone has tips on how to use the  Honeywell hch 1000 with a 555 timer? I am having difficulty trying to wire the hch 1000 correctly with the 555 timer and the arduino uno. Thanks.

robtillaart

Please post
* URL of the sensor
* your code so far


Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

#2
Jun 24, 2011, 03:31 pm Last Edit: Jun 24, 2011, 03:36 pm by cbabilotte Reason: 1
The data sheet for the honeywell can be found at:

http://www.honeywell-sensor.com.cn/prodinfo/sensor_humidity_moisture/datasheet/HCH-1000.pdf

the cmos 555 data sheet can be found at:

http://www.datasheetcatalog.org/datasheet/texasinstruments/tlc555.pdf

Here is the code

const int pin = 3;   // Analog input pin
unsigned long duration;
const int sensor_offset = 1889;  //the offset to give correct RH value

void setup()
{
  Serial.begin(9600);   // initialize serial communications at 9600 bps:
  pinMode(pin, INPUT);
}

void loop()
{
  duration = 0;
  byte j = 0;   // for start counter enter digits
  for (j = 0; j < 16 ; j +=1)
  {
  duration += pulseIn(pin, HIGH);
  } 
  duration /=16;
  long humid =(duration - sensor_offset)/10.23; //max is 1023 and to %
  Serial.print("sensor = " );                       
  Serial.print(duration);    // print the adc value to the serial monitor:
  Serial.print("\t humidity = ");     
  Serial.print(humid);   // print the temperature
  Serial.println(" %");
  delay(1000);   // wait 1 second before next sample                   
}

I have attached the circuit diagram but I am not sure it is correct.

pwillard

Examples of what you can do:

1) http://www.arduino.cc/en/Tutorial/RCtime
2) http://arduino.cc/forum/index.php/topic,55812.0.html

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy