edwardthe
Published © GPL3+

How to use Raindrop Sensor with Arduino Leonardo

Raindrop #sensor module is one of the most essential stuff for various automation process.

BeginnerFull instructions provided174
How to use Raindrop Sensor with Arduino Leonardo

Things used in this project

Story

Read more

Schematics

circuit diagram of arduino rain sensor project

it was sketched in MS Pain just to elaborate the basic of the schematic

Code

Arduino rain sensor code

Arduino
very basic analog read function has been used
int sensorRead = 0;

void setup() {
	Serial.begin(9600);
	pinMode(A0, INPUT);
}

void loop() {
	int sensorRead= analogRead(A0);
	Serial.println(sensorRead);
}

Credits

edwardthe
3 projects • 1 follower

Comments