From 9d87c925a9eaa4fc256be3173c14a20d1469472d Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Wed, 9 Sep 2020 11:53:37 +0100 Subject: everything, mostly, working --- radiator-plc/DOCS/DS18B20.pdf | Bin 0 -> 392186 bytes radiator-plc/DOCS/plc_notes.txt | 93 +++++++++++++++++++++++++++++++ radiator-plc/DOCS/radiator-numbering.txt | 8 +++ radiator-plc/DOCS/valve_01213210.pdf | Bin 0 -> 341645 bytes radiator-plc/DOCS/valve_wiring.txt | 15 +++++ 5 files changed, 116 insertions(+) create mode 100644 radiator-plc/DOCS/DS18B20.pdf create mode 100644 radiator-plc/DOCS/plc_notes.txt create mode 100644 radiator-plc/DOCS/radiator-numbering.txt create mode 100644 radiator-plc/DOCS/valve_01213210.pdf create mode 100644 radiator-plc/DOCS/valve_wiring.txt (limited to 'radiator-plc/DOCS') diff --git a/radiator-plc/DOCS/DS18B20.pdf b/radiator-plc/DOCS/DS18B20.pdf new file mode 100644 index 0000000..52dc259 Binary files /dev/null and b/radiator-plc/DOCS/DS18B20.pdf differ diff --git a/radiator-plc/DOCS/plc_notes.txt b/radiator-plc/DOCS/plc_notes.txt new file mode 100644 index 0000000..89ce2a2 --- /dev/null +++ b/radiator-plc/DOCS/plc_notes.txt @@ -0,0 +1,93 @@ + +STM32 pin assignments + +PA0 X4 +PA1 X3 +PA2 RS422 pin 4 +PA3 RS422 pin 1 +PA4 +PA5 +PA6 RS422 pin 3 +PA7 Via 472 to Run switch +PA8 Y1 +PA9 RS232 +PA10 RS232 +PA11 Y2 +PA12 Y3 +PA13 SWDIO +PA14 SWCLK +PA15 + +PB0 10k to ground +PB1 AD1 via condiitoning (conditioning removed (apart from zener) and with 10k pull up) +PB2 AD0 via conditioning +PB3 +PB4 +PB5 +PB6 +PB7 +PB8 +PB9 +PB10 +PB11 +PB12 +PB13 +PB14 +PB15 X2 + +PC0 +PC1 +PC2 Err LED +PC3 Run LED +PC4 X5 +PC5 +PC6 X1 +PC7 X0 +PC8 24V detect +PC9 Y0 +PC10 +PC11 +PC12 +PC13 tamper RTC +PC14 OSC32 (no sign of xtal) +PC15 OSC32 (no sign of xtal) + +PD0 Y4 +PD1 Y5 +PD2 Y6 +PD3 Y7 +PD4 +PD5 +PD6 +PD7 +PD8 +PD9 +PD10 X13 +PD11 X12 +PD12 X11 +PD13 X10 +PD14 X7 +PD15 X6 + +PE0 +PE1 +PE2 +PE3 +PE4 +PE5 +PE6 +PE7 +PE8 +PE9 +PE10 +PE11 +PE12 +PE13 +PE14 +PE15 + +VBAT +BOOT0 strapped by R16/R72 + + + diff --git a/radiator-plc/DOCS/radiator-numbering.txt b/radiator-plc/DOCS/radiator-numbering.txt new file mode 100644 index 0000000..dabb942 --- /dev/null +++ b/radiator-plc/DOCS/radiator-numbering.txt @@ -0,0 +1,8 @@ +0: small radiator next to fireplace +1: dd nearest road +2: dd nearest garden +3: hall +4: kitchen +5: music room +6: bathroom + diff --git a/radiator-plc/DOCS/valve_01213210.pdf b/radiator-plc/DOCS/valve_01213210.pdf new file mode 100644 index 0000000..3ad1c10 Binary files /dev/null and b/radiator-plc/DOCS/valve_01213210.pdf differ diff --git a/radiator-plc/DOCS/valve_wiring.txt b/radiator-plc/DOCS/valve_wiring.txt new file mode 100644 index 0000000..882aa63 --- /dev/null +++ b/radiator-plc/DOCS/valve_wiring.txt @@ -0,0 +1,15 @@ +Pin numbers on RJ45 and DB-9 are the same + +1 or/w 1 wire bus +2 or GND +3 g/w uSwitch (short to gound to indicate valve open) +4 bl 5V +5 bl/w 24V +6 g uSwitch +7 br/w coil - plc pulls to ground to open valve +8 br coil + +(doubling up is to make wirign in plc neater) + + + -- cgit v1.2.3