Repository navigation
Expand file tree
/
Copy pathrollerblind-VAL3000.yml
More file actions
40 lines (39 loc) · 1.69 KB
/
Copy pathrollerblind-VAL3000.yml
File metadata and controls
40 lines (39 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# =============================================================================
# Roller Blind — VAL3000 (ESP32-C3)
# =============================================================================
# Roller-blind motor controller, forked from Valar Systems' Ropener curtain
# firmware (https://github.com/Valar-Systems/Ropener). Same VAL3000 board and
# TMC2209 driver; adapted for a NEMA-17 D-shaft that direct-drives a roller-blind
# tube (no rope/gear). See ../common/rollerblind-core.yaml and the folder README
# for what changed vs. upstream.
#
# Thin per-board wrapper: sets this board's chip variant and GPIO pin map as
# substitutions, then pulls in the shared, board-independent core. ALL device
# behaviour lives in ../common/rollerblind-core.yaml — edit that file to change
# behaviour; edit this file only for VAL3000 (ESP32-C3) hardware specifics.
#
# GPIO map (ESP32-C3 -> TMC2209 / buttons):
# GPIO0 : INDEX (step-counter, informational)
# GPIO1 : DIAG (StallGuard / fault -> on_stall)
# GPIO3 : Button 2 (open / raise)
# GPIO4 : Button 1 (close / lower / home)
# GPIO5 : UART RX <- TMC2209 PDN_UART
# GPIO6 : UART TX -> TMC2209 PDN_UART
# GPIO7 : Button 3 (Wi-Fi reset)
# GPIO8 : ENN (TMC2209 enable, active-low)
# (this board has no status LED)
# =============================================================================
substitutions:
board_variant: "esp32c3"
board_name: "esp32-c3-devkitm-1" # generic ESP32-C3 board profile (PlatformIO)
board_id: "VAL3000 (ESP32-C3)"
pin_uart_tx: "6"
pin_uart_rx: "5"
pin_enn: "8"
pin_index: "0"
pin_diag: "1"
pin_btn1: "4"
pin_btn2: "3"
pin_btn_wifi: "7"
packages:
core: !include ../common/rollerblind-core.yaml