-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiagram.json
258 lines (258 loc) · 8.68 KB
/
diagram.json
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
{
"version": 1,
"author": "Gayanuka Amarasuriya",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-breadboard-mini", "id": "bb3", "top": 257.8, "left": -136.8, "attrs": {} },
{ "type": "wokwi-breadboard", "id": "bb4", "top": 496.2, "left": -122, "attrs": {} },
{ "type": "wokwi-breadboard-half", "id": "bb2", "top": 256.2, "left": 98.8, "attrs": {} },
{ "type": "wokwi-breadboard-mini", "id": "bb1", "top": 257.8, "left": 496.8, "attrs": {} },
{ "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": 4.7, "left": 167.8, "attrs": {} },
{ "type": "board-ssd1306", "id": "oled1", "top": 319.94, "left": 297.83, "attrs": {} },
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": 242.4,
"left": 193.8,
"attrs": { "volume": "0.1" }
},
{ "type": "wokwi-led", "id": "led1", "top": 294, "left": 119, "attrs": { "color": "red" } },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 339.95,
"left": 230.4,
"attrs": { "value": "100" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 339.95,
"left": 144,
"attrs": { "value": "220" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 579,
"left": 313.8,
"rotate": 90,
"attrs": { "color": "red", "label": "CANCEL" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 648.94,
"left": 288.26,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 579,
"left": 189,
"rotate": 90,
"attrs": { "color": "green", "label": "DOWN" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": 579,
"left": 73.8,
"rotate": 90,
"attrs": { "color": "blue", "label": "OK/MENU" }
},
{
"type": "wokwi-pushbutton",
"id": "btn4",
"top": 579,
"left": -41.4,
"rotate": 90,
"attrs": { "color": "yellow", "label": "UP" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": 647.15,
"left": 163.2,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r5",
"top": 647.15,
"left": 48,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r6",
"top": 648.36,
"left": -67.08,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-dht22",
"id": "dht1",
"top": -124.5,
"left": 100.2,
"attrs": { "temperature": "-3.5", "humidity": "48" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": 361.2,
"left": 119,
"attrs": { "color": "orange", "label": "TEMP " }
},
{
"type": "wokwi-led",
"id": "led3",
"top": 361.2,
"left": 195.8,
"attrs": { "color": "purple", "label": "HUM " }
},
{
"type": "wokwi-resistor",
"id": "r7",
"top": 407.15,
"left": 220.8,
"attrs": { "value": "220" }
},
{
"type": "wokwi-resistor",
"id": "r8",
"top": 407.15,
"left": 144,
"attrs": { "value": "220" }
},
{
"type": "wokwi-servo",
"id": "servo1",
"top": -173.8,
"left": 193.8,
"rotate": 270,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": 162.9,
"left": 493.7,
"rotate": 90,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr2",
"top": 162.9,
"left": -139.9,
"rotate": 90,
"attrs": {}
}
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "esp:D2", "r7:2", "green", [ "h172.5", "v296.9", "h-162" ] ],
[ "esp:D14", "dht1:SDA", "green", [ "h0" ] ],
[ "bb4:4b.i", "bb4:bp.3", "red", [ "v0" ] ],
[ "bb4:16b.i", "bb4:bp.12", "red", [ "v0" ] ],
[ "bb4:28b.i", "bb4:bp.22", "red", [ "v0" ] ],
[ "bb4:41b.i", "bb4:bp.33", "red", [ "v0" ] ],
[ "bb4:12t.a", "bb4:tn.9", "black", [ "v0" ] ],
[ "bb4:24t.a", "bb4:tn.19", "black", [ "v0" ] ],
[ "bb4:36t.a", "bb4:tn.29", "black", [ "v0" ] ],
[ "bb4:49t.a", "bb4:tn.40", "black", [ "v0" ] ],
[ "bb4:tp.50", "bb4:bp.50", "red", [ "v0.3", "h18.4", "v173.7" ] ],
[ "bb4:tn.50", "bb4:bn.50", "black", [ "v-0.1", "h8.8", "v172.8" ] ],
[ "esp:D33", "bb4:10t.a", "green", [ "h-115.2", "v508.8" ] ],
[ "bb4:22t.a", "esp:D32", "green", [ "v-9.6", "h-28.8", "v-508.8" ] ],
[ "bb4:34t.a", "esp:D35", "green", [ "v-76.8", "h-134.4", "v-451.2" ] ],
[ "bb4:47t.a", "esp:D34", "green", [ "v-67.2", "h-278.4", "v-470.2" ] ],
[ "bb2:tn.19", "bb2:23t.a", "black", [ "v0" ] ],
[ "bb2:tp.20", "bb2:24t.a", "red", [ "v0" ] ],
[ "esp:D22", "bb2:25t.a", "blue", [ "h0" ] ],
[ "esp:D21", "bb2:26t.a", "green", [ "h95.7", "v258.8" ] ],
[ "esp:3V3", "bb2:tp.23", "red", [ "h57.3", "v124.5" ] ],
[ "esp:D15", "bb2:9t.d", "green", [ "h-77.1", "v211" ] ],
[ "bb2:tn.9", "bb2:11t.e", "black", [ "v0" ] ],
[ "esp:D4", "bb2:18t.d", "blue", [ "h0" ] ],
[ "bb2:bn.1", "bb2:2b.j", "black", [ "v0" ] ],
[ "bb2:bn.8", "bb2:10b.j", "black", [ "v0" ] ],
[ "dht1:VCC", "bb2:tp.1", "red", [ "v0" ] ],
[ "bb2:tn.1", "dht1:GND", "black", [ "v-0.1", "h-152" ] ],
[ "bb2:tn.24", "esp:GND.1", "black", [ "v0" ] ],
[ "r2:1", "bb2:3t.e", "", [ "$bb" ] ],
[ "r2:2", "bb2:9t.e", "", [ "$bb" ] ],
[ "led1:A", "bb2:3t.d", "", [ "$bb" ] ],
[ "led1:C", "bb2:2t.d", "", [ "$bb" ] ],
[ "led2:A", "bb2:3b.i", "", [ "$bb" ] ],
[ "led2:C", "bb2:2b.i", "", [ "$bb" ] ],
[ "led3:A", "bb2:11b.i", "", [ "$bb" ] ],
[ "led3:C", "bb2:10b.i", "", [ "$bb" ] ],
[ "r7:1", "bb2:11b.j", "", [ "$bb" ] ],
[ "r7:2", "bb2:17b.j", "", [ "$bb" ] ],
[ "r8:1", "bb2:3b.j", "", [ "$bb" ] ],
[ "r8:2", "bb2:9b.j", "", [ "$bb" ] ],
[ "r1:1", "bb2:12t.e", "", [ "$bb" ] ],
[ "r1:2", "bb2:18t.e", "", [ "$bb" ] ],
[ "oled1:GND", "bb2:23t.c", "", [ "$bb" ] ],
[ "oled1:VCC", "bb2:24t.c", "", [ "$bb" ] ],
[ "oled1:SCL", "bb2:25t.c", "", [ "$bb" ] ],
[ "oled1:SDA", "bb2:26t.c", "", [ "$bb" ] ],
[ "bz1:1", "bb2:11t.c", "", [ "$bb" ] ],
[ "bz1:2", "bb2:12t.c", "", [ "$bb" ] ],
[ "bb2:tp.25", "bb4:tp.49", "red", [ "v0.3", "h59.2" ] ],
[ "bb2:tn.25", "bb4:tn.48", "black", [ "v-0.1", "h59.2" ] ],
[ "servo1:GND", "bb2:tn.16", "black", [ "v38.4", "h48" ] ],
[ "servo1:V+", "bb2:tp.17", "red", [ "v28.8", "h67.3" ] ],
[ "esp:D18", "servo1:PWM", "green", [ "h18.9", "v-144" ] ],
[ "bb2:bn.25", "bb2:tn.25", "black", [ "h11.2", "v-174" ] ],
[ "bb2:tp.25", "bb1:1t.a", "red", [ "v0" ] ],
[ "bb2:tp.1", "bb3:17t.a", "red", [ "v0" ] ],
[ "bb2:tn.1", "bb3:16t.b", "black", [ "v0" ] ],
[ "ldr2:VCC", "bb3:10t.b", "", [ "$bb" ] ],
[ "ldr2:GND", "bb3:9t.b", "", [ "$bb" ] ],
[ "ldr2:DO", "bb3:8t.b", "", [ "$bb" ] ],
[ "ldr2:AO", "bb3:7t.b", "", [ "$bb" ] ],
[ "bb3:16t.e", "bb3:9t.e", "black", [ "v0" ] ],
[ "bb3:17t.d", "bb3:10t.d", "red", [ "v0" ] ],
[ "bb2:tn.25", "bb1:2t.b", "black", [ "v0" ] ],
[ "ldr1:VCC", "bb1:10t.b", "", [ "$bb" ] ],
[ "ldr1:GND", "bb1:9t.b", "", [ "$bb" ] ],
[ "ldr1:DO", "bb1:8t.b", "", [ "$bb" ] ],
[ "ldr1:AO", "bb1:7t.b", "", [ "$bb" ] ],
[ "bb1:2t.e", "bb1:9t.e", "black", [ "v0" ] ],
[ "bb1:1t.d", "bb1:10t.d", "red", [ "v0" ] ],
[ "esp:D25", "bb3:15t.a", "green", [ "h-163.2", "v67.2" ] ],
[ "bb3:15t.c", "bb3:7t.c", "green", [ "v0" ] ],
[ "esp:D5", "bb1:4t.a", "green", [ "h268.5", "v192" ] ],
[ "bb1:4t.c", "bb1:7t.c", "green", [ "v0" ] ],
[ "btn4:1.l", "bb4:12t.d", "", [ "$bb" ] ],
[ "btn4:2.l", "bb4:10t.d", "", [ "$bb" ] ],
[ "btn4:1.r", "bb4:12b.i", "", [ "$bb" ] ],
[ "btn4:2.r", "bb4:10b.i", "", [ "$bb" ] ],
[ "r6:1", "bb4:4b.j", "", [ "$bb" ] ],
[ "r6:2", "bb4:10b.j", "", [ "$bb" ] ],
[ "btn3:1.l", "bb4:24t.d", "", [ "$bb" ] ],
[ "btn3:2.l", "bb4:22t.d", "", [ "$bb" ] ],
[ "btn3:1.r", "bb4:24b.i", "", [ "$bb" ] ],
[ "btn3:2.r", "bb4:22b.i", "", [ "$bb" ] ],
[ "r5:1", "bb4:16b.j", "", [ "$bb" ] ],
[ "r5:2", "bb4:22b.j", "", [ "$bb" ] ],
[ "btn2:1.l", "bb4:36t.d", "", [ "$bb" ] ],
[ "btn2:2.l", "bb4:34t.d", "", [ "$bb" ] ],
[ "btn2:1.r", "bb4:36b.i", "", [ "$bb" ] ],
[ "btn2:2.r", "bb4:34b.i", "", [ "$bb" ] ],
[ "r4:1", "bb4:28b.j", "", [ "$bb" ] ],
[ "r4:2", "bb4:34b.j", "", [ "$bb" ] ],
[ "btn1:1.l", "bb4:49t.d", "", [ "$bb" ] ],
[ "btn1:2.l", "bb4:47t.d", "", [ "$bb" ] ],
[ "btn1:1.r", "bb4:49b.i", "", [ "$bb" ] ],
[ "btn1:2.r", "bb4:47b.i", "", [ "$bb" ] ],
[ "r3:1", "bb4:41b.j", "", [ "$bb" ] ],
[ "r3:2", "bb4:47b.j", "", [ "$bb" ] ]
],
"dependencies": {}
}