The Raindrops Detection sensor module is used for rain detection. It is also for measuring rainfall intensity. Rain sensor can be used for all kinds of weather monitoring and translated into output signals and AO.
Raindrops Detection Sensor Module Rain Weather Module for Arduino , etc. Rain sensor can be used to monitor a variety of weather conditions and turned into several fixed output signal and Analog output.
It includes a printed circuit board (control board) that “collects” the raindrops. As raindrops are collected on the circuit board, they create paths of parallel resistance that are measured via the op-amp. The lower the resistance (or the more water), the lower the voltage output. Conversely, the less water, the greater the output voltage on the analog pin. A completely dry board, for example, will cause the module to output 5V.
The module includes a rain board and a control board that is separate for more convenience. It has a power indicator LED and an adjustable sensitivity through a potentiometer. The module is based on the LM393 op-amp.
Features :
The LM393, use of the wide voltage comparator
Provide both digital and analog output
Output LED indicator
Compatible with Arduino
TTL Compatible
The sensor uses the high-quality FR – 04 double material, the large area of 5.5 * 4.0 CM
Treatment of nickel plating and surface, have fight oxidation, electrical conductivity, and life has more superior performance
The comparator output, signal clean, good waveform, driving ability is strong, for more than 15 mA;
With potentiometer sensitivity adjustment
The output format: digital switch output (0 and 1) and analog AO voltage output;
Has a fixed bolt hole, convenient installation
Package Includes :
1 x Printed Circuit Board for Rain Water Collection
1 x Control Board with LM393 Voltage Comparator
A 5-Wire Dupont Cable
Pin Connections Table 1
Board Sensor Pin Connection Rain Sensor VCC/GND/AOUT 3.3-5V / GND / board analog pin
Raindrop Detection Sensor Module - Arduino Uno
Raindrop Detection Sensor Module - Arduino Nano
Raindrop Detection Sensor Module - Arduino Mega
Raindrop Detection Sensor Module - ESP32
Raindrop Detection Sensor Module - ESP8266
Raindrop Detection Sensor Module - STM32
Raindrop Detection Sensor Module - Raspberry Pi Pico
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: A0 on Arduino Uno (ADC range 0 -1023 , reference 5. 0V)
6 #define RAIN_PIN A0
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 5.0 / 1023.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: A0 on Arduino Nano (ADC range 0 -1023 , reference 5. 0V)
6 #define RAIN_PIN A0
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 5.0 / 1023.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: A0 on Arduino Mega (ADC range 0 -1023 , reference 5. 0V)
6 #define RAIN_PIN A0
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 5.0 / 1023.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: 34 on ESP32 (ADC range 0 -4095 , reference 3. 3V)
6 #define RAIN_PIN 34
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 3.3 / 4095.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: A0 on ESP8266 (ADC range 0 -1023 , reference 3. 3V)
6 #define RAIN_PIN A0
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 3.3 / 1023.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: PA0 on STM32 (ADC range 0 -4095 , reference 3. 3V)
6 #define RAIN_PIN PA0
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 3.3 / 4095.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
1 //ekostra.com
2 //electronics store in egypt
3 //+201008896258
4
5 // Analog pin: 26 on Raspberry Pi Pico (ADC range 0 -4095 , reference 3. 3V)
6 #define RAIN_PIN 26
7
8 void setup () {
9 Serial.begin (115200 );
10 }
11
12 void loop () {
13 int raw = analogRead(RAIN_PIN);
14 float voltage = raw * 3.3 / 4095.0 ;
15
16 Serial.print ("Rain sensor raw: "); Serial.print (raw);
17 Serial.print (" Voltage: "); Serial.print (voltage);
18 Serial.println (raw < 400 ? " -> Wet / Rain detected" : " -> Dry"); // lower reading = more water bridging the plates
19
20 delay (500 );
21 }
Project Notes: Resistive rain-sensing board (analog).