فهرست منبع

Update Scematics

svalavuo 1 ماه پیش
والد
کامیت
cf4fec7911
5فایلهای تغییر یافته به همراه114 افزوده شده و 114 حذف شده
  1. 7 7
      power_analysis.md
  2. 20 20
      schematics.md
  3. 4 4
      solar_battery_system.md
  4. 74 74
      solar_schematics.md
  5. 9 9
      wemos_d1mini_analysis.md

+ 7 - 7
power_analysis.md

@@ -228,13 +228,13 @@ WiFi.setSleepMode(WIFI_LIGHT_SLEEP);
 ## Power Consumption Comparison
 
 ### ESP32 vs Wemos D1 Mini
-| Feature | ESP32 | Wemos D1 Mini | Improvement |
-|---------|-------|---------------|-------------|
-| **Active Current** | 200mA | 150mA | 25% less |
-| **WiFi Peak** | 250mA | 200mA | 20% less |
-| **Deep Sleep** | 0.01mA | 0.02mA | Similar |
-| **Battery Runtime** | 5.3 hours | 14.5 hours | 174% better |
-| **Deep Sleep Runtime** | 105 hours | 285 hours | 171% better |
+| Feature                | ESP32                     | Wemos D1 Mini               | Improvement |
+|------------------------|---------------------------|-----------------------------|-------------|
+| **Active Current**     | 200mA                     | 150mA                       | 25% less    |
+| **WiFi Peak**          | 250mA                     | 200mA                       | 20% less    |
+| **Deep Sleep**         | 0.01mA                    | 0.02mA                      | Similar     |
+| **Battery Runtime**    | 5.3 hours                 | 14.5 hours                  | 174% better |
+| **Deep Sleep Runtime** | 105 hours                 | 285 hours                   | 171% better |
 
 ### Solar Panel Requirements
 - **ESP32 System**: 6V 3W panel recommended

+ 20 - 20
schematics.md

@@ -6,22 +6,22 @@
 
 ```
 ESP32 Development Board
-┌────────────────────────────────────
-│                                     
+┌────────────────────────────────────┐
+│                                    │
 │  3V3  ──┐                          │
 │  GND  ──┼───┐                      │
-│  GPIO2 ─┘   │                      │
+│  GPIO2 ─┘   │                      │
 │             │                      │
-│  GPIO4 ─────┼─── DHT11 Sensor      │
+│  GPIO4 ─────┼─── DHT11 Sensor      │
 │             │   ┌─────┐            │
-│  GPIO21 ────┼───│ SDA │            │
+│  GPIO21 ────┼───│ SDA │            │
 │             │   │     │            │
-│  GPIO22 ────┼───│ SCL │            │
+│  GPIO22 ────┼───│ SCL │            │
 │             │   └─────┘            │
-│  GPIO34 ────┼─── Rain Sensor       │
+│  GPIO34 ────┼─── Rain Sensor       │
 │             │                      │
-│  GPIO35 ────┼─── LDR               │
-│                                     
+│  GPIO35 ────┼─── LDR               │
+│                                    │
 │  VIN  ──┐                          │
 │  GND  ──┼───┐                      │
 │         │   │                      │
@@ -45,19 +45,19 @@ DHT11 Sensor
 
 Pinout (front view):
 ┌─────────┐
-│  •  •  • │  ← Pins 1-4
+│ •  •  • │  ← Pins 1-4
 └─────────┘
 ```
 
 #### BMP180 Pressure Sensor (I2C)
 ```
 BMP180 Sensor
-┌────────────
+┌────────────┐
 │ VIN   ─────┼─── +3.3V
 │ GND   ─────┼─── GND
 │ SDA   ─────┼─── GPIO21
 │ SCL   ─────┼─── GPIO22
-└────────────
+└────────────┘
 ```
 
 #### Rain Sensor Module
@@ -83,12 +83,12 @@ LDR Circuit
 │ 10kΩ    │    │         │
 │ Resistor│    │         │
 │   │     │    │         │
-│   └─────┼────┼─────┐  
-│         │    │     
-│ GND     │    │     
-└─────────┘    │ GPIO35│   
-               │       │   
-               └───────┼───
+│   └─────┼────┼───────┐ │
+│         │    │       
+│ GND     │    │       
+└─────────┘    │ GPIO35│ │
+               │       │ │
+               └───────┼─┘
                       GND
 ```
@@ -200,13 +200,13 @@ LED Circuit
 Power Supply (USB 5V or External 5V)
 ┌─────────────────────────────────────┐
 │                                     │
-│  +3.3V ─────────────────────────────┼─── DHT11 VCC
+│  +3.3V ─────────────────────────────┼─── DHT11 VCC
 │  (from ESP32 regulator)             │
 │                                     ├─── BMP180 VCC
 │                                     ├─── Rain Sensor VCC
 │                                     └─── LDR Circuit VCC
 │                                     │
-│  GND ───────────────────────────────┼─── All GND connections
+│  GND ───────────────────────────────┼─── All GND connections
 │                                     │
 └─────────────────────────────────────┘
 ```

+ 4 - 4
solar_battery_system.md

@@ -35,7 +35,7 @@ Solar Panel (6V 2W)
     ▼                      ▼
 TP4056 Charging Module    18650 Battery
     │                      │
-    ├───[Protection]──────┘
+    ├───[Protection]──────
 3.3V Buck Converter
@@ -174,9 +174,9 @@ void managePower() {
 ### Location-Based Sizing
 | Location | Peak Sun Hours | Recommended Panel |
 |----------|----------------|-------------------|
-| Sunny    | 6+ hours       | 6V 1W            |
-| Moderate | 4-6 hours      | 6V 2W            |
-| Cloudy   | 2-4 hours      | 6V 3W            |
+| Sunny    | 6+ hours       | 6V 1W             |
+| Moderate | 4-6 hours      | 6V 2W             |
+| Cloudy   | 2-4 hours      | 6V 3W             |
 
 ### Panel Specifications
 - **Voltage**: 6V nominal (5V-7V operating)

+ 74 - 74
solar_schematics.md

@@ -5,12 +5,12 @@
 ```
 Solar Panel (6V 2W)
-    ├───[Schottky Diode 1N5817]──
+    ├───[Schottky Diode 1N5817]──┐
     │                            │
     ▼                            ▼
 TP4056 Charging Module        18650 Battery
     │                            │
-    ├───[Protection PCB]────────┘
+    ├───[Protection PCB]────────
 3.3V Buck Converter
@@ -30,15 +30,15 @@ Solar Panel (6V 2W)
 │ -               │
 └─────┬───────────┘
-      ├──[1N5817 Schottky Diode]──┐
+      ├──[1N5817 Schottky Diode]──┐
       │                           │
       ▼                           ▼
 ┌─────────────────┐        ┌─────────────────┐
-│ IN+            │        │ +              │
-│ TP4056         │        │ 18650 Battery   │
-│ Charging       │        │ 3.7V 2500mAh   │
-│ Module         │        │                │
-│ OUT+           │        │ -              │
+│ IN+             │        │ + 
+│ TP4056          │        │ 18650 Battery   │
+│ Charging        │        │ 3.7V 2500mAh 
+│ Module          │        │ 
+│ OUT+            │        │ - 
 └─────┬───────────┘        └─────────────────┘
       │                           │
       └───────────[Protection]────┘
@@ -62,13 +62,13 @@ Battery Output (3.0V-4.2V)
 ┌─────────────────┐
-│ IN             │
-│ 3.3V Buck      │
-│ Converter      │
-│ OUT            │
+│ IN              
+│ 3.3V Buck       
+│ Converter       
+│ OUT             
 └─────┬───────────┘
-      ├───3.3V─────────────────────────────
+      ├───3.3V──────────────────────────┐
       │                                 │
       ▼                                 ▼
 ┌─────────────────┐              ┌─────────────────┐
@@ -89,67 +89,67 @@ Wemos D1 Mini Pin Layout
 │ D4 (DHT11) ────────────────────┤    │
 │ D5 (LED) ──────────────────────┤    │
 │ A0 (Battery) ──────────────────┤    │
-│                                 │    │
-│ 3V3 ──────────────────────────┼────┤
+│                                │    │
+│ 3V3 ──────────────────────────┼────┤
 │ GND ───────────────────────────┼────┤
-└───────────────────────────────────┘    │
+└────────────────────────────────┘    │
 ┌─────────────────────────────────────┐
-│ Component Connections              │
-│                                   │
-│ BMP180 Sensor                      │
-│ ┌────────────────┐               │
-│ │ VIN ───────────┼─ 3.3V         │
-│ │ GND ───────────┼─ GND          │
-│ │ SDA ───────────┼─ D1           │
-│ │ SCL ───────────┼─ D2           │
-│ └────────────────┘               │
-│                                   │
-│ DHT11 Sensor                       │
-│ ┌────────────────┐               │
-│ │ Pin 1 ─────────┼─ 3.3V         │
-│ │ Pin 2 ─────────┼─ D4           │
-│ │ Pin 4 ─────────┼─ GND          │
-│ └────────────────┘               │
-│                                   │
-│ Rain Sensor                        │
-│ ┌────────────────┐               │
-│ │ VCC ───────────┼─ 3.3V         │
-│ │ GND ───────────┼─ GND          │
-│ │ AO ────────────┼─ A0 (Conflict!) │
-│ └────────────────┘               │
-│                                   │
-│ LDR Circuit                        │
-│ ┌─────────────────┐               │
-│ │ 3.3V ──────────┼─ 3.3V         │
-│ │     ┌───┐     │               │
-│ │     │LDR      │               │
-│ │     └───┘     │               │
-│ │       │         │               │
-│ │     ┌───┐     │               │
-│ │     │10kΩ│     │               │
-│ │     └───┘     │               │
-│ │       │         │               │
-│ │       └─────────┼─ D3           │
-│ │                 │               │
-│ │ GND ───────────┼─ GND          │
-│ └─────────────────┘               │
-│                                   │
+│ Component Connections               
+│                                     
+│ BMP180 Sensor                       
+│ ┌────────────────┐   
+│ │ VIN ───────────┼─ 3.3V            
+│ │ GND ───────────┼─ GND             
+│ │ SDA ───────────┼─ D1              
+│ │ SCL ───────────┼─ D2              
+│ └────────────────┘   
+│                                     
+│ DHT11 Sensor                        
+│ ┌────────────────┐   
+│ │ Pin 1 ─────────┼─ 3.3V            
+│ │ Pin 2 ─────────┼─ D4              
+│ │ Pin 4 ─────────┼─ GND             
+│ └────────────────┘   
+│                                     
+│ Rain Sensor                         
+│ ┌────────────────┐   
+│ │ VCC ───────────┼─ 3.3V            
+│ │ GND ───────────┼─ GND             
+│ │ AO ────────────┼─ A0 (Conflict!)  
+│ └────────────────┘   
+│                                     
+│ LDR Circuit                         
+│ ┌─────────────────┐                 
+│ │ 3.3V ──────────┼─ 3.3V  
+│ │     ┌───┐         
+│ │     │LDR  
+│ │     └───┘         
+│ │       │         │                 
+│ │     ┌───   
+│ │     │10kΩ│        
+│ │     └───   
+│ │       │         │                 
+│ │       └─────────┼─ D3             
+│ │                 │                 
+│ │ GND ───────────┼─ GND  
+│ └─────────────────┘                 
+│                                     
 │ LED Circuit                         │
-│ ┌─────────────────┐               │
-│ │ 3.3V ──────────┼─ 3.3V         │
-│ │     ┌───┐     │               │
-│ │     │220Ω│     │               │
-│ │     └───┘     │               │
-│ │       │         │               │
-│ │     ┌───┐     │               │
-│ │     │LED │     │               │
-│ │     └───┘     │               │
-│ │       │         │               │
-│ │       └─────────┼─ D5           │
-│ │                 │               │
-│ │ GND ───────────┼─ GND          │
-│ └─────────────────┘               │
+│ ┌─────────────────┐                 
+│ │ 3.3V ──────────┼─ 3.3V  
+│ │     ┌───   
+│ │     │220Ω│        
+│ │     └───   
+│ │       │         │                 
+│ │     ┌───   
+│ │     │LED │        
+│ │     └───   
+│ │       │         │                 
+│ │       └─────────┼─ D5             
+│ │                 │                 
+│ │ GND ───────────┼─ GND  
+│ └─────────────────┘                 
 └─────────────────────────────────────┘
 ```
 
@@ -190,10 +190,10 @@ Rain Sensor Digital Configuration
 │ Rain Sensor     │
 │ Module          │
 │                 │
-│ VCC ───────────┼─ 3.3V
-│ GND ───────────┼─ GND
-│ DO ────────────┼─ D6 (GPIO12)
-│ AO ────────────┼─ (Not used)
+│ VCC ───────────┼─ 3.3V
+│ GND ───────────┼─ GND
+│ DO ────────────┼─ D6 (GPIO12)
+│ AO ────────────┼─ (Not used)
 └─────────────────┘
 ```
 

+ 9 - 9
wemos_d1mini_analysis.md

@@ -15,15 +15,15 @@
 
 ### ESP32 vs Wemos D1 Mini
 
-| Feature | ESP32 | Wemos D1 Mini |
-|---------|-------|---------------|
-| **CPU** | Dual Core 240MHz | Single Core 80-160MHz |
-| **Memory** | 520KB SRAM | 80KB SRAM |
-| **ADC** | Multiple channels, 12-bit | Single channel (A0), 10-bit |
-| **GPIO** | 36+ pins | 11 pins |
-| **Power** | Lower consumption | Higher consumption |
-| **Size** | Larger | Compact (11.5mm x 34mm) |
-| **Cost** | Higher | Lower |
+| Feature    | ESP32                     | Wemos D1 Mini               |
+|------------|---------------------------|-----------------------------|
+| **CPU**    | Dual Core 240MHz          | Single Core 80-160MHz       |
+| **Memory** | 520KB SRAM                | 80KB SRAM                   |
+| **ADC**    | Multiple channels, 12-bit | Single channel (A0), 10-bit |
+| **GPIO**   | 36+ pins                  | 11 pins                     |
+| **Power**  | Lower consumption         | Higher consumption          |
+| **Size**   | Larger                    | Compact (11.5mm x 34mm)     |
+| **Cost**   | Higher                    | Lower                       |
 
 ## Compatibility Analysis