-
Notifications
You must be signed in to change notification settings - Fork 0
/
diagram.json
43 lines (43 loc) · 1.27 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
{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": -38.4, "left": -100.76, "attrs": {} },
{
"type": "wokwi-dht22",
"id": "dht1",
"top": -28.5,
"left": 42.6,
"attrs": { "humidity": "56.5", "temperature": "33.1" }
},
{ "type": "wokwi-led", "id": "led1", "top": 54, "left": -245.8, "attrs": { "color": "red" } },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 35,
"left": -201.6,
"attrs": { "color": "red", "bounce": "1" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 109.55,
"left": -220.8,
"attrs": { "value": "1000" }
}
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "dht1:VCC", "esp:3V3", "red", [ "v109.3", "h-170.36", "v-200.78" ] ],
[ "dht1:SDA", "esp:15", "green", [ "v0" ] ],
[ "led1:A", "esp:14", "green", [ "v0" ] ],
[ "led1:C", "r1:1", "green", [ "v0" ] ],
[ "r1:2", "esp:GND.1", "green", [ "v0" ] ],
[ "btn1:1.r", "esp:26", "green", [ "v0" ] ],
[ "btn1:2.r", "esp:GND.1", "green", [ "h0" ] ],
[ "dht1:GND", "esp:GND.3", "black", [ "v0" ] ]
],
"dependencies": {}
}