Sulai2005 commited on
Commit
09ed580
·
verified ·
1 Parent(s): 2ca1c8c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -4
README.md CHANGED
@@ -11,9 +11,50 @@ pinned: false
11
  short_description: Streamlit template space
12
  ---
13
 
14
- # Welcome to Streamlit!
15
 
16
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
17
 
18
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
19
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  short_description: Streamlit template space
12
  ---
13
 
14
+ # AI-Controlled Solar-Powered Smart Umbrella System
15
 
16
+ This Streamlit application simulates an AI-controlled, solar-powered smart umbrella system designed for agricultural technology. The system automatically controls an umbrella to provide optimal conditions for crops based on environmental sensors.
17
 
18
+ ## Features
19
+
20
+ - Real-time monitoring of temperature, humidity, soil moisture, and sunlight intensity
21
+ - Automatic umbrella control based on environmental thresholds
22
+ - Manual override capability
23
+ - Historical data visualization
24
+ - System logs
25
+ - Simulation mode for testing
26
+
27
+ ## Installation
28
+
29
+ 1. Clone this repository
30
+ 2. Install the required dependencies:
31
+ ```
32
+ pip install -r requirements.txt
33
+ ```
34
+
35
+ ## Usage
36
+
37
+ 1. Run the Streamlit application:
38
+ ```
39
+ streamlit run smart_umbrella_app.py
40
+ ```
41
+ 2. Use the sidebar controls to:
42
+ - Manually update sensor readings
43
+ - Override umbrella state
44
+ - Start/stop the simulation
45
+
46
+ ## Environmental Thresholds
47
+
48
+ The umbrella system uses the following thresholds:
49
+
50
+ - **Open umbrella when any of these conditions occur**:
51
+ - Temperature > 32°C
52
+ - Humidity < 40%
53
+ - Soil Moisture < 20%
54
+ - Sunlight > 700 W/m²
55
+
56
+ - **Close umbrella when all of these conditions are met**:
57
+ - Temperature < 25°C
58
+ - Humidity > 70%
59
+ - Soil Moisture > 40%
60
+ - Sunlight < 400 W/m²