浏览代码

add ascii circuit diagram to giessomat

Thomas Buck 3 年前
父节点
当前提交
fffa84e352
共有 2 个文件被更改,包括 119 次插入0 次删除
  1. 103
    0
      input/projects/giessomat.md
  2. 16
    0
      static/css/style.css

+ 103
- 0
input/projects/giessomat.md 查看文件

@@ -133,6 +133,109 @@ lightgallery([
133 133
 ])
134 134
 %-->
135 135
 
136
+These are the circuit diagrams for the controller and user interface.
137
+
138
+<div class="textwrap"><pre class="ascii gallery">
139
+Giess-o-mat Controller Schematic
140
+
141
+             -------|USB|-------                        -----------
142
+            |       |___|       |             +12V <---|x IN  OUT x|---> +5V_ESP
143
+            |  P06         +5V x|---> +5V_ESP          |  5V Buck  |
144
+            |  P07         CMD  |              GND <---|x GND GND x|
145
+            |  P08         P10  |                       -----------
146
+     R5 <---|x P15         P09  |
147
+     R6 <---|x P02         P13 x|                       -----------
148
+     R7 <---|x P00         GND x|---> GND     +12V <---|x IN  OUT x|---> +5V_R
149
+     R8 <---|x P04    E    P12 x|                      |  5V Buck  |
150
+            |  P16    S    P14 x|---> R2       GND <---|x GND GND x|
151
+            |  P17    P    P27 x|---> R1                -----------
152
+     R3 <---|x P05    -    P26 x|---> SW_B
153
+     R4 <---|x P18    3    P25 x|---> SW_T              -----------
154
+            |x P19    2    P33 x|             +12V <---|x IN  OUT x|---> +6V
155
+    GND <---|x GND         P32 x|                      |  6V Buck  |
156
+ESP_SDA <---|x P21         P35  |              GND <---|x GND GND x|
157
+            |  P03         P34  |                       -----------
158
+            |  P01          SN  |
159
+ESP_SCL <---|x P22          SP  |                        -------
160
+            |x P23          EN  |              +12V <---|x +12V |
161
+    GND <---|x GND        +3V3 x|---> +3V3  ESP_SDA <---|x SDA  | UI
162
+            |                   |           ESP_SCL <---|x SCL  | Conn.
163
+             -------------------                GND <---|x GND  |
164
+                                                         -------
165
+
166
+           ---------------------                       ---------------------
167
+          |        Relais       |                     |        Relais       |
168
+  GND <---|x GND    ----   NC1 x|             GND <---|x GND    ----   NC1 x|
169
+   R1 <---|x R1    |    | COM1 x|---> +12V     R5 <---|x R1    |    | COM1 x|---> +12V
170
+   R2 <---|x R2     ----   NO1 x|---> V1       R6 <---|x R2     ----   NO1 x|---> V5
171
+   R3 <---|x R3     ----   NC2 x|              R7 <---|x R3     ----   NC2 x|
172
+   R4 <---|x R4    |    | COM2 x|---> +12V     R8 <---|x R4    |    | COM2 x|---> +6V
173
+ +3V3 <---|x VCC    ----   NO2 x|---> V2     +3V3 <---|x VCC    ----   NO2 x|---> P1
174
+          |         ----   NC3 x|                     |         ----   NC3 x|
175
+          |        |    | COM3 x|---> +12V            |        |    | COM3 x|---> +6V
176
+          |         ----   NO3 x|---> V3              |         ----   NO3 x|---> P2
177
+          |         ----   NC4 x|                     |         ----   NC4 x|
178
+          |        |    | COM4 x|---> +12V            |        |    | COM4 x|---> +6V
179
+          |         ----   NO4 x|---> V4              |         ----   NO4 x|---> P3
180
+          |x VCC                |                     |x VCC                |
181
++5V_R <---|x JC-VCC             |           +5V_R <---|x JC-VCC             |
182
+           ---------------------                       ---------------------
183
+
184
+  GND <---------> Float Switch 1 COM        GND <---------> Float Switch 1 COM
185
+ SW_B <---------> Float Switch 1 NO        SW_B <---------> Float Switch 1 NO
186
+           |                                         |
187
+          ---                                       ---
188
+      LED / \-->                                LED / \-->
189
+          ---                                       ---
190
+           |                                         |
191
+          ---                                       ---
192
+         |   |                                     |   |
193
+      1k |   |                                  1k |   |
194
+         |   |                                     |   |
195
+          ---                                       ---
196
+           |                                         |
197
+         +3.3V                                     +3.3V
198
+</pre><pre class="ascii gallery">
199
+Giess-o-mat User Interface Schematic
200
+
201
+            -------|USB|-------
202
+           |       |___|       |
203
+           |x D13         D12 x|                         Level Conv.
204
+           |x 3V3    A    D11 x|                         -----------
205
+           |x REF    R    D10 x|---> LCD_TX  +5V_UI <---|x 5V   3V x|
206
+           |x A0     D     D9 x|                GND <---|x GND GND x|
207
+           |x A1     U     D8 x|---> KP_R4   SDA_UI <---|x D5   D3 x|---> ESP_SDA
208
+           |x A2     I     D7 x|---> KP_R3   SCL_UI <---|x C5   C3 x|---> ESP_SCL
209
+           |x A3     N     D6 x|---> KP_R2               -----------
210
+SDA_UI <---|x A4     O     D5 x|---> KP_R1
211
+SCL_UI <---|x A5           D4 x|---> KP_C3               Connector
212
+           |x A6           D3 x|---> KP_C2                -------
213
+           |x A7     N     D2 x|---> KP_C1      +12V <---|x +12V |
214
++5V_UI <---|x 5V     A    GND x|---> GND     ESP_SDA <---|x SDA  |
215
+           |x RST    N    RST x|             ESP_SCL <---|x SCL  |
216
+   GND <---|x GND    O     RX x|                 GND <---|x GND  |
217
+  +12V <---|x VIN          TX x|                          -------
218
+           |                   |
219
+            -------------------                  ----------
220
+                                    ESP_SDA <---|   2.2k   |---
221
+            KP_C1 KP_C2 KP_C3                    ----------    |--> 3.3V
222
+              |     |     |         ESP_SCL <---|   2.2k   |---
223
+           -------------------                   ----------
224
+          |  ---   ---   ---  |
225
+KP_R1 <---| | 1 | | 2 | | 3 | |                 --------------------------
226
+          |  ---   ---   ---  |     +5V_UI <---|x VCC                     |
227
+          |  ---   ---   ---  |     LCD_TX <---|x RX                      |
228
+KP_R2 <---| | 4 | | 5 | | 6 | |        GND <---|x GND                     |
229
+          |  ---   ---   ---  |                |   --------------------   |
230
+          |  ---   ---   ---  |                |  |                    |  |
231
+KP_R3 <---| | 7 | | 8 | | 9 | |                |  |         LCD        |  |
232
+          |  ---   ---   ---  |                |  |        20x4        |  |
233
+          |  ---   ---   ---  |                |  |                    |  |
234
+KP_R4 <---| | * | | 0 | | # | |                |   --------------------   |
235
+          |  ---   ---   ---  |                |                          |
236
+           -------------------                  --------------------------
237
+</pre></div>
238
+
136 239
 ## Future Extensions
137 240
 
138 241
 I have now been running capacitive ground moisture level sensors in a couple of my plants for around a year, logging the data using my [ESP-Env project](https://git.xythobuz.de/thomas/esp-env) to an [InfluxDB](https://www.influxdata.com/) instance running on my NAS, with a [Grafana](https://grafana.com/) UI running on there as well.

+ 16
- 0
static/css/style.css 查看文件

@@ -46,6 +46,22 @@ pre {
46 46
     border-radius: 10px;
47 47
 }
48 48
 
49
+.ascii {
50
+    font-size: 0.7em;
51
+    line-height: 1;
52
+    max-height: max-content;
53
+    overflow-y: auto;
54
+    font-weight: bold;
55
+    width: max-content;
56
+}
57
+
58
+.textwrap {
59
+    display: flex;
60
+    justify-content: space-around;
61
+    align-items: center;
62
+    flex-wrap: wrap;
63
+}
64
+
49 65
 .show-comments {
50 66
     background: none;
51 67
     border: none;

正在加载...
取消
保存