Pages: [1]   Go Down
Author Topic: Please advice on my project . =D rain sensor  (Read 3533 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I planning to do make an rain sensor,and connect it to arduino and link to computer. When the rain sensor touch water, The led light will turn on, and there will be an indication on the computer screen.
when can turn the led light off by touching a touch sensor.
I don't know if this is gonna work, I'm new to arduino. please advice
How do I connect the rain sensor to arduino and sent information to the computer? and use it to turn on the led light

« Last Edit: November 01, 2011, 10:40:29 pm by ydli » Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I planning to do make an rain sensor
How?

Quote
When the rain sensor touch water, The led light will turn on
Not unless you read from the rain sensor, and determine that the sensor value means that the sensor is wet, and, therefore, you turn the LED on. It isn't magic.

Quote
when can turn the led light off by touching a touch sensor.
You must read the touch sensor (whatever kind you end up with), and determine that it has been touched. Then you turn the LED off. It isn't magic.

Quote
I don't know if this is gonna work, I'm new to arduino.
Being new to Arduino isn't why it might not work. Having no clue how sensors, computers, lights, etc. work is a much more significant factor, as is having hazy requirements.

For instance, pressing the touch sensor is not going to dry the rain sensor or stop the rain, so, if the sensor is wet, touching the touch sensor to turn the light off will result in the light being off for however long it takes for loop() to be executed again, and read that the rain sensor is still wet.

Quote
How do I connect the rain sensor to arduino
Are you serious?

Quote
and sent information to the computer?
Smoke signals...

Quote
and use it to turn on the led light
You said that the Arduino was supposed to turn the LED on/off.
Logged

Atlanta, GA
Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.radiolocman.com/shem/schematics.html?id=52242
Logged

Boston
Offline Offline
God Member
*****
Karma: 3
Posts: 575
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Most rain sensors are of the tipping bucket variety.  When the tiny bucket fills up, it tips over, triggering the sensor.  Each tip of the bucket represents a certain amount of rain.
I would use an interrupt to listen for the rain sensor.
Check out this thread on Sparkfun for more info.
http://www.sparkfun.com/products/8942
Logged

Offline Offline
God Member
*****
Karma: 7
Posts: 647
"In this house, we obey the Laws of Thermodynamics" Homer J. Simpson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You seem to be trying to decide if it is or is not raining, rather than measuring the amount of rainfall.
Here is an approach using the capacitance of a sloped material,several commercial systems seem to be based on capacitance.
ftp://ftp.campbellsci.com/pub/csl/outgoing/uk/leaflets/rd01_oct08.pdf
I am guessing this technique would detect the start of rain promptly but might have a delay before indicating it had ceased.

Here is a more home made solution;
http://www.techlib.com/electronics/raindetectors.htm
Logged

Pages: [1]   Go Up
Jump to: