Eduard Iten 69cf7e9511 feat(valve): Implement GPIO control for VND7050AJ
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.
2025-07-03 18:17:31 +02:00
2025-06-30 13:52:33 +02:00

Logo

🇩🇪 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.

Quick Start

  • Hardware: The KiCad files for the hardware are located in the hardware/ directory.
  • Software: The Zephyr-based firmware for the slave nodes is located in the software/ directory.
Description
No description provided
Readme 2 MiB
Languages
C 57.4%
Python 37.1%
Shell 3.7%
CMake 1.8%