-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiagram.json
More file actions
88 lines (88 loc) · 2.32 KB
/
Copy pathdiagram.json
File metadata and controls
88 lines (88 loc) · 2.32 KB
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
{
"version": 1,
"author": "Mustafa",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 9.6, "left": 33.64, "attrs": {} },
{
"type": "wokwi-dht22",
"id": "dht1",
"top": -153.3,
"left": 273,
"attrs": { "temperature": "19.7", "humidity": "44.5" }
},
{
"type": "wokwi-photoresistor-sensor",
"id": "ldr1",
"top": -140.8,
"left": 432.8,
"attrs": {}
},
{
"type": "wokwi-lcd1602",
"id": "lcd1",
"top": -147.2,
"left": -407.2,
"attrs": { "pins": "i2c" }
},
{
"type": "wokwi-rgb-led",
"id": "rgb1",
"top": 311.2,
"left": -142.9,
"attrs": { "common": "cathode" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 303.8,
"left": 278.4,
"attrs": { "color": "green" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 253.55,
"left": -105.6,
"attrs": { "value": "220" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 272.75,
"left": -105.6,
"attrs": { "value": "220" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 291.95,
"left": -105.6,
"attrs": { "value": "220" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "dht1:VCC", "esp:3V3", "red", [ "v0" ] ],
[ "dht1:GND", "esp:GND.1", "black", [ "v0" ] ],
[ "dht1:SDA", "esp:15", "green", [ "v0" ] ],
[ "ldr1:VCC", "esp:3V3", "red", [ "v0" ] ],
[ "ldr1:GND", "esp:GND.1", "black", [ "v0" ] ],
[ "ldr1:AO", "esp:34", "yellow", [ "v0" ] ],
[ "lcd1:GND", "esp:GND.1", "black", [ "v0" ] ],
[ "lcd1:VCC", "esp:VIN", "red", [ "v0" ] ],
[ "lcd1:SDA", "esp:21", "cyan", [ "v0" ] ],
[ "lcd1:SCL", "esp:22", "purple", [ "v0" ] ],
[ "rgb1:COM", "esp:GND.2", "black", [ "v0" ] ],
[ "rgb1:R", "r1:1", "red", [ "v0" ] ],
[ "rgb1:G", "r2:1", "green", [ "v0" ] ],
[ "rgb1:B", "r3:1", "blue", [ "v0" ] ],
[ "r1:2", "esp:25", "red", [ "v0" ] ],
[ "r2:2", "esp:26", "green", [ "v0" ] ],
[ "r3:2", "esp:27", "blue", [ "v0" ] ],
[ "btn1:1.l", "esp:18", "orange", [ "v0" ] ],
[ "btn1:2.l", "esp:GND.3", "black", [ "v0" ] ]
],
"dependencies": {}
}