Devices & Components
Arduino Leonardo with Headers
Ceramic Capacitive Rain Sensor
Jumper wires (generic)
Software & Tools
Arduino IDE
Project description
Code
Arduino rain sensor code
arduino
very basic analog read function has been used
1int sensorRead = 0; 2 3void setup() { 4 Serial.begin(9600); 5 pinMode(A0, INPUT); 6} 7 8void loop() { 9 int sensorRead= analogRead(A0); 10 Serial.println(sensorRead); 11}
Downloadable files
circuit diagram of arduino rain sensor project
it was sketched in MS Pain just to elaborate the basic of the schematic
circuit diagram of arduino rain sensor project

circuit diagram of arduino rain sensor project
it was sketched in MS Pain just to elaborate the basic of the schematic
circuit diagram of arduino rain sensor project

Comments
Only logged in users can leave comments