-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLightningDoorBlockDiagram.drawio.xml
191 lines (191 loc) · 16.5 KB
/
LightningDoorBlockDiagram.drawio.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2023-06-03T17:42:34.772Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" etag="4itcJVBo3uvAoNVxNh-X" version="21.3.4" type="device">
<diagram name="Page-1" id="9xXqxLMX3umURaw_fP6i">
<mxGraphModel dx="1317" dy="776" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="1700" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="fqgcwcHrW1HRH-oI7dm0-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.017;entryY=0.197;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-1" target="fqgcwcHrW1HRH-oI7dm0-30" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-35" value="(4) Toggle 3.3V Digital Output" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-32" vertex="1" connectable="0">
<mxGeometry x="-0.1915" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-1" value="Bitcoin Switch (ESP32 Micro based)" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="530" y="476" width="100" height="180" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-2" target="fqgcwcHrW1HRH-oI7dm0-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-2" value="" style="points=[[0.25,0.25,0],[0.5,0,0],[0.75,0.25,0],[1,0.5,0],[0.75,0.75,0],[0.5,1,0],[0.25,0.75,0],[0,0.5,0]];shape=mxgraph.bpmn.gateway2;html=1;verticalLabelPosition=bottom;labelBackgroundColor=#ffffff;verticalAlign=top;align=center;perimeter=rhombusPerimeter;outlineConnect=0;outline=standard;symbol=timer;" parent="1" vertex="1">
<mxGeometry x="220" y="696" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-6" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.84;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-3" target="fqgcwcHrW1HRH-oI7dm0-5" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-3" value="" style="html=1;shape=mxgraph.electrical.electro-mechanical.switchDisconnector;aspect=fixed;elSwitchState=off;direction=south;" parent="1" vertex="1">
<mxGeometry x="360" y="703.5" width="20" height="75" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=-0.019;entryY=0.831;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-5" target="fqgcwcHrW1HRH-oI7dm0-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-8" value="Switch Vcc" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-7" vertex="1" connectable="0">
<mxGeometry x="0.2602" y="-1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-59" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-5" target="fqgcwcHrW1HRH-oI7dm0-15" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-5" value="AC to DC 5V" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="330" y="586" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.84;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-10" target="fqgcwcHrW1HRH-oI7dm0-3" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-10" value="" style="pointerEvents=1;verticalLabelPosition=bottom;shadow=0;dashed=0;align=center;html=1;verticalAlign=top;shape=mxgraph.electrical.miscellaneous.2_conductor_plug" parent="1" vertex="1">
<mxGeometry x="410" y="826" width="53" height="24" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-13" value="AC Plug" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="410" y="786" width="60" height="30" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-14" value="<b>Mechanical Timer</b>: 930AM-630PM" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
<mxGeometry x="180" y="656" width="110" height="40" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-26" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=0.75;entryY=1;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-15" target="fqgcwcHrW1HRH-oI7dm0-18" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-27" value="(2) Get Door Invoice" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-26" vertex="1" connectable="0">
<mxGeometry x="-0.0113" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-15" value="LNBits Legends" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="340" y="466" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-16" value="" style="endArrow=classic;startArrow=classic;html=1;rounded=0;entryX=-0.051;entryY=0.203;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-15" target="fqgcwcHrW1HRH-oI7dm0-1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="420" y="516" as="sourcePoint" />
<mxPoint x="480" y="476" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-25" value="Websocket" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-16" vertex="1" connectable="0">
<mxGeometry x="0.11" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-23" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-18" target="fqgcwcHrW1HRH-oI7dm0-15" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-24" value="(1) Ping LNURL server" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-23" vertex="1" connectable="0">
<mxGeometry x="0.0888" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-18" target="fqgcwcHrW1HRH-oI7dm0-15" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-29" value="(3) Send Payment" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-28" vertex="1" connectable="0">
<mxGeometry x="0.1435" y="-2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-18" value="Wallet App" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="100" y="406" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-20" target="fqgcwcHrW1HRH-oI7dm0-18" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-22" value="LNURL address" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-21" vertex="1" connectable="0">
<mxGeometry x="-0.272" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-20" value="QR Code or NFC device w/ LNURL" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="1" vertex="1">
<mxGeometry x="340" y="306" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-33" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-30" target="fqgcwcHrW1HRH-oI7dm0-31" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-34" value="Open = Energized" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-33" vertex="1" connectable="0">
<mxGeometry x="-0.0988" y="-3" relative="1" as="geometry">
<mxPoint x="-3" y="15" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-30" value="Pleb Installed Normally Closed Relay" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="840" y="556" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-37" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-31" target="fqgcwcHrW1HRH-oI7dm0-36" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-46" value="12Vin" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-37" vertex="1" connectable="0">
<mxGeometry x="0.1627" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-31" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="920" y="290.0000000000001" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-49" value="12Vin" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-48" vertex="1" connectable="0">
<mxGeometry x="0.1141" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-31" value="Door's 12V System" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="840" y="366" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-36" target="fqgcwcHrW1HRH-oI7dm0-38" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-40" value="Switched 5VDC" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-39" vertex="1" connectable="0">
<mxGeometry x="-0.0258" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-36" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="790.0000000000002" y="290.0000000000001" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-36" value="12V to 5V Buck Step Down Converter" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="670" y="346" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-38" value="5V USB Lightning "Neon" Sign" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="600" y="190" width="100" height="94" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.25;entryDx=0;entryDy=0;" parent="1" source="fqgcwcHrW1HRH-oI7dm0-41" target="fqgcwcHrW1HRH-oI7dm0-31" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="1020" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-43" value="Open = Energized" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="fqgcwcHrW1HRH-oI7dm0-42" vertex="1" connectable="0">
<mxGeometry x="-0.0401" y="-3" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-41" value="Existing Building Relay Circuit" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="980" y="556" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-44" value="(Optional) Piezoelectric buzzer" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="730" y="190" width="100" height="94" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-47" value="Door Strike/Actuator" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="870" y="187" width="100" height="100" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-58" value="" style="group" parent="1" vertex="1" connectable="0">
<mxGeometry x="140" y="40" width="800" height="120" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-50" value="<b style="font-size: 45px;">PlebLab Lightning Door Block Diagram</b>" style="text;html=1;strokeColor=#C73500;fillColor=#fa6800;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#000000;fontSize=45;" parent="fqgcwcHrW1HRH-oI7dm0-58" vertex="1">
<mxGeometry x="200" width="600" height="120" as="geometry" />
</mxCell>
<mxCell id="fqgcwcHrW1HRH-oI7dm0-56" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://secure.meetupstatic.com/photos/event/7/b/d/a/600_510811706.jpeg;" parent="fqgcwcHrW1HRH-oI7dm0-58" vertex="1">
<mxGeometry width="200" height="120" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>