Professional Documents
Culture Documents
PROJECT LAST-khadija
PROJECT LAST-khadija
Introduction
1
1.1 Introduction
Natural resource elements are associated with day-to-day activities such as rainfall
and sun light which is having both positive as well as negative impact on our lives and
property. The sun emits ultraviolet energy which is one of the sources for vitamin D,
staggering the growth of oncogenes and also used by plants during photosynthesis which
is indirectly source of food for all living creature. Rainfall also having its very negative
impact and such as destruction and damage of nursery bed herbs or plants and various
ornamental flowers, skin disorder in humans, fever and sickness, and increase in mortality
of living stocks [1]. in open spaces where there is little shelter, such as in parks, farms and
markets, having automatic and permanently placed shelter in these areas can be very
helpful and could be a good way of collecting rain water.
The Purpose of this research is chosen to improve the design of the preexisting
shelter. Automatic sensor shelter can be used during rainy, summer, snow fall and dense
foggy season. It can helpful to not only save the life of cloth, the vegetables and fruits
but in some situations also save the human life [2]. And also hope in the future it shall
connects with Local Meteorological Network to be compatible with smart cities, and
applied to the Agricultural and livestock areas that suffer from drought or lack of
resources.
The vision is to make an optimize structure which is of low cost that fulfills the
need of the people working in open areas. The main function of an automated shelter is
protection from sunlight. This shelter meets these needs by using multiple sensors and a
set of DC motors to automatically sense raindrops and gives a signal to the pinion
attached to a motor. The rotating of the motor is responsible of opening and closing of
the shelter. The shelter is shaped in a way that allows it to collect rain water with can be
used in different applications, the equipment which is to be developed should be
economical and easy to use. So that implementation of it can be done on larger areas [3].
2
1.2 Statement of the Problem
The problem which is faced by people in day-to-day life is the extreme condition
of weather that leads to immense number of problems in our lives; High temperatures
negatively affect human movement in open spaces, which impedes the failure to
complete activities and tasks in an excellent manner. Likewise, rainfall leads to the
destruction of many tools such as devices, important papers, and the collapse of the
building’s infrastructure and corridors. Specifically, we face this problem in the
university, with the high temperature and rainfall impeding the movement of students,
professors, and staff, and affecting performance as required.
1.4 Objectives
This project aims to make a smart shelter implement and developed Automatic
rainwater and heat sensing shelter in university campuses open areas to avoid bad weather
due to its functionality and Simple unique design. It is very important for modern societies
to avoid the risk of rainfall and high temperature for Students and university Staff.
3
• Sends the information to observer through an SMS by using the GSM module.
This chapter will include the introduction of the project and the problem that face the
researcher and main goal of the project and what is the objective steps that is going to
solve it and the significant of study.
• Chapter Two
This chapter will include digest/outline of historical view and general information
about the component of the project and the Review of Related Literatures and Studies
to present the similarities and differences this project.
• Chapter Three
This chapter will include the methodology of the project and how this project will
create and develop.
• Chapter Four
This chapter will include the results and design of the project based on the weather
data.
• Chapter Five
This chapter will include the conclusion of the project and the recommendation to
make it more effective.
WSN: is a network comprising of various sensor nodes that are highly energy
efficient used in various applications now a days.
GSM: is a digital mobile network that is widely used by mobile phone users in
Europe and other parts of the world.
4
H-Bridge: An H-bridge is built of four switches that control the flow of current to a load,
normally its compatible with a microcontroller, such as an Arduino, to control motors to
move either forward or backward by connecting two sets of switches. Using one current
source, you can drive current in two directions by closing two switches.
5
Chapter Two
Literature Review
6
2.1 Historical Fundamental
In this chapter we will talk generally about the main concept and we will discuss it
in details.
2.1.1 Umbrella
The umbrella has been around for almost 4000 years… first discovered in the
historical Mesopotamia region in Western Asia. In those distant times, the sun was a
more threatening enemy than the rain, which is why the mighty parasol emerged to
protect against this threat, these emergent umbrellas were first made of palm leaves,
papyrus and peacock feathers and they were exclusively reserved for the upper class in
ancient Egypt and the Mesopotamia region. Although, this product was so heavy it often
required people to carry it. Parasols were also present in medieval China, where they
were made out of bamboo sticks, and covered with leaves and feathers, from parasols to
umbrellas In French, ‘paraplegia’ means umbrella, with ‘para’ meaning protection.
Whereas in English,
Umbrella has the Latin stem ‘umbra’ meaning shadow so has a direct link to its
predecessor, the parasol, it was only by the 16th century that the umbrella as we know it
became a reality. The decisive moment when oil and wax covers replaced the status quo
covers on parasols. It is from this moment that the umbrella became an item to protect
against bad weather and rain. From this point on, the parasol and the umbrella have
separate destinies, In the 17th century, the umbrella became a hit in Western countries,
especially in stylish Italy, France and Britain. At first, it was only considered a feminine
accessory to protect women from the rain, but English men progressively adopted it
through the 18th century with Jonas Hanaway leading the way for the era of umbrellas
for men, Umbrellas as new fashion accessories, it became more and more popular with
the European higher-class society in the 18th century, and it even became a fashion
accessory during the period of the French revolution. Craftsmen focused their work on
the handles, to make works of art through refining and sculpting canes from prestigious
materials like ebony, these materials were often pricey, so in the 19th century umbrellas
7
became attention grabbing pieces. So many inventions came about to avoid theft of these
treasures; integrated padlocks, sirens/alarms, even hidden weapons. The umbrella also
became multifunctional in response to growing demands for personalization, equipped
with lights, watches, perfume storage and even smoking accessories and an array of other
unexpected objects, (blog post about these coming soon!), The first European umbrellas
had a whalebone structure, and even though the materials used have evolved immensely,
this same basic structure remains important. The whale bone structure was replaced by
wood, steel, then aluminum and now fiberglass. The oil cloth canvas has also been
replaced by more and more resistant types of nylon. The modern-day umbrella upgraded
as telescopic (foldable), umbrella was only born in the 20th century, thanks to Hans
Haupt in 1928. However, Jean Marius invented a compact, foldable umbrella in France
in 1701, but it was not telescopic. It was only by 1969 that Bradford Philips obtained the
first patent for his foldable umbrella invention. But the story doesn’t end there, materials
continue to evolve for more resistance and comfort… which gives way to the
development of new models: transparent umbrella, pocket-sized umbrella, inverted
umbrellas, walking-stick umbrellas…the list goes on, as the umbrella has become both
a practical object and an indispensable fashion accessory [4].
2.1.2 Microcontrollers
8
Microcontrollers are sometimes called Embedded Microcontrollers, which just
means that they are part of a larger device or system unlike a general-purpose computer,
which also includes all of these components, a microcontroller is designed for a specific
task to control a particular system.
Microcontrollers are used in a wide number of electronic systems such as: control
systems in industries; electronic measurement instruments; printers; mobile phones;
security systems; hearing aids; TV; radio; and CD players Interrupts. Microcontrollers
must provide real time (predictable, though not necessarily fast) response to events in
the embedded system they are controlling.
9
The boards feature serial communication interfaces, including Universal Serial Bus
(USB) on some models, for loading programs from personal computers. For
programming the microcontrollers, the Arduino project provides an integrated
development environment (IDE) based on a programming language named Processing,
which also supports the languages C and C++.
• Arduino UNO.
• Arduino Nan
• Arduino Mega.
10
2.1.3 Sensors
• Analog sensor
Analog sensors are the devices that produce analog output in correspondence to the
quantity being calculated. These sensors also observe the change in external factors such
as light intensity, speed of the wind, and solar radiation, and others. And the output ranges
between 0V to 5V, like (light sensor, sound sensor, analog temperature sensor.
• Digital sensor
Digital sensors are the kind of electrochemical or electrical sensors where the
information is converted to digital form and then transmitted. The output of a digital sensor
is the distinct digital signal of the quantity which is being measured, like (photodetector
sensor, infrared sensor, and their special types that work with both, like (Rain Sensor,
accelerometer sensor.
2.2.3 Motors
11
air) for their motive power, there’s various types of motors and we will discuss some of
them like:
• AC Motors
• DC Motors
12
Figure (2.3) DC motors
• Applications of WSN:
• Landslide Detection
• Challenges of WSN:
• Quality of Service
13
• Security Issue
• Energy Efficiency
• Network Throughput
• Performance
In the study [6] Park is a green open space widely used by the community to carry
out various activities ranging from recreation, playing, sports, and other passive activities.
Current weather conditions are often uncertain. This makes people inconvenient when it
rains suddenly, especially when outdoors such as in parks. Because if they don't
immediately take shelter when it rains, it can make the body sick, besides that, rainwater
can damage the non-waterproof gadgets they carry. In other conditions, when the weather
is bright, and the sun is shining hot, it can make people feel hot and lazy to do outdoor
activities in the park. Therefore, an automatic umbrella tool was made that functions as a
shelter in the garden. In this tool, there is a light sensor module and also a rain sensor,
which is controlled with the Arduino Uno microcontroller as an input data processor and
an L298N motor driver, which functions to regulate the speed and direction of the DC
motor rotation (to the right and left) as an umbrella drive. When the motor rotates to the
right, the umbrella will open, while when the motor rotates to the left, the umbrella will
close again.
15
2.2.1 Comparison
16
Chapter Three
Methodology
17
3.1 Methodology
This chapter presents the research methodology used in the study. This includes a
discussion regarding the research design. We will connect all the component (mechanical-
Electronics) together and implement them with the microcontroller and view the result and
the status of the weather and the shelter, and write and test the code of each component
with c++ language. In the Arduino IDE terminal to produce full project system.
We will connect all the System with the following Wiring Diagram Instead of
spaghetti of wires.
18
3.2.1 Electronic Components
• Arduino UNO R3
The Arduino UNO R3 is the perfect board to get familiar with electronics and coding.
This versatile microcontroller is equipped with the well-known ATmega328P and the
ATMega 16U2 Processor. This board will give you a great first experience within the
world of Arduino., And "Uno" means one in Italian and is named to mark the upcoming
release of Arduino 1.0, and its Target areas: Maker, introduction and industries. [7],
Arduino is used for building different types of electronic circuits by USB connection
between the computer and Arduino. Programming language used in Arduino is just a
simplified version of C++ that can easily replace thousands of wires with words [8]. By
Specification of:
Microcontroller ATmega328
Operating Voltage 5V
19
Figure (3.2) Arduino Uno R3
20
3.2.2 Electrical Components
21
We use it as the below diagram:
22
Figure (3.6) Humidity Sensor
This sensor is designed to detect a specific range of temperature and humidity, we use
it as the below diagram:
23
We use it as the below diagram:
• GSM Module
Is a device which can be either a mobile phone or a modem device which can be
used to make a computer or any other processor communicate over a network. A GSM
modem requires a SIM card to be operated and operates over a network range subscribed
by the network operator, it can be connected to a computer through serial, USB or
Bluetooth connection.
To send a 2G SMS massage to notify the user with the process by the below diagram
connection:
24
Figure (3.11) GSM Diagram
• Receiver
A radio receiver is a device that receives radio waves and converts the information which
is carried by them into a usable form. A radio receiver can be an integrated circuit (IC)
within another device. An antenna intercepts electromagnetic radio waves and then
converts them into alternating currents that are applied to the receiver, which extracts the
desired information [11].
25
Its one-way Wireless communication used to control the node of the shelters group
• Stepper Motor
Stepper motors are DC motors that move in discrete steps. They have multiple coils
that are organized in groups called "phases". By energizing each phase in sequence,
the motor will rotate, one step at a time, with a computer controlled stepping you can
achieve very precise positioning and/or speed control. For this reason, stepper motors
are the motor of choice for many precision motion control applications [12].
26
Figure (3.15) Stepper motor
27
The main Components require in the servo motor, the controller, the power supply
unit, and the necessary connections for a servo motor. For the dc motor, you need a
controller, motor driver circuit, DC motor, power supply unit, and the necessary direct
connections, this controller can be a microcontroller or a microprocessor. The motor driver
control circuit is a current amplifier that steps up current from the microcontroller helping
drive the motor, Also, the motor causes motion. The process of interfacing the engine with
the controller, brushless motor, and stepper motor often requires a motor drive controller.
Moreover, the power supply unit only supplies the motor with the required current, We
differentiate the driver’s types depending on the kind of control they provide. For example,
some provide non-speed control while others offer high-speed control. Notably, a single
motor can use different types of drivers.
The working principle done in few steps, first, the microcontroller sends signals to the
motor. Then, the signs received are interpreted and stepped up in the engine afterward. The
motor has two voltage input pins. Pin one turns on the driver, whereas pin 2 applies voltage
to the motor via the motor IC, If the microprocessor transmits a high input to the driver IC,
the driver IC will send the same input. Consequently, The Importance of Motor Driver,
Notably, a driver is necessary because the microcontroller requires lower-level voltage than
the motors. Due to this, we cannot supply power directly from the microcontroller to the
engine. We need a motor driver in between these electrical components at this point. The
driver steps up the current from the microprocessor to match the motor current [14].
28
Figure (3.17) Motor Drivers
-
Figure (3-19) L298N Motor Driver
29
3.3 Block Diagram
-
+
Humidity
GSM Main
Sensor
Sub
Rain
Arduino Sensor Arduino Motor
WSN WSN
Stepper
351Mhz RF 351Mhz RF motor
Transmitter Transmitter
The Shelters
30
3.4 Flow Chart
START
NO Rain/ YES
Humidity
ARDUINO UNO
STEPER MOTOR (OFF) STEPER MOTOR (ON)
Let the shelter closed as it’s by WSN System/ Opens the shelter by the
the driver shield instruction
Node of The driver
Shelters
USER
SIM CARD
Upload the code into Arduino IDE and test the result on Serial Monitor by soaking
the rain sensor into water and the humidity sensor in testing temperature case. And the
serial monitor displays the below result and send data to the GSM Module based on the
amount of water drop, humidity and temperature on the rain and humidity sensor module,
and there are three cases:
Frist Case: The Sensors Board is completely soaked or in Hight temperature; will
be activated “HEAVY RAINING OR HOT WEATHER” will be sent to the serial monitor
and to the LCD and the GSM and open the shelter.
Second Case: The Sensors Board is dry and Hight temperature; will be activated
and “NOT RAINING AND HOT WEATHER” will be sent to the serial monitor and to the
LCD and the GSM and open the shelter.
Third Case: The Sensors Board is dry and cool; will be activated and “NOT
RAINING AND THE WEATHER IS COOL” will be sent to the serial monitor and to the
LCD and the GSM and close the shelter.
32
Chapter Four
Results and Discussion
33
4.1 Results
In this chapter we will discuss the result of process to our project the sequence can be
show in two sections: Section (A) define the designing stage, and (Section B) define testing
and coding our condition.
34
4.1.2 Testing
Connecting the humidity (DH-11) and rain sensors (FC-37) to the system and
test the code and use the result in to get different conditions and values to arrange
them to get specific cases and display the status in the LCD and SMS in owner
cellphone.
Connecting the humidity sensor (DH-11) to the system and test the code of the
humidity-Temperature(C-F)-Heat Index (C-F) Test the Sensor and use the result in to
get different to arrange them to get specific cases and display the status in the LCD and
SMS in owner cellphone.
Connecting the Rain sensor (FC-37) to the system and test the code if there’s raining
or not and control the sensitivity of its detection plate.
➢ Rain Condition
➢ No Rain Condition
Connecting the humidity sensor (DH-11) and the Rain sensor (FC-37) to the
system and test the code of the humidity-Temperature(C), and if there’s raining or
not and control the sensitivity of its detection plate.
36
➢ Humidity & No Rain condition
37
• Hot Temperature or Rain (Rain || Hot weather)
To connect the master and the other shelters to communicate with each other, by
receiving the instruction from the Master shelter that have the sensors and main
controlling, the instruction have two reading opening and closing the shelter.
38
• Testing the Motor with the shelter
By connecting the Rain sensor with humidity to the system and check if it works
properly to manipulate the values by specific condition control the motor by rack and
pinion mechanism to open and close the shelters in the LCD in their condition to define
shelter statue
>>>Shelter
Figure (4.9) Testing >>>
• Temperate Temperature & No Rain (No Rain && Cool weather)
Finally, notify the owner at anywhere at any time by the current status by using GSM,
by sending 2G SMS Massage into his cellphone, by using (RX-TX) signals for sending and
receiving method.
39
And we can define the status of the network be blinking delay speed, when the working
Into our final result, notification system, that shows the current status in global system
by the 2G GMS System like the following
40
Figure (4.16) receving openning and Closing shelter status at the owner cellphone
By detecting the outer environment by the sensors and manipulate the reading to
create our condition to control the motors of the shelters to determine when to open
and close, and to show the Real time status in the LCD monitor, and send the current
status by transmitter on it and the instruction to the other shelters by receiver to follow
the master shelter and open and close with it by the WSN system, and to the owner by
the GSM system.
41
Chapter Five
Conclusion and Recommendation
42
5.1 Conclusion
In this chapter we will discuss the full process of our system, beginning of designing
of the shelter by using SOLIDWORKS Designing and Simulation Software, we designed
many designs with several plans and print it with 3D printer in International University of
Africa, and getting to the implementation of the electrical and mechanical parts by writing
and testing the sensors with the code and take their result, depend on this result will give
us multiple cases to display and use it in the system, Through the system that controls the
set/group of the shelter to communicate with each other by receiving the instruction signals
from the master shelter to be a full function system, and the motors and other mechanical
parts, Finally getting into notification system that notify and make the owner or the chief
of service of the university up-to-date ;And that’s make our project different is his
efficiency by chose real parameter that is heat not sunlight as previous projects, and modern
destine technique with take care of cost of the chosen material. In conclusion the system
was accomplished be set of nodes of shelters controlled by imbedded system in order to
safe people and their gadgets and the infrastructure from damage by the rain water, and we
considered the maximum usage of fresh water
5.2 Recommendations
• We recommend to connect the shelter with the local weather station and water desalination
plants, that make it compatible with smart cities.
• We recommend to use this shelter in other wide areas like gardens farms, other governmental
and private facilities
• We can add emergency system by adding Air speed sensor by detecting if their tempest or
storms coming by shutting down the shelter
43
References
[1] Alkali, A.H., Dada, E.G., Kida, A.M. and Ali, A.A., “Sunlight and Rainfall Activated
Retractable Roof”, International Journal of Computer Engineering and Applications,
2018.
[2] D. Gupta, A. Gupta, N. Singh, Q.M. Affan, A. Kumar “Design and Modeling of
Automated Rain Sensing Umbrella”, Journal of Xi'an University of Architecture &
Technology, Department of Mechanical Engineering SRM Institute of Science and
Technology, Delhi-NCR Campus, Modinagar, Uttar Pradesh, India, JUN-2020.
[3] M.D. Gudela, “Design of an Automatic Umbrella Actuated through Water and
Temperature Sensors”, Journal of Mechatronics and Robotics, Sanghvi College of
Engineering, Mumbai, India, 29th-SEP-2020.
[4]https://www.beaunuage.fr/en/?fc=module&module=prestablog&controller=blog&id=8
15th-AUG-2022
[5] https://www.electronicshub.org/microcontrollers/ 17th-JUN-2022, 6:24pm
[6] I.Y. I. Chandra, M. Riastuti, Kosdiana, E.P Nugroho “Automatic Garden Umbrella
Prototype with Light and Rain Sensor Based on Arduino Uno Microcontroller”,
International Journal of Artificial Int elligence & Robotics (IJAIR), Jakarta, Indonesia,
Accepted: 28th-NOV-2020
[7] A000066-datasheet.pdf (arduino.cc) 11th-JUL-2022, 2:25pm
[10] Rain Sensor: Working, Pin Configuration and Applications (elprocus.com) 13th-AUG-
2022, 1:25pm
44
[13] R, MATHUR, Choosing the right motor-driver | SP Robotic Works , published: 26th-
SEP-2017
45