hello i am trying to make a simple project and get a value of the hydrometer in my room. It keeps returning 0...anyone knows why? :/I use D0 digital pins actually pin 3
xmarkx:
hello i am trying to make a simple project and get a value of the hydrogene in my room. It keeps returning 0...anyone knows why? :/I use D0 digital pins actually pin 3
You are trying to digitalRead an OUTPUT. It doesn't work, as you've found out. Try digitalReading an INPUT.
An hygrometer measures the Specific Gravity of a liquid and has nothing to do with hydrogen gas.
If you've hydrogen gas in your bedroom, I hope you don't smoke.
Hi, hygrometer measures moisture, hydrometer measure specific gravity.
What is the model of your hydrometer?
Tom.....
Henry_Best:
xmarkx:
hello i am trying to make a simple project and get a value of the hydrogene in my room. It keeps returning 0...anyone knows why? :/I use D0 digital pins actually pin 3You are trying to digitalRead an OUTPUT. It doesn't work, as you've found out. Try digitalReading an INPUT.
An hygrometer measures the Specific Gravity of a liquid and has nothing to do with hydrogen gas.
If you've hydrogen gas in your bedroom, I hope you don't smoke.
thought he said hydrogene ?
the new science that undiscovered life forms might be borne in water. ergo, the search for a hydrogene.
Maybe posting a link to the sensor might shed some light on the real problem ?
Hello and thank you all for your answers.
First of all my shield is for moisture or something else? The description was "Soil Moisture Sensor Soil Hygrometer Detection Module For Arduino".
Also as i read above the zero coming out as a result is correct?
I dont know if I must connect it to an analog pin. I have no idea what this sensor sends...that why i am trying to figure it out. I am newbie and I am trying to figure out when it should be putted and what I can grab from the enviroment.
xmarkx:
Hello and thank you all for your answers.First of all my shield is for moisture or something else? The description was "Soil Moisture Sensor Soil Hygrometer Detection Module For Arduino".
Yes. It's for measuring the moisture in soil, not air. It does that by measuring the resistance between the two metal prongs. It's has both analog and digital outputs. AO & DO.
Henry_Best:
xmarkx:
Hello and thank you all for your answers.First of all my shield is for moisture or something else? The description was "Soil Moisture Sensor Soil Hygrometer Detection Module For Arduino".
Yes. It's for measuring the moisture in soil, not air. It does that by measuring the resistance between the two metal prongs. It's has both analog and digital outputs. AO & DO.
So zero is a normal output? Or something is wrong here?