This commit implements the real valve control using the GPIOs connected to the VND7050AJ driver. - The `weact_stm32g431_core.overlay` is updated with a specific compatible string and a device tree label for the valve controller. - `valve.h` is extended to include GPIO device specifications. - `valve.c` now initializes and controls the GPIOs for opening and closing the valve, including the reset logic. The IN0 and IN1 pins are interlocked to prevent simultaneous activation. The RST pin is activated before each movement and deactivated afterward. This replaces the previous virtual/simulated valve logic with actual hardware control. |
||
|---|---|---|
| .vscode | ||
| docs | ||
| hardware | ||
| software | ||
| .gitignore | ||
| README.de.md | ||
| README.es.md | ||
| README.fr.md | ||
| README.md | ||
README.md
🇩🇪 Deutsch | 🇬🇧 English | 🇫🇷 Français | 🇪🇸 Español
Modular Irrigation System
This project implements a smart, modular irrigation system controlled via Home Assistant.
Documentation
The detailed documentation can be found in the docs/ directory:
- Concept: Describes the system architecture, the components used, and the basic design decisions.
- MODBUS Registers: Defines the register map for communication with the slave nodes.
- Project Plan: Contains the development and implementation plan.