Ofensteuerung v1.0: Wemos-Platine 100x100 mit Pumpenrelais 230 V, Thermostat parallel, Strommessung ZMCT103C/ADS1115, MAX6675 Abgas, 3x DS18B20, Servo MG996R, PWM-Pumpe; 2-stufiges Freerouting, ESPHome-Konfig

This commit is contained in:
OpenClaw committed 2026-11-07 04:01:44 +01:00
commit 1301212f13
32 files changed
+33133

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
"""Schaltplan-Anordnung (A3, mm, 1,27-Raster). gen_sch.py verlegt alle Signalleitungen automatisch.
BLOCKS: block -> {ref: (x, y, rot, mirror)}; PSYM: (block, net, x, y)."""
def g(v):
return round(round(v / 1.27) * 1.27, 2)
def B(d):
return {k: (g(x), g(y), r, m) for k, (x, y, r, m) in d.items()}
BLOCKS = {
'power': B({'J1': (25.4, 40.64, 0, 'y'), '#FLG01': (40.64, 30.48, 0, None), '#FLG02': (40.64, 53.34, 180, None),
'C1': (48.26, 43.18, 0, None), 'C2': (58.42, 43.18, 0, None), 'R4': (68.58, 40.64, 0, None), 'D3': (68.58, 53.34, 90, None)}),
'mains': B({'J2': (25.4, 101.6, 0, 'y'), 'F1': (50.8, 96.52, 90, None), 'J4': (63.5, 76.2, 90, None),
'K1': (88.9, 101.6, 0, None), 'T1': (125.73, 111.76, 0, None), 'J3': (160.02, 88.9, 0, None)}),
'relay': B({'R1': (63.5, 146.05, 90, None), 'R2': (72.39, 152.4, 0, None), 'Q1': (81.28, 146.05, 0, None),
'D1': (104.14, 128.27, 90, None), 'D2': (116.84, 140.97, 90, None), 'R3': (116.84, 128.27, 0, None)}),
'ct': B({'R5': (144.78, 129.54, 0, None), 'R6': (157.48, 125.73, 0, None), 'R7': (157.48, 138.43, 0, None),
'C5': (167.64, 138.43, 0, None), 'C6': (177.8, 138.43, 0, None)}),
'wemos': B({'A1': (228.6, 151.13, 0, None), 'C3': (215.9, 187.96, 0, None), 'C4': (226.06, 187.96, 0, None)}),
'ads': B({'A2': (309.88, 165.1, 0, None)}),
'max': B({'A3': (309.88, 104.14, 0, None), 'R9': (292.1, 116.84, 0, None), 'C8': (281.94, 109.22, 0, None)}),
'onewire': B({'J5': (391.16, 40.64, 0, None), 'J6': (391.16, 55.88, 0, None), 'J7': (391.16, 71.12, 0, None),
'R8': (372.11, 38.1, 0, None), 'C7': (360.68, 55.88, 0, None)}),
'servo': B({'J8': (391.16, 210.82, 0, None), 'R10': (370.84, 213.36, 90, None), 'C9': (358.14, 220.98, 0, None), 'C10': (347.98, 220.98, 0, None)}),
'pwm': B({'J9': (301.16, 242.00, 0, None), 'R14': (280.84, 239.46, 90, None), 'R15': (270.68, 231.84, 0, None),
'R11': (232.58, 248.35, 90, None), 'R12': (240.20, 254.70, 0, None), 'Q2': (247.82, 248.35, 0, None),
'R13': (250.36, 234.38, 0, None), 'JP1': (250.36, 222.95, 270, None)}),
'erw': B({'J10': (391.16, 152.4, 0, None)}),
'holes': B({'H1': (30.48, 270.0, 0, None), 'H2': (45.72, 270.0, 0, None), 'H3': (60.96, 270.0, 0, None), 'H4': (76.2, 270.0, 0, None)}),
}
LABELS = []
PSYM = []
NOTES = [
(20.32, 25.4, 2.0, 'Versorgung 5 V / 3 A (Servo)'),
(20.32, 66.04, 2.0, '230 V: Netz -> T2A -> Relais || Thermostat -> Stromwandler -> Pumpe'),
(20.32, 71.12, 1.27, 'Thermostat (Schließer) parallel zum Relaiskontakt: Pumpe läuft auch bei ESP-Ausfall'),
(55.88, 119.38, 2.0, 'Relaistreiber (D0/GPIO16)'),
(137.16, 116.84, 2.0, 'Strommessung: ZMCT103C 1000:1, Bürde 100 R, Mitte 1,65 V -> ADS1115 A0-A1'),
(205.74, 124.46, 2.0, 'Wemos D1 mini (ESP8266)'),
(289.56, 144.78, 2.0, 'ADS1115-Modul (I2C 0x48)'),
(276.86, 86.36, 2.0, 'Abgas: MAX6675 + Thermoelement Typ K'),
(345.44, 25.4, 2.0, '1-Wire DS18B20 (3 Klemmen, ein Bus)'),
(330.2, 195.58, 2.0, 'Luftklappe: Servo MG996R'),
(214.63, 215.9, 2.0, 'PWM-Pumpe (optional)'),
(370.84, 134.62, 2.0, 'Erweiterung'),
(20.32, 259.08, 2.0, 'Befestigung M3'),
]