forked from OpenSprinkler/OpenSprinkler-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdiagram.json
117 lines (117 loc) · 4.16 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
{
"version": 1,
"author": "Tamas DAJKA",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-esp32-devkit-v1",
"id": "esp",
"top": -148.16,
"left": 2.77,
"attrs": { "firmwareOffset": "0" }
},
{ "type": "board-ssd1306", "id": "oled1", "top": 81.6, "left": -9.81, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 34.46,
"left": -173.69,
"attrs": { "color": "blue" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 101.22,
"left": -169.79,
"attrs": { "color": "yellow" }
},
{
"type": "wokwi-pushbutton",
"id": "btn3",
"top": -34.06,
"left": -177.72,
"attrs": { "color": "green" }
},
{ "type": "wokwi-74hc595", "id": "sr2", "top": 187.66, "left": -109.76, "attrs": {} },
{ "type": "wokwi-ds1307", "id": "rtc1", "top": -121.36, "left": 182.97, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": -157.04, "left": -35.41, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 267.19, "left": 150.77, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r7",
"top": 61.55,
"left": -249.6,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-led",
"id": "led4",
"top": -167.65,
"left": -104.92,
"attrs": { "color": "cyan" }
},
{
"type": "wokwi-resistor",
"id": "r8",
"top": -169.53,
"left": 37.99,
"attrs": { "value": "3300" }
},
{
"type": "wokwi-resistor",
"id": "r9",
"top": -196.57,
"left": 49.58,
"attrs": { "value": "3300" }
},
{ "type": "wokwi-relay-module", "id": "relay1", "top": 273.31, "left": -192.77, "attrs": {} },
{ "type": "wokwi-relay-module", "id": "relay2", "top": 271.1, "left": -31.02, "attrs": {} },
{ "type": "wokwi-relay-module", "id": "relay3", "top": 109.75, "left": 200.88, "attrs": {} },
{ "type": "wokwi-relay-module", "id": "relay4", "top": 212.08, "left": 188.72, "attrs": {} }
],
"connections": [
[ "esp:TX0", "$serialMonitor:RX", "", [] ],
[ "esp:RX0", "$serialMonitor:TX", "", [] ],
[ "rtc1:GND", "gnd1:GND", "black", [ "h0" ] ],
[ "oled1:GND", "esp:GND.1", "black", [ "v0" ] ],
[ "esp:GND.1", "gnd1:GND", "black", [ "h0" ] ],
[ "sr2:GND", "gnd1:GND", "black", [ "v0" ] ],
[ "vcc1:VCC", "sr2:VCC", "red", [ "v0" ] ],
[ "esp:VIN", "vcc1:VCC", "red", [ "h0" ] ],
[ "esp:D5", "btn1:1.r", "gray", [ "h0" ] ],
[ "esp:D21", "rtc1:SDA", "green", [ "h0" ] ],
[ "oled1:SDA", "esp:D21", "green", [ "v0" ] ],
[ "rtc1:5V", "vcc1:VCC", "red", [ "h0" ] ],
[ "esp:D27", "sr2:STCP", "green", [ "h0" ] ],
[ "r7:2", "led4:C", "green", [ "v0" ] ],
[ "led4:A", "esp:D13", "green", [ "v0" ] ],
[ "vcc1:VCC", "r7:1", "red", [ "v15.53", "h-55.01" ] ],
[ "oled1:VCC", "vcc1:VCC", "red", [ "v0" ] ],
[ "esp:D22", "rtc1:SCL", "green", [ "h0" ] ],
[ "oled1:SCL", "esp:D22", "green", [ "v0" ] ],
[ "r8:2", "esp:D22", "green", [ "v0" ] ],
[ "r9:2", "esp:D21", "green", [ "v0" ] ],
[ "vcc1:VCC", "r9:1", "red", [ "v0" ] ],
[ "r9:1", "r8:1", "green", [ "v0" ] ],
[ "sr2:SHCP", "esp:D32", "green", [ "v0" ] ],
[ "sr2:GND", "relay1:GND", "black", [ "v0" ] ],
[ "sr2:VCC", "relay1:VCC", "red", [ "v0" ] ],
[ "relay1:VCC", "relay2:VCC", "red", [ "h0" ] ],
[ "relay1:GND", "relay2:GND", "black", [ "h0" ] ],
[ "relay2:IN", "sr2:Q2", "green", [ "h0" ] ],
[ "relay1:IN", "sr2:Q1", "green", [ "h0" ] ],
[ "rtc1:5V", "relay3:VCC", "red", [ "h0" ] ],
[ "esp:GND.1", "relay3:GND", "black", [ "h0" ] ],
[ "esp:D2", "relay3:IN", "green", [ "h0" ] ],
[ "relay3:VCC", "relay4:VCC", "red", [ "h0" ] ],
[ "relay4:GND", "gnd1:GND", "black", [ "h0" ] ],
[ "relay4:IN", "esp:D4", "green", [ "h0" ] ],
[ "esp:D25", "btn3:1.r", "gold", [ "h-136.87", "v11.97" ] ],
[ "esp:D18", "sr2:DS", "green", [ "h0" ] ],
[ "esp:D26", "btn2:1.r", "purple", [ "h0" ] ],
[ "btn2:2.r", "relay1:GND", "black", [ "h-79.02", "v196.46" ] ],
[ "btn1:2.r", "btn2:2.r", "black", [ "h0" ] ],
[ "btn1:2.r", "btn3:2.r", "black", [ "h0" ] ]
],
"dependencies": {}
}