Loading 3D model… large boards can take a moment.
Cost-effective automated plant watering system with 2-domain optical isolation for practical greenhouse automation. Features ESP32-based control, RS485 Modbus soil sensors, and simplified safety design optimized for enclosed environments.
🔥 Latest Update v2.3: Upgraded to TXS0108E bidirectional level shifter for faster RS485 communication - 1800x faster signal propagation while maintaining cost-effectiveness and reliability.
12V LiFePO4 BATTERY ──┬── AMS1117-3.3 LDO ──► ESP32 Control Domain (Always-On)
│ │ TXS0108E Level Shifter (3.3V↔5V)
│ └── FIELD Domain (RS485 + Sensors)
│
└── AMS1117-5.0 LDO ──► Field Power Supply (Always-On)
│
└── Common Ground (GND_COMMON)
| Component | Model | Function | Domain |
|---|---|---|---|
| Microcontroller | ESP32-WROOM-32E | Main processor + WiFi | 3.3V Always-On |
| RS485 Interface | SP3485EN | Modbus communication | 5V Always-On |
| Level Shifter | TXS0108E | 3.3V↔5V voltage translation | Signal Path |
| Power Regulation | AMS1117 | LDO voltage regulators | Hardware Control |
| Environmental | BME280 | Temperature/humidity | 3.3V Control |
| Soil Sensor | RS485 Modbus | NPK/pH/EC/moisture | 5V Field |
LDO-based design provides reliable, always-on operation:
git clone https://github.com/cryptotomte/WateringSystem.git
cd WateringSystem
pip install platformio
On Windows systems, PlatformIO may not be in PATH. Use these commands:
# Build project
& "C:\Users\crypt\.platformio\penv\Scripts\pio.exe" run --environment wateringsystem
# Upload to device
& "C:\Users\crypt\.platformio\penv\Scripts\pio.exe" run --target upload --environment wateringsystem
platformio run --target upload
platformio run --target uploadfs
Initial Setup
Web Interface
OTA Updates
Detailed documentation is available in the docs directory:
The system includes unit tests and integration tests that can be executed using PlatformIO:
# Run all tests
platformio test
# Run specific test
platformio test -e test_sensors
For complete testing documentation, see Testing Documentation.
The WateringSystem interfaces with both water and electricity. Important safety considerations:
For complete safety information, see Safety Documentation.
Contributions to the WateringSystem project are welcome! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.
This project is licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later) - see the LICENSE file for details.
Key License Points:
No comments yet. Be the first to ask about this board.