-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagram.json
142 lines (142 loc) · 4.44 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
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": -220.8, "left": 62.44, "attrs": {} },
{
"type": "board-ssd1306",
"id": "oled1",
"top": -198.46,
"left": 499.43,
"attrs": { "i2cAddress": "0x3c" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": -188.05,
"left": 364.8,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": -111.25,
"left": 364.8,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 51.95,
"left": 374.4,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": -34.45,
"left": 364.8,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -195.4,
"left": 278.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": -118.6,
"left": 278.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": -41.8,
"left": 278.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-pushbutton",
"id": "btn4",
"top": 44.6,
"left": 278.4,
"attrs": { "color": "green" }
},
{ "type": "wokwi-dht22", "id": "dht1", "top": -86.1, "left": 503.4, "attrs": {} },
{
"type": "wokwi-buzzer",
"id": "bz1",
"top": -84,
"left": 587.4,
"attrs": { "volume": "0.1" }
},
{
"type": "wokwi-servo",
"id": "servo1",
"top": -212.2,
"left": -199.8,
"rotate": 270,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": 92.9,
"left": -91.7,
"rotate": 270,
"attrs": {}
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr2",
"top": 92.9,
"left": -168.5,
"rotate": 270,
"attrs": {}
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "btn1:1.r", "r1:1", "red", [ "v0" ] ],
[ "btn2:1.r", "r2:1", "red", [ "v0" ] ],
[ "btn3:1.r", "r4:1", "red", [ "v0" ] ],
[ "btn4:1.r", "r3:1", "red", [ "v0" ] ],
[ "r3:2", "r4:2", "red", [ "v0", "h8.4", "v-86.4", "h-9.6" ] ],
[ "r4:2", "r2:2", "red", [ "v0", "h18", "v-76.8" ] ],
[ "r2:2", "r1:2", "red", [ "v0", "h18", "v-76.8" ] ],
[ "btn4:2.r", "btn3:2.r", "black", [ "h115.4", "v-86.2", "h-9.6" ] ],
[ "btn2:2.r", "btn3:2.r", "black", [ "h115.4", "v77" ] ],
[ "btn1:2.r", "btn2:2.r", "black", [ "h115.4", "v77" ] ],
[ "r1:2", "oled1:VCC", "red", [ "v0", "h37.2", "v-48", "h86.4" ] ],
[ "btn1:2.r", "oled1:GND", "black", [ "h115.4", "v-57.4", "h76.8" ] ],
[ "dht1:VCC", "r3:2", "red", [ "v28.8" ] ],
[ "dht1:GND", "btn4:2.r", "black", [ "v0" ] ],
[ "bz1:1", "btn4:2.r", "black", [ "v0" ] ],
[ "btn1:1.l", "esp:23", "blue", [ "h0" ] ],
[ "btn2:1.l", "esp:19", "blue", [ "h-86.4", "v-19.2" ] ],
[ "btn3:1.l", "esp:18", "blue", [ "h-86.4", "v-86.4" ] ],
[ "btn4:1.l", "esp:5", "blue", [ "h-86.4", "v-163.2" ] ],
[ "esp:21", "oled1:SDA", "violet", [ "h28.8", "v-86.4", "h172.8" ] ],
[ "oled1:SCL", "esp:22", "violet", [ "v-9.6", "h0.3", "v-28.8", "h-364.8", "v57.6" ] ],
[ "dht1:SDA", "esp:26", "orange", [ "v57.6", "h0.1", "v28.8", "h-480", "v-220.8" ] ],
[ "esp:25", "servo1:PWM", "yellow", [ "v0", "h-19.05", "v86.4", "h-153.6" ] ],
[ "esp:34", "ldr1:AO", "gray", [ "h-19.05", "v124.8", "h-38.4" ] ],
[ "ldr2:AO", "esp:35", "gray", [ "v-67.2", "h114.5", "v-115.2" ] ],
[ "ldr2:VCC", "esp:3V3", "red", [ "v-57.6", "h0", "v0", "h0", "v0", "h134.4", "v-172.8" ] ],
[ "ldr1:VCC", "esp:3V3", "red", [ "v-57.6", "h57.6", "v-172.8" ] ],
[ "ldr2:GND", "esp:GND.1", "black", [ "v-76.8", "h114.8", "v-28.8" ] ],
[ "servo1:V+", "esp:3V3", "red", [ "v48", "h153.7", "v-172.8" ] ],
[ "servo1:GND", "esp:GND.1", "black", [ "v28.8", "h153.6", "v-28.8" ] ],
[ "ldr1:GND", "esp:GND.1", "black", [ "v-76.8", "h38", "v-28.8" ] ],
[ "esp:GND.2", "oled1:GND", "black", [ "v-28.8", "h326.4" ] ],
[ "oled1:VCC", "esp:3V3", "red", [ "v-38.4", "h-508.65", "v38.4" ] ],
[ "esp:32", "bz1:2", "purple", [ "h-19.05", "v288", "h307.2" ] ]
],
"dependencies": {}
}