How much rain is really falling when you watch a heavy shower through the window of your home? How about on other days when it’s just a light shower?
Make your own rain gauge, record the results and study your findings.
Water Level | Arduino UNO |
s | A0 |
+ |
5 v |
- | gnd |
Rain Drop | Arduino UNO |
A0 | A1 |
VCC | 5 v |
GND | GND |
int DO=A0;
void setup(){
Serial.begin(9600);
pinMode(DO, OUTPUT);
}
void loop(){
//analog output
Serial.println(analogRead(DO));
}