THE INDIAN HIGH SCHOOL, DUBAI
SMILE - Smart Multi-disciplinary Integrated Learning Experience
Grade-8 (2024-25)
Project: Climate Change Modeling
Subject: Computer Science
Module - 6 Introduction to Hardware and Software
Name: Aatiq Rasheed Div: 8 K Date: 30 / 6 / 2024
Basic hardware
"How can the integration of Arduino and Raspberry Pi technology enhance smart
irrigation systems in the desert climate of the United Arab Emirates (UAE),
ensuring efficient water usage and sustainable agriculture practices in this arid
region?"
1. Research using suitable AI tool to justify the above statement.
2. Summarize your observations in 3-5 sentences
Using Arduino and Raspberry Pi in smart irrigation systems helps save
water and supports sustainable farming in the UAE. These devices use
sensors to monitor soil and weather conditions, providing just the
right amount of water plants need. This precision helps reduce water
waste and improve plant health, which is crucial in dry areas like the
UAE. The technology also allows farmers to control and monitor the
system remotely, making it more efficient and convenient.
Case Study (Hardware)
Page | 1
THE INDIAN HIGH SCHOOL, DUBAI
1. Agricultural researchers at a university are conducting a study on soil
composition and fertility in a rural area. They need to analyze soil samples
collected from various locations to determine nutrient levels, pH, moisture
content, and other relevant factors that affect plant growth. The researchers
are looking for efficient input and output devices to streamline the soil analysis
process. Can you help them with few input and output devices they can use in
their research. ?
(Reference Link : https://www.theiotacademy.co/blog/sensor/ )
Input Devices:
1. Soil Moisture Sensors: Measure the water content in the soil.
2. pH Sensors: Determine the acidity or alkalinity of the soil.
3. Nutrient Sensors: Detect levels of essential nutrients like nitrogen,
phosphorus, and potassium.
4. Temperature Sensors: Monitor soil temperature.
Output Devices:
1. LCD Displays: Show real-time data from sensors.
2. Printers: Print detailed soil analysis reports.
3. Computer Interfaces: Transfer data to computers for advanced analysis
and storage.
4. Data Loggers: Record and store sensor data over time for trend analysis.
1. You're tasked with selecting appropriate sensors for each environmental
parameter in the smart agriculture system. Describe the types of sensors you
Page | 2
THE INDIAN HIGH SCHOOL, DUBAI
would choose for measuring soil moisture, temperature, humidity, and light
intensity. Explain why you selected each type of sensor, considering factors
such as accuracy, reliability, power consumption, and compatibility with IoT
platforms.
2.
Soil Moisture Sensor:
Type: Capacitive Soil Moisture Sensor
Reason: High accuracy, reliability, low power consumption, and
compatibility with IoT platforms. It measures the dielectric permittivity
of the soil to determine moisture levels.
Temperature Sensor:
Type: Digital Temperature Sensor
Reason: Accurate, reliable, and supports one-wire communication,
making it easy to interface with IoT platforms. It has low power
consumption and can measure a wide range of temperatures.
Humidity Sensor:
Type: Humidity and Temperature Sensor
Reason: Provides accurate humidity readings along with temperature
data, making it versatile. It is reliable and consumes low power, with
easy integration into IoT systems.
Light Intensity Sensor:
Type: Light Sensor
Reason: Measures light intensity in lux, offering high accuracy and
reliability. It has low power consumption and communicates via I2C,
ensuring compatibility with IoT platforms.
Software:
Page | 3
THE INDIAN HIGH SCHOOL, DUBAI
Python - Integrated Development
Environment Operators in
Python:
Arithmetic Operators, Logical operators, Comparison operators
Conditional Statements: IF…. ELSE statement, while statement, Looping
statement (FOR statement)
Task 1:
1. You're a soil scientist conducting fieldwork, and you need a quick way to
classify soil samples based on their texture. Soil texture is commonly
classified into three main categories: sand, silt, and clay. Each soil
sample has different proportions of these components.
Write a Python program that takes input variables for the percentage of
sand, silt, and clay in a soil sample.
Page | 4
THE INDIAN HIGH SCHOOL, DUBAI
Task 2:
1. Imagine you're a soil scientist tasked with analyzing soil samples for their
pH levels. You want to create a Python program to determine whether a
soil sample is acidic, neutral, or alkaline based on its pH value.
Here's your question:
The pH level of a soil sample can be classified as follows:
pH < 7: Acidic soil
pH = 7: Neutral soil
pH > 7: Alkaline soil
Write a Python program that takes the pH value of a soil sample as input,
determines its classification (acidic, neutral, or alkaline), and then displays the
result.
Page | 5
THE INDIAN HIGH SCHOOL, DUBAI
Task 3:
3. You're working as a soil scientist in an agricultural research institute. Your
task is to analyze soil samples for their nutrient content, specifically
nitrogen (N), phosphorus (P), and potassium (K) levels. You want to
create a Python program that calculates the nutrient ratio for a given soil
sample.
Write a Python function called calculate_nutrient_ratio that takes three
parameters representing the levels of nitrogen (N), phosphorus (P), and
potassium (K) in a soil sample, and calculates the N:P:K ratio. The ratio
should be returned as a string in the format "N:P:K".
Page | 6
THE INDIAN HIGH SCHOOL, DUBAI
Case Study on Data Visualization (Power BI)
1. You work for an environmental consulting firm that specializes in soil
analysis for agricultural purposes. Your team collects data from various
sources, including soil samples, weather stations, and crop yield records, to
provide insights and recommendations to farmers.
As part of your project to improve soil management practices, you've
decided to leverage Power BI to create interactive dashboards for
visualizing soil analysis data. Describe how you would design a Power BI
dashboard to provide meaningful insights to farmers about soil health and
fertility.
Sample Dept
_ Organic Nitroge Phosphoru Potassiu
Location h pH Texture
Matter (%) n (%) s (ppm) m (ppm)
ID (cm)
1 Farm A 10 6.5 2.3 0.1 15 150 Sandy
2 Farm B 20 7.2 1.8 0.15 20 120 Loamy
3 Farm C 15 5.8 3.5 0.12 10 200 Clayey
4 Farm D 12 6.9 2 0.11 18 140 Silt
5 Farm E 18 7.5 2.8 0.14 25 180 Sand
Page | 7
THE INDIAN HIGH SCHOOL, DUBAI
Answer:
Data Integration: Import and clean data from soil samples, weather stations, and
crop yield records.
Dashboard Layout:
Overview Page: Key metrics (soil pH, moisture, nutrient levels).
Detailed Pages: Separate pages for soil composition, weather, and crop
yields.
Visualizations:
Maps: Geographic distribution of soil metrics.
Graphs: Trends in moisture and temperature.
Bar Charts: Nutrient levels and crop yield impact.
Interactive Features:
Filters/Slicers: For location, date, and soil parameters.
Drill-Throughs: Detailed insights on specific areas.
Recommendations:
Insights/Alerts: Highlight issues.
Best Practices: Provide actionable advice.
Page | 8