An automated plant monitoring and watering system using ESP32, moisture sensors, and DHT11 temperature/humidity sensor. The system connects to Blynk IoT platform for remote monitoring and control.
- Soil moisture monitoring
- Temperature and humidity monitoring
- Automated watering system
- Remote control via Blynk app
- OTA (Over-The-Air) updates support
- ESP32 Development Board
- Soil Moisture Sensor
- DHT11 Temperature/Humidity Sensor
- Water Pump
- Relay Module
- Power Supply
- Download VSCode from https://code.visualstudio.com/
- Run the installer and follow the installation wizard
- Launch VSCode after installation
- Download Git from https://git-scm.com/download/win
- Run the installer and use the default settings
- Open Command Prompt or PowerShell to verify installation:
git --version
- Open Command Prompt or PowerShell
- Navigate to your desired directory
- Clone the repository:
git clone https://github.com/yourusername/hydrochip.git
- Open the project in VSCode:
code hydrochip
- Open VSCode
- Click on the Extensions icon in the left sidebar (or press Ctrl+Shift+X)
- Search for "PlatformIO IDE"
- Click "Install"
- Wait for the installation to complete and reload VSCode when prompted
- Connect your ESP32 to your computer via USB
- Open Device Manager (Right-click Start → Device Manager)
- Expand "Ports (COM & LPT)"
- Look for "Silicon Labs CP210x USB to UART Bridge (COM X)" or similar
- Note the COM port number (e.g., COM3)
- Open your project in VSCode
- Locate the
platformio.ini
file - Update the following lines:
- upload_port = COMX ; Replace X with your COM port number
- monitor_port = COMX ; Replace X with your COM port number
- Open
src/main.ino
- Locate these lines near the top:
- #define WF_SSID "OPPO_8E9986_2.4G" // Replace with your WiFi name
- #define PASS "UEPFE4Vd" // Replace with your WiFi password
- Replace the placeholder values with your actual WiFi credentials
- Open the project in VSCode
- Click the PlatformIO icon in the left sidebar
- Under "Project Tasks", expand "esp32doit-devkit-v1"
- Click "Build" to compile the project
- Click "Upload" to flash the ESP32