Add board and pin annotations for heating-og
This commit is contained in:
+9
-3
@@ -8,6 +8,10 @@ esphome:
|
|||||||
version: "2.0"
|
version: "2.0"
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
|
# Dingtian DT-R008 board rev 3.6.(9+) from January 2025 for $31.
|
||||||
|
# Header pinout above Ethernet port:
|
||||||
|
#
|
||||||
|
# GND | IO3 (RX) | IO1 (TX) | NRST | IO0 | 3V3 | IO4 | IO5
|
||||||
board: esp32doit-devkit-v1
|
board: esp32doit-devkit-v1
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
@@ -45,12 +49,14 @@ text_sensor:
|
|||||||
|
|
||||||
sn74hc595: # write
|
sn74hc595: # write
|
||||||
- id: 'sn74hc595_hub'
|
- id: 'sn74hc595_hub'
|
||||||
clock_pin: GPIO14 # SRCLK
|
clock_pin: GPIO14 # SRCLK (serial clock)
|
||||||
data_pin: GPIO13 # SER
|
data_pin: GPIO13 # SER (serial input)
|
||||||
latch_pin: GPIO15 # RCLK
|
latch_pin: GPIO15 # RCLK (latch for outputs)
|
||||||
oe_pin: GPIO32 # OE
|
oe_pin: GPIO32 # OE
|
||||||
sr_count: 8
|
sr_count: 8
|
||||||
|
|
||||||
|
# GPIO16 is the data pin for 165 serial output, clock and latch are shared.
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
restore_mode: RESTORE_DEFAULT_OFF
|
restore_mode: RESTORE_DEFAULT_OFF
|
||||||
|
|||||||
Reference in New Issue
Block a user