Skip to content

Commit 8b469b0

Browse files
stritticlaude
andauthored
docs: draw pool-controller wiring diagrams as svgbob (#237)
* docs: draw ESP32 wiring schematic as svgbob diagrams Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: wrap long line in wiring schematic Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: draw hardware guide wiring as svgbob diagrams Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: draw contactor guide wiring as svgbob diagrams Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: draw remaining pool-controller wiring diagrams as svgbob Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: keep separate JD-VCC coil supply in relay diagram Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd * docs: use current pin assignment in build-from-zero wiring GPIO32/33 for the sensors and GPIO25/26 for the relays, as in the firmware and the hardware guide. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018328oAnNJiDkBWGPUaUwDd --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 724110a commit 8b469b0

13 files changed

Lines changed: 477 additions & 343 deletions

‎docs/build-from-zero.de.md‎

Lines changed: 41 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -179,23 +179,47 @@ aufbauen.
179179

180180
### Schaltplan
181181

182-
```text
183-
ESP32 DevKit V1 DS18B20 Sensoren
184-
┌─────────────┐
185-
│ GPIO15 ─────┼────┬──── DATA (Solar)
186-
│ GPIO16 ─────┼────┬──── DATA (Pool)
187-
│ 3.3V ─────┼────┼──── VCC (beide Sensoren)
188-
│ GND ─────┼────┼──── GND (beide Sensoren)
189-
│ │ │
190-
│ │ 4,7kΩ
191-
│ │ │
192-
│ └────┴──────────────── 3.3V
193-
│
194-
│ GPIO18 ───── IN1 (Relaismodul)
195-
│ GPIO19 ───── IN2 (Relaismodul)
196-
│ 5V ───── VCC (Relaismodul)
197-
│ GND ───── GND (Relaismodul)
198-
└─────────────┘
182+
```svgbob
183+
.---------------------. .--------------------.
184+
| ESP32 | | DS18B20 Solar |
185+
| | | |
186+
| GPIO32 o--+----*--------+--o DATA |
187+
| | | | |
188+
| | .--+--. | |
189+
| | |4.7k | | |
190+
| | '--+--' | |
191+
| | | | |
192+
| 3V3 o--+----*--------+--o VDD |
193+
| | | |
194+
| GND o--+-------------+--o GND |
195+
'---------------------' '--------------------'
196+
```
197+
198+
```svgbob
199+
.---------------------. .--------------------.
200+
| ESP32 | | DS18B20 Pool |
201+
| | | |
202+
| GPIO33 o--+----*--------+--o DATA |
203+
| | | | |
204+
| | .--+--. | |
205+
| | |4.7k | | |
206+
| | '--+--' | |
207+
| | | | |
208+
| 3V3 o--+----*--------+--o VDD |
209+
| | | |
210+
| GND o--+-------------+--o GND |
211+
'---------------------' '--------------------'
212+
```
213+
214+
```svgbob
215+
.---------------------. .--------------------.
216+
| ESP32 | | Relaismodul |
217+
| | | 2 Kanal |
218+
| GPIO25 o--+--------+--o IN1 |
219+
| GPIO26 o--+--------+--o IN2 |
220+
| 5V o--+--------+--o VCC |
221+
| GND o--+--------+--o GND |
222+
'---------------------' '--------------------'
199223
```
200224

201225
> **Wichtig**: Die DS18B20-Datenleitung benötigt einen **4,7 kΩ Pull-up-

‎docs/build-from-zero.md‎

Lines changed: 41 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -176,23 +176,47 @@ Before soldering or installing permanently, build the circuit on a breadboard.
176176

177177
### Wiring Diagram
178178

179-
```text
180-
ESP32 DevKit V1 DS18B20 Sensors
181-
┌─────────────┐
182-
│ GPIO15 ─────┼────┬──── Data (solar)
183-
│ GPIO16 ─────┼────┬──── Data (pool)
184-
│ 3.3V ─────┼────┼──── VCC (both sensors)
185-
│ GND ─────┼────┼──── GND (both sensors)
186-
│ │ │
187-
│ │ 4.7kΩ
188-
│ │ │
189-
│ └────┴──────────────── 3.3V
190-
│
191-
│ GPIO18 ───── IN1 (relay module)
192-
│ GPIO19 ───── IN2 (relay module)
193-
│ 5V ───── VCC (relay module)
194-
│ GND ───── GND (relay module)
195-
└─────────────┘
179+
```svgbob
180+
.---------------------. .--------------------.
181+
| ESP32 | | DS18B20 Solar |
182+
| | | |
183+
| GPIO32 o--+----*--------+--o DATA |
184+
| | | | |
185+
| | .--+--. | |
186+
| | |4.7k | | |
187+
| | '--+--' | |
188+
| | | | |
189+
| 3V3 o--+----*--------+--o VDD |
190+
| | | |
191+
| GND o--+-------------+--o GND |
192+
'---------------------' '--------------------'
193+
```
194+
195+
```svgbob
196+
.---------------------. .--------------------.
197+
| ESP32 | | DS18B20 Pool |
198+
| | | |
199+
| GPIO33 o--+----*--------+--o DATA |
200+
| | | | |
201+
| | .--+--. | |
202+
| | |4.7k | | |
203+
| | '--+--' | |
204+
| | | | |
205+
| 3V3 o--+----*--------+--o VDD |
206+
| | | |
207+
| GND o--+-------------+--o GND |
208+
'---------------------' '--------------------'
209+
```
210+
211+
```svgbob
212+
.---------------------. .--------------------.
213+
| ESP32 | | Relay module |
214+
| | | 2 channels |
215+
| GPIO25 o--+--------+--o IN1 |
216+
| GPIO26 o--+--------+--o IN2 |
217+
| 5V o--+--------+--o VCC |
218+
| GND o--+--------+--o GND |
219+
'---------------------' '--------------------'
196220
```
197221

198222
> **Important**: The DS18B20 data line requires a **4.7 kΩ pull-up resistor**

‎docs/contactor-guide.de.md‎

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,15 @@ robustes Relais in Hutschienenbauweise. Das NORVI-Relais schaltet nur noch
8282
die **Steuerspule des Schützes** (einige mA bei 24V DC) — die Hauptkontakte
8383
des Schützes schalten die 230V-Last.
8484

85-
```
86-
NORVI-Relais Schütz (extern) Pumpe
87-
┌──────────┐ ┌──────────────────┐ ┌────────┐
88-
│ │ 24V DC │ A1 (+) │ │ │
89-
│ COM ─────┼──────────┤ (Spule) │ │ │
90-
│ │ │ A2 (-) ──┼── GND│ │
91-
│ NO ─────┼──────┐ │ │ │ │
92-
└──────────┘ │ │ 1 (L-Eingang) ───┤─── 2 │ │
93-
│ └──────────────────┘ │ L-N │
94-
24V DC (+) ───────┘ └────────┘
95-
230V L (via Schütz) ──────────────────────────────┘
96-
230V N ──────────────────────────────────────────────┘
97-
GND ───────────────────────────────────────────────────┘
85+
Das NORVI-Relais schaltet nur die Spule des Schützes (mA bei 24V DC). Die Schützkontakte schalten die 230V-Pumpe.
86+
87+
```svgbob
88+
.-------------. .-----------------. .-------------.
89+
| NORVI-Relais| | Schütz | | Pumpe |
90+
| mA, 24V | | coil + contacts | | 230V |
91+
| | | | | |
92+
| NO o--+------+--o A1 2 o--+------+--o L |
93+
'-------------' '-----------------' '-------------'
9894
```
9995

10096
### Vorteile
@@ -150,15 +146,17 @@ Wenn du maximale Platzersparnis brauchst:
150146

151147
### 24V-Steuerkreis
152148

149+
```svgbob
150+
.-------------. .---------------. .-----------------. .-----------.
151+
| 24V-Netzteil| | NORVI-Relais | | Schütz Spule | | GND |
152+
| | | R0 or R2 | | | | |
153+
| | | | | | | |
154+
| + o--+------+--o COM NO o--+------+--o A1 A2 o--+------+--o in |
155+
'-------------' '---------------' '-----------------' '-----------'
153156
```
154-
24V DC (+) ──┬── NORVI R0 COM ── NO ──┬── Schütz Pool A1 ── A2 ──┬── GND
155-
│ │ │
156-
├── NORVI R2 COM ── NO ──┤── Schütz Solar A1 ── A2 ──┤
157-
│ │ │
158-
└───── NORVI 24V IN ─────┘ │
159-
│
160-
GND ─────────────────────────────────────────────────────┘
161-
```
157+
158+
Steuerstromkreis für eine Pumpe, für das zweite Relais und den zweiten Schütz wiederholen.
159+
Eine 1N4007-Freilaufdiode über jede Spule setzen (Kathode an A1, Anode an A2).
162160

163161
**Freilaufdioden 1N4007** parallel zu jeder Schützspule:
164162
- Kathode (Strichseite) an **A1 (+)**
@@ -169,13 +167,17 @@ Abschalten. Ohne Diode kann der Spannungsstoß das NORVI-Relais beschädigen.
169167

170168
### 230V-Leistungskreis
171169

170+
```svgbob
171+
.-------------. .---------------. .---------------. .----------------. .-------------.
172+
| Netz | | FI | | LS | | Schütz | | Pumpe |
173+
| 230V AC | | | | | | Kontakte | | |
174+
| | | | | | | | | |
175+
| L o--+---+--o in out o--+---+--o in out o--+---+--o 1 2 o--+---+--o L |
176+
'-------------' '---------------' '---------------' '----------------' '-------------'
172177
```
173-
230V L (Phase) ─── RCD ─── MCB ──┬── Schütz Solar 1-2 ── Solarpumpe L
174-
│
175-
└── Schütz Pool 1-2 ─── Poolpumpe L
176178

177-
230V N (Neutral) ────────────────────────── Beide Pumpen N
178-
```
179+
Leistungsstromkreis für eine Pumpe, der zweite Schütz wird identisch verdrahtet.
180+
Der Neutralleiter geht direkt von der Neutralschiene zu den Pumpen und wird nicht geschaltet.
179181

180182
Die 230V-Seite gehört **immer** hinter FI (RCD, 30mA) und
181183
Leitungsschutzschalter (MCB, B10A).

‎docs/contactor-guide.md‎

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,15 @@ A **contactor** is a heavy-duty relay built for motor loads. The NORVI relay
7777
switches only the **contactor's coil** (a few mA at 24V DC) — the contactor's
7878
main contacts handle the 230V AC load.
7979

80-
```
81-
NORVI Relay Contactor (external) Pump
82-
┌──────────┐ ┌────────────────────┐ ┌────────┐
83-
│ │ 24V DC │ A1 (+) │ │ │
84-
│ COM ─────┼──────────┤ (coil) │ │ │
85-
│ │ │ A2 (-) ───┼── GND│ │
86-
│ NO ─────┼──────┐ │ │ │ │
87-
└──────────┘ │ │ 1 (L-input) ───────┤─── 2 │ │
88-
│ └────────────────────┘ │ L-N │
89-
24V DC (+) ───────┘ └────────┘
90-
230V L (via contactor) ─────────────────────────────┘
91-
230V N ─────────────────────────────────────────────────┘
92-
GND ────────────────────────────────────────────────────┘
80+
The NORVI relay only switches the coil of the contactor (mA at 24V DC). The contactor contacts switch the 230V pump.
81+
82+
```svgbob
83+
.-------------. .-----------------. .-------------.
84+
| NORVI relay | | Contactor | | Pump |
85+
| mA, 24V | | coil + contacts | | 230V |
86+
| | | | | |
87+
| NO o--+------+--o A1 2 o--+------+--o L |
88+
'-------------' '-----------------' '-------------'
9389
```
9490

9591
### Benefits
@@ -144,15 +140,16 @@ For maximum space saving:
144140

145141
### 24V Control Circuit
146142

143+
```svgbob
144+
.-------------. .---------------. .-----------------. .-----------.
145+
| 24V supply | | NORVI relay | | Contactor coil | | GND |
146+
| | | R0 or R2 | | | | |
147+
| | | | | | | |
148+
| + o--+------+--o COM NO o--+------+--o A1 A2 o--+------+--o in |
149+
'-------------' '---------------' '-----------------' '-----------'
147150
```
148-
24V DC (+) ──┬── NORVI R0 COM ── NO ──┬── Contactor Pool A1 ── A2 ──┬── GND
149-
│ │ │
150-
├── NORVI R2 COM ── NO ──┤── Contactor Solar A1 ── A2 ──┤
151-
│ │ │
152-
└───── NORVI 24V IN ─────┘ │
153-
│
154-
GND ───────────────────────────────────────────────────────────────┘
155-
```
151+
152+
Control circuit for one pump, repeat it for the second relay and contactor. Fit a 1N4007 flyback diode across each coil (cathode to A1, anode to A2).
156153

157154
**Flyback diodes 1N4007** across each contactor coil:
158155
- Cathode (banded end) to **A1 (+)**
@@ -163,13 +160,17 @@ Without them, the voltage spike can damage the NORVI relay driver.
163160

164161
### 230V Power Circuit
165162

163+
```svgbob
164+
.-------------. .---------------. .---------------. .----------------. .-------------.
165+
| Mains | | RCD | | MCB | | Contactor | | Pump |
166+
| 230V AC | | | | | | contacts | | |
167+
| | | | | | | | | |
168+
| L o--+---+--o in out o--+---+--o in out o--+---+--o 1 2 o--+---+--o L |
169+
'-------------' '---------------' '---------------' '----------------' '-------------'
166170
```
167-
230V L (Live) ─── RCD ─── MCB ──┬── Contactor Solar 1-2 ── Solar Pump L
168-
│
169-
└── Contactor Pool 1-2 ─── Pool Pump L
170171

171-
230V N (Neutral) ──────────────────────── Both Pump N
172-
```
172+
Power circuit for one pump, the second contactor is wired identically.
173+
The neutral wire goes directly from the neutral bar to the pumps and is not switched.
173174

174175
Always protect the 230V side with an RCD (30mA) and MCB (B10A or appropriate).
175176

‎docs/electrical-safety.de.md‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@ oder Geräteschäden. Bitte vor dem Anschließen der Netzspannung sorgfältig le
6767
Das Relaismodul schaltet nur den **Außenleiter (Phase)**. Der Neutralleiter
6868
und Schutzleiter werden direkt zur Pumpe geführt.
6969

70-
```text
71-
AC Netz Relaismodul Pumpe
72-
┌────────┐ ┌──────────────┐ ┌─────┐
73-
│ Phase ──────┤ COM NO ──────┤ L │
74-
│ (230V) │ │ │ │ │
75-
│ Neutr. ───────────────────────────┤ N │
76-
│ │ │ │ │ │
77-
│ Erde ───────────────────────────┤ PE │
78-
└────────┘ └──────────────┘ └─────┘
70+
```svgbob
71+
.-------------. .-------------------. .-------------.
72+
| AC-Netz | | Relaismodul | | Pumpe |
73+
| 230V AC | | | | |
74+
| L o--+-----+--o COM NO o---+-----+--o L |
75+
| | '-------------------' | |
76+
| N o--+-------------------------------+--o N |
77+
| | | |
78+
| PE o--+-------------------------------+--o PE |
79+
'-------------' '-------------'
7980
```
8081

8182
### Leitungsquerschnitte

‎docs/electrical-safety.md‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,16 @@ damage. Read this document carefully before connecting mains power.
6767
The relay module switches the **Live (phase)** conductor only. The Neutral
6868
and Protective Earth connect directly to the pump.
6969

70-
```text
71-
AC Mains Relay Module Pump
72-
┌────────┐ ┌──────────────┐ ┌─────┐
73-
│ Live ──────┤ COM NO ──────┤ L │
74-
│ (230V) │ │ │ │ │
75-
│ Neutr. ───────────────────────────┤ N │
76-
│ │ │ │ │ │
77-
│ Earth ───────────────────────────┤ PE │
78-
└────────┘ └──────────────┘ └─────┘
70+
```svgbob
71+
.-------------. .-------------------. .-------------.
72+
| AC mains | | Relay module | | Pump |
73+
| 230V AC | | | | |
74+
| L o--+-----+--o COM NO o---+-----+--o L |
75+
| | '-------------------' | |
76+
| N o--+-------------------------------+--o N |
77+
| | | |
78+
| PE o--+-------------------------------+--o PE |
79+
'-------------' '-------------'
7980
```
8081

8182
### Wire Sizing

0 commit comments

Comments
 (0)