International Scientific Journal of Engineering and Management

An International Scholarly || Multidisciplinary || Open Access || Indexing in all major Database & Metadata
The journal follows the UGC Guidelines and is evaluated for inclusion in the Web of Science
ISSN: 2583-6129

Impact Factor: 8.072

Rain Detection and Prediction System Using AI and Esp32-Based Sensor

Version
File Size 329.16 KB
Downloads 0
Files 1
Published 21 June 2026
Updated 21 June 2026

Rain Detection and Prediction System Using AI and Esp32-Based Sensor

 

 

Manthan Vaidya1 , Prof. Bharati Bisane2 , Nayan Nemade 3, Tejas Nade4

*1,3,4, Bachelor of Engineering (BE), Department of Artificial Intelligence and Machine Learning (AIML), Alard College of Engineering and Management, Pune, Maharashtra, India

*2 Professor Bachelor of Engineering (BE), Department of Artificial Intelligence and Machine Learning (AIML), Alard College of Engineering and Management, Pune, Maharashtra, India

 

 

ABSTRACT

Localized, short-notice rainfall continues to disrupt agriculture, small-scale construction, and everyday building management, particularly where access to dense, official meteorological infrastructure is limited. Conventional weather stations are accurate but sparse and expensive, while consumer-grade IoT weather gadgets typically offer passive monitoring without any predictive capability or automated response. This paper presents the design, implementation, and bench-level evaluation of a Smart Rain Detection and Prediction System that couples an ESP32-based sensor node (DHT22 temperature/humidity, BMP280 barometric pressure, and an analog/digital rain sensor) with a Node.js/Express backend, a PostgreSQL relational database, and a Random Forest machine learning pipeline for rain detection and short-term (1–3 hour) rainfall forecasting. An SG90 micro servo simulates automated window/roof closure when rain is detected, and a React dashboard built on Recharts presents live readings, predictions, and alerts to authenticated users under role-based access control. Unlike many reported systems, the backend includes an explicit, deterministic fallback heuristic that returns a prediction even if the Python inference process is unavailable, and the rain-alert probability threshold is stored as a runtime-configurable database value rather than hardcoded in firmware. On the project's bundled 500-row sample dataset, the Random Forest rain-detection classifier reached 100% test-split accuracy and the rainfall regressor achieved a mean absolute error of 0.213 mm across the 1/2/3-hour forecast horizons; both figures are reported transparently as sample-data results pending validation on real, field-collected data. We further outline a proposed 30-day field deployment protocol, including hardware placement, calibration steps, and the metrics that such a trial would need to capture, as a concrete next step toward field validation. The system's full hardware cost is estimated at INR 900–1300 (USD 11–16), and the complete software stack — Node.js, Express, PostgreSQL, React, and scikit-learn — is open-source, keeping the design reproducible at zero licensing cost. This work positions itself as a transparent, engineering-first account of building an end-to-end IoT rain-intelligence pipeline, deliberately distinguishing demonstrated, code-verified results from proposed future validation work.

Keywords: ESP32, IoT, Rain Detection, Machine Learning, Random Forest, Node.js, Express, PostgreSQL, React, DHT22, BMP280, Servo Motor, Real-Time Monitoring, REST API

Download
or download free
[changelog]

Categories & Tags

Similar Downloads

No related download found!
ISJEM Journal

Author's Blog

What is the difference between a Research Paper and a Review Paper?

A research paper and a review paper are both scholarly documents, but they serve different purposes and have different characteristics....
Read More
Author's Blog

What is DOI?

A Digital Object Identifier (DOI) is a unique alphanumeric string that is used to identify and provide a persistent link...
Read More
Author's Blog

What do you need to do during production of your Research Paper?

During the production of a research paper, the following steps need to be taken: conducting research, organizing and analyzing data,...
Read More
Author's Blog

What are the advantages of publishing a research paper?

Publishing a research paper can have many advantages for researchers, including: Career advancement, professional recognition, opportunities for collaboration, increased visibility,...
Read More
Author's Blog

Ways to Support your Academic Wellbeing which preparing the Research Paper/Article

To support your academic wellbeing while publishing a research paper, it's important to set realistic goals, manage your time effectively,...
Read More
Author's Blog

How to improve your Research Paper writing Skills?

Read extensively: One of the best ways to improve your research paper skills is to read extensively in your field...
Read More
Author's Blog

Is DOI compulsory to publish a research paper in a Journal?

DOI is not strictly required to publish a research paper, but it is highly recommended. Basically, the International Scientific Journal...
Read More
Author's Blog

In what ways does research paper give weight to career development?

Publishing a research paper can give weight to a researcher's career development in several ways, such as: establishing oneself as...
Read More
Author's Blog

How to develop a Research Paper from Scratch

Developing a research paper involves several steps including: choosing a topic, conducting background research, formulating a research question or hypothesis,...
Read More
Author's Blog

How Plagiarism report plays crucial role in Research Paper Publication?

Plagiarism is a major concern in the academic and research community, as it undermines the integrity of the research and...
Read More