Anyone whose know code for humidity sensor HU-10S. I've been searching it for a long time but yet i can't find any. it very urgent since i really need this for school project. ASAP please :~
Look at the data sheet, the graph tells it all, plus there is a schematic there for the hookup.
If it's a school project I think they want you to do the software yourself.
Ask questions if you run into problems.
This is what I can find.
Edit: Looks like your version has: +5, humidity, ground and temperature output.
May have to experiment a bit.
LarryD:
Look at the data sheet, the graph tells it all, plus there is a schematic there for the hookup.
If it's a school project I think they want you to do the software yourself.
But here's a hint: see if you can see a similarity between the output from your sensor (as described in that datasheet) and this example.
the same goes to you. somebody will help you. pity you
LarryD:
Look at the data sheet, the graph tells it all, plus there is a schematic there for the hookup.
If it's a school project I think they want you to do the software yourself.
Ask questions if you run into problems.
This is what I can find.
etc 264216, 1 datasheet pdfEdit: Looks like your version has: +5, humidity, ground and temperature output.
May have to experiment a bit.
tq for helping. i've searched the code but I only find tutorial about HTD-11/22/21 humidity sensor. and i tried a lot of code but it doesn't work
JimboZA:
LarryD:
Look at the data sheet, the graph tells it all, plus there is a schematic there for the hookup.
If it's a school project I think they want you to do the software yourself.But here's a hint: see if you can see a similarity between the output from your sensor (as described in that datasheet) and this example.
thanks for helping. since im still in learning process, i don't understand it at all but i'll try to search details about it.
Anyone knows code for humidity sensor HU-10S? I've been searching it for a long time but yet i can't find any. Its very urgent since i really need this for school project.
Please don't cross post.
http://forum.arduino.cc/index.php?topic=265592.msg1872872#msg1872872
http://forum.arduino.cc/index.php?topic=265635.msg1873198#msg1873198
What type of IC is on there? The picture is not clear enough for me...
Base on the datasheet, it have three pins, one is +5V another is Gnd, and the out is analog voltage from 1.2V to 3V
you can start using this code, attach the out pin to pin A0
Humidity output signal : (25 , 60% RH, the input voltage = 5V) Humidity 20 % 30 % 40 % 50 % 60 % 70 % 80 % 90 % 95% voltage V 1.25 1.50 1.80 2.00 2.20 2.40 2.57 2.75 2.82
/*
AnalogReadSerial
Reads an analog input on pin 0, prints the result to the serial monitor.
Attach the center pin of a potentiometer to pin A0, and the outside pins to +5V and ground.
This example code is in the public domain.
*/
// the setup routine runs once when you press reset:
void setup() {
// initialize serial communication at 9600 bits per second:
Serial.begin(9600);
}
// the loop routine runs over and over again forever:
void loop() {
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(sensorValue);
delay(1); // delay in between reads for stability
}
264216_1.pdf (242 KB)
Well, the sensor simply outputs a voltage between 0 and 5. So does the potentiometer in the example.....
Call me picky, but the PCB says "HU-10B"