summaryrefslogtreecommitdiffstats
path: root/radiator-plc/DOCS
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2020-09-09 11:53:37 +0100
committerfishsoupisgood <github@madingley.org>2020-09-09 11:53:37 +0100
commit9d87c925a9eaa4fc256be3173c14a20d1469472d (patch)
tree50d63f87a47a0eac3f5b8058850184bcd4e6ee95 /radiator-plc/DOCS
parentdafd8cf2fdcdd637cc06f760d318cf8391b1a294 (diff)
downloadheating-9d87c925a9eaa4fc256be3173c14a20d1469472d.tar.gz
heating-9d87c925a9eaa4fc256be3173c14a20d1469472d.tar.bz2
heating-9d87c925a9eaa4fc256be3173c14a20d1469472d.zip
everything, mostly, working
Diffstat (limited to 'radiator-plc/DOCS')
-rw-r--r--radiator-plc/DOCS/DS18B20.pdfbin0 -> 392186 bytes
-rw-r--r--radiator-plc/DOCS/plc_notes.txt93
-rw-r--r--radiator-plc/DOCS/radiator-numbering.txt8
-rw-r--r--radiator-plc/DOCS/valve_01213210.pdfbin0 -> 341645 bytes
-rw-r--r--radiator-plc/DOCS/valve_wiring.txt15
5 files changed, 116 insertions, 0 deletions
diff --git a/radiator-plc/DOCS/DS18B20.pdf b/radiator-plc/DOCS/DS18B20.pdf
new file mode 100644
index 0000000..52dc259
--- /dev/null
+++ b/radiator-plc/DOCS/DS18B20.pdf
Binary files 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
--- /dev/null
+++ b/radiator-plc/DOCS/valve_01213210.pdf
Binary files 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)
+
+
+