Progress Report for Basic Electrical Engineering Laboratory Group 2
Progress Report for Basic Electrical Engineering Laboratory Group 2
Rainy Days With Weather Indicator And With The Use Of Arduino Uno
Presented By:
Atienza, Mathew
Calara, Tyron Joel
Caperare, Cyrus Ceasar
Dela Cruz, John Ringgo A.
Fernandez, Nathaniel
Francisco, Ridjy
Manebo, Kieth Russel
Paduga, Earl Justine
Stevens, Gilbert Caraan
S.Y: 2024-2025
INTRODUCTION ........................................................................................................... i
MATERIALS USED ......................................................................................................iii
CIRCUIT DOCUMENTATION ...................................................................................... iv
SUMMARY .................................................................................................................. v
WIRING DETAILS....................................................................................................... vi
COMPONENT LISTS ................................................................................................. vii
CODE DOCUMENTATION ........................................................................................ viii
CODE EXPLANATION ............................................................................................... ix
CONCLUSION ............................................................................................................ x
I. Introduction
This project focuses on the development of a Mini Smart Automatic Rotating Fast
Clothes Drying System designed for use during rainy days. Using an Arduino Uno
microcontroller, the system automatically detects rain via a rain sensor and activates a
servo motor to retract the clothes stand, preventing the clothes from getting wet. In
addition, a 16x2 I2C LCD displays real-time rain sensor readings and the system’s
Name of
Picture of Materials Description
Materials
16x2 I2C
Displays system status and rain readings.
LCD Display
The Mini Smart Automatic Rotating Fast Clothes Drying System is an intelligent solution
developed to protect clothes from sudden rain. Using a rain sensor, the system
automatically retracts a clothes stand via a servo motor when rain is detected. The status is
continuously displayed on a 16x2 I2C LCD screen. The Arduino Uno microcontroller is the
core of the system, responsible for processing the sensor data and controlling the servo
motor based on real-time rain detection. This project provides a smart and convenient way
The rain sensor module’s analog output (AO) is connected to Arduino Uno’s A0 pin, while
the digital output (DO) is linked to pin D2. The sensor’s GND pin is wired to the Arduino’s
ground (GND) and the VCC to the 5V power supply. The 16x2 I2C LCD has its GND and
VCC connected to the Arduino’s GND and 5V, respectively. Its data lines, SDA and SCL,
are connected to A1 and A2 pins. The servo motor also shares the Arduino’s 5V and GND
for power and connects its control signal (PWM) wire to digital pin D9. All components
share the same power source, enabling a compact and effective wiring setup that ensures
proper functionality.
VI. Component List
Rain Sensor Detects rain and sends signals to Arduino. AO, DO, GND, VCC
16x2 I2C LCD Displays system status and rain readings. GND, VCC, SDA, SCL
Arduino UNO Controls all operations of the system. All general-purpose pins
Servo Motor Moves the clothes stand to retract or extend. GND, VCC, PWM
VII. Code Documentation
// Pin definitions
const int rainSensorDigitalPin = 2;
const int rainSensorAnalogPin = A0;
const int servoPin = 9;
const int lcdAddress = 0x27;
const int lcdColumns = 16;
const int lcdRows = 2;
// Create objects
LiquidCrystal_I2C lcd(lcdAddress, lcdColumns, lcdRows);
Servo servo;
void setup() {
// Initialize serial communication
Serial.begin(9600);
// Initialize LCD
lcd.begin(lcdColumns, lcdRows);
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("Clothes Drying");
lcd.setCursor(0, 1);
lcd.print("Stand Ready");
// Initialize servo
servo.attach(servoPin);
servo.write(0); // Initial position
void loop() {
// Read rain sensor digital value
int rainDetected = digitalRead(rainSensorDigitalPin);
int rainAnalogValue = analogRead(rainSensorAnalogPin);
The Arduino code initializes communication with the serial monitor, sets up the LCD
display, configures the servo motor, and prepares the rain sensor for reading. Upon startup,
the LCD displays a message confirming that the stand is ready. In the main loop, the
Arduino continuously reads the rain sensor’s digital and analog outputs. The rain value is
updated on the LCD in real-time. When rain is detected (digital output LOW), the message
"Rain Detected!" appears, and the servo rotates to 90 degrees to retract the clothes stand.
If no rain is detected, the LCD shows "No Rain," and the servo returns to 0 degrees to
extend the stand. A short delay of one second is added between updates to ensure smooth
In conclusion, the development of the Mini Smart Automatic Rotating Fast Clothes
Drying System has successfully demonstrated how automation and simple electronics can provide
an effective solution to everyday challenges, such as protecting clothes from unexpected rain. By
integrating a rain sensor, servo motor, LCD display, and Arduino Uno, the system can detect rainfall
in real time, automatically retract the clothes stand, and display the current weather status. This not
only prevents clothes from getting wet but also reduces the need for constant human supervision.
The project showcases the practical application of embedded systems and highlights the potential
Overall, this project proves to be a reliable and efficient solution for smart clothes drying, especially
Srinivas, G., Rani, T., & Kumar, D. (2021). Design and Implementation of an Automatic
Clothesline System Using Weather Sensors. International Journal of Engineering Research &
Kumar, R., & Singh, A. (2020). Arduino-Based Real-Time Weather Monitoring System.
Yadav, P., Meena, S., & Jain, A. (2022). Solar-Tracking Rotational Drying System Using LDR
Chowdhury, A., Hossain, M., & Rahman, M. (2021). Design and Development of a Smart
Clothes Drying System with Rain Sensing Capability. International Journal of Engineering
Available at:
https://www.ijert.org/design-and-development-of-a-smart-clothes-drying-system-with-rain-