🌧️ Rain Sensor module: Wiring and Coding Guide for Arduino 💻🛠️

Опубликовано: 10 Июль 2026
на канале: Scotty D
4,004
22

In this tutorial, we delve into the world of weather monitoring with the Rain Sensor module, demonstrating how to seamlessly integrate and program it with an Arduino board.

The Rain Sensor module serves as a vital tool, detecting moisture or rain and relaying signals through its analogue or digital output. Compatible with a wide array of platforms including Arduino, ESP8266, ESP32, Teensy, Raspberry Pi, and more, its versatility makes it a must-have for weather enthusiasts and DIY enthusiasts alike.

Comprising three essential components - a nickel-plated sensor, connection wires, and the LM393 voltage comparator

🔗 Purchase from AliExpress here: https://s.click.aliexpress.com/e/_DEr...

🔗Grab the code from here:
https://github.com/5cottyD/Projects/t...

⏱️⏱️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 excerpt from the purchase page:

-Rain sensor suitable for diverse weather monitoring applications, providing output signals and AO translation.
-Constructed with high-quality FR-04 double material and a nickel-plated surface to resist oxidation.
-Features a comparator output with clean signals and strong driving capability (15mA+).
-Equipped with a sensitivity-adjustable potentiometer.
-Operating voltage range: 3.3V to 5V.
-Output formats: digital switch output (0 and 1) and analog AO voltage output.
-Includes fixed bolt holes for easy installation.
-Small board PCB size: Approx. 3.2cm x 1.5cm.

🎥 Don't miss out on the entire Electronics Playlist:    • Electronics & Projects  

🔔 Subscribe to the channel and hit the notification bell to stay updated with our latest videos on environmental innovation and sustainability!
   / @scottydiy  

🔗Don't forget to check out Josephine's channel for more exciting content:    / @josephine5766  

🌍 Tags: #arduino #LM393 #WeatherMonitoring #diy #electronics #arduinoprojects