132 lines
3.6 KiB
JSON
132 lines
3.6 KiB
JSON
{
|
|
"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": 57.05,
|
|
"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": 42.6,
|
|
"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" }
|
|
},
|
|
{ "type": "wokwi-relay-module", "id": "relay1", "top": 19.4, "left": 326.4, "attrs": {} },
|
|
{
|
|
"type": "wokwi-slide-potentiometer",
|
|
"id": "pot2",
|
|
"top": 259.2,
|
|
"left": -202.4,
|
|
"rotate": 90,
|
|
"attrs": { "travelLength": "30" }
|
|
},
|
|
{
|
|
"type": "wokwi-resistor",
|
|
"id": "r2",
|
|
"top": 139.2,
|
|
"left": -77.35,
|
|
"rotate": 90,
|
|
"attrs": { "value": "100000" }
|
|
},
|
|
{
|
|
"type": "wokwi-led",
|
|
"id": "led1",
|
|
"top": -138,
|
|
"left": 81,
|
|
"attrs": { "color": "red", "flip": "1" }
|
|
},
|
|
{
|
|
"type": "wokwi-resistor",
|
|
"id": "r5",
|
|
"top": -110.4,
|
|
"left": 239.45,
|
|
"rotate": 90,
|
|
"attrs": { "value": "1000" }
|
|
},
|
|
{
|
|
"type": "wokwi-led",
|
|
"id": "led4",
|
|
"top": 8.8,
|
|
"left": 592.2,
|
|
"rotate": 90,
|
|
"attrs": { "color": "blue", "flip": "1" }
|
|
},
|
|
{ "type": "wokwi-vcc", "id": "vcc2", "top": -104.84, "left": 585.6, "attrs": {} },
|
|
{
|
|
"type": "wokwi-resistor",
|
|
"id": "r6",
|
|
"top": -33.6,
|
|
"left": 565.85,
|
|
"rotate": 90,
|
|
"attrs": { "value": "220" }
|
|
},
|
|
{ "type": "wokwi-gnd", "id": "gnd2", "top": 134.4, "left": 585, "attrs": {} }
|
|
],
|
|
"connections": [
|
|
[ "nano:GND.1", "gnd1:GND", "black", [ "v0" ] ],
|
|
[ "led2:A", "nano:12", "green", [ "v0" ] ],
|
|
[ "led2:C", "r4:1", "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" ] ],
|
|
[ "nano:A0", "pot1:SIG", "green", [ "v0" ] ],
|
|
[ "nano:5V", "r2:1", "red", [ "v0" ] ],
|
|
[ "r2:2", "pot2:SIG", "green", [ "h0" ] ],
|
|
[ "pot2:SIG", "nano:A1", "green", [ "v-67.2", "h164" ] ],
|
|
[ "pot1:VCC", "gnd1:GND", "red", [ "v0" ] ],
|
|
[ "pot2:VCC", "gnd1:GND", "red", [ "v0" ] ],
|
|
[ "nano:10", "led3:A", "green", [ "v0" ] ],
|
|
[ "nano:8", "led1:A", "green", [ "v-67.2", "h38.4" ] ],
|
|
[ "led1:C", "r5:1", "green", [ "h76.4", "v19.2" ] ],
|
|
[ "r5:2", "gnd1:GND", "green", [ "v104.4", "h-28.8" ] ],
|
|
[ "nano:6", "relay1:IN", "green", [ "v0" ] ],
|
|
[ "r6:2", "led4:A", "green", [ "h0" ] ],
|
|
[ "vcc2:VCC", "r6:1", "red", [ "v0" ] ],
|
|
[ "relay1:NO", "gnd2:GND", "green", [ "h0" ] ],
|
|
[ "relay1:COM", "led4:C", "green", [ "h0" ] ]
|
|
],
|
|
"dependencies": {}
|
|
}
|