How to Wire and Code a Rain Sensor module to a Arduino

Channel:
Subscribers:
14,200
Published on ● Video Link: https://www.youtube.com/watch?v=IKh5x6YurYs



Category:
Guide
Duration: 11:54
775 views
11


This is a Rain Sensor weather module and I'm going to show you how to wire up and code it to an Arduino.

This rain sensor sends a signal via the analogue or digital output when moisture or rain is detected. Compatible with Arduino, ESP8266, ESP32, Teensy, Raspberry Pi, and other popular platforms.

This module comes in 3 parts:
- nickel plated sensor
- Connection wires
-The LM393 voltage comparator

Grab the code from here:
https://github.com/5cottyD/Projects/tree/master/Arduino%20Rain%20Sensor%20Code

⏱️⏱️VIDEO CHAPTERS⏱️⏱️
------------------------------------------------
0:00 Intro
0:10 Cost / Purchase
0:28 Details, Specifications, Features LM393
1:31 Wiring Sensor to Arduino via Pin connectors
2:31 Coding Arduino
6:45 Calibrating Digital Output / Potentiometer
8:12 Serial monitor Input / data
9:50 Sensor Corrosion

Specification copied from the purchase page:

-rain sensor, can be used for all kinds of weather monitoring, and translated into output signals and AO.
-The sensor uses the high quality FR - 04 double material, large area of 5.5 * 4.0 CM, treatment of nickel plating and surface to fight oxidation
-The comparator output, signal clean, good waveform, driving ability is strong, for more than 15 mA
-With potentiometer sensitivity adjustment
-The working voltage of 3.3 V to 5 V
-The output format: digital switch output (0 and 1) and analog AO voltage output
-Has a fixed bolt hole, convenient installation
Small board PCB size: Approx. 3.2 cm x 1.5 cm

Check out Josephine's channel
https://www.youtube.com/channel/UChRIIUpVIG-HMIYoMM3WSSw

#Arduino
#LM393







Tags:
Arduino
sensor
DIY weather station
LM393
arduino projects
arduino uno
Rain Module
Rain Weather Module
Rain Detection
Rain Sensor
Arduino sensor
Arduino rain
ESP32 ESP8266
electronic components
Raspberrpi
weather
local weather
arduino relay
arduino with bluetooth
esp8266 arduino
16x2 lcd arduino
5v relay arduino
active buzzer arduino
arduino 16x2 lcd i2c
arduino 433mhz
arduino bluetooth module
arduino bt
arduino camera module
arduino current sensor