esp32-garden-basics/02-water-pump/diagram.json

70 lines
1.7 KiB
JSON
Raw Normal View History

2024-05-02 20:51:50 +00:00
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-nano", "id": "nano", "top": -4.8, "left": -0.5, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 139.2,
"left": -10.15,
"rotate": 90,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-led",
"id": "led2",
"top": -128.4,
"left": 3.8,
"attrs": { "color": "green", "flip": "1" }
},
{
"type": "wokwi-led",
"id": "led3",
"top": -128.4,
"left": 100.2,
"attrs": { "color": "yellow", "flip": "1" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 201.6, "left": 229.8, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r3",
"top": -62.4,
"left": 210.65,
"rotate": 90,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": -24,
"left": 181.85,
"rotate": 90,
"attrs": { "value": "1000" }
},
{
"type": "wokwi-slide-potentiometer",
"id": "pot1",
"top": 259.2,
"left": -39.2,
"rotate": 90,
"attrs": { "travelLength": "30" }
}
],
"connections": [
[ "nano:GND.1", "gnd1:GND", "black", [ "v0" ] ],
[ "led2:A", "nano:12", "green", [ "v0" ] ],
[ "led2:C", "r4:1", "green", [ "v0" ] ],
[ "nano:4", "led3:A", "green", [ "v0" ] ],
[ "led3:C", "r3:1", "green", [ "v0" ] ],
[ "r3:2", "gnd1:GND", "green", [ "h0" ] ],
[ "r4:2", "gnd1:GND", "green", [ "h0" ] ],
[ "nano:5V", "r1:1", "red", [ "v0" ] ],
[ "r1:2", "pot1:SIG", "green", [ "h0" ] ],
[ "pot1:VCC", "gnd1:GND", "red", [ "v0" ] ],
[ "nano:A0", "pot1:SIG", "green", [ "v0" ] ]
],
"dependencies": {}
}