{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{ "type": "chip-dc-motor-l", "id": "chip1", "top": 308.22, "left": 24, "attrs": {} },
{ "type": "chip-dc-motor-r", "id": "chip5", "top": 308.22, "left": 235.2, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc1", "top": 279.16, "left": 144, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": 183.16, "left": 38.4, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc4", "top": 279.16, "left": 355.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 326.4, "left": 143.4, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": 249.6, "left": 85.8, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd4", "top": 326.4, "left": 354.6, "attrs": {} },
{
"type": "chip-scope",
"id": "scope1",
"top": 231.42,
"left": 456,
"attrs": {
"sampleTimeUs": "20",
"sampleTimeMs": "0",
"triggerChannel": "1",
"triggerMode": "1",
"crtColor": "0",
"trace0Color": "14",
"trace1Color": "12",
"trace2Color": "10",
"trace3Color": "2"
}
},
{
"type": "wokwi-text",
"id": "r3",
"top": -38.4,
"left": -38.4,
"attrs": { "text": "ー--------------------------\n Line Trace Car" }
},
{
"type": "wokwi-text",
"id": "r4",
"top": -28.8,
"left": -38.4,
"attrs": { "text": "|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|" }
},
{
"type": "wokwi-text",
"id": "r5",
"top": -28.8,
"left": 393.6,
"attrs": { "text": "|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|" }
},
{
"type": "wokwi-text",
"id": "r6",
"top": 441.6,
"left": -38.4,
"attrs": { "text": "ー--------------------------" }
},
{
"type": "wokwi-slide-switch",
"id": "sw1",
"top": 203.2,
"left": 58.1,
"rotate": 90,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 243.95,
"left": 28.8,
"attrs": { "value": "10000" }
},
{ "type": "chip-clkgen", "id": "chip2", "top": 20.22, "left": 64.21, "attrs": {} },
{ "type": "chip-fpga", "id": "chip3", "top": 77.82, "left": 62.4, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc3", "top": 183.16, "left": 249.6, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd3", "top": 249.6, "left": 297, "attrs": {} },
{
"type": "wokwi-slide-switch",
"id": "sw2",
"top": 203.2,
"left": 269.3,
"rotate": 90,
"attrs": {}
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 243.95,
"left": 240,
"attrs": { "value": "10000" }
},
{
"type": "wokwi-text",
"id": "r7",
"top": 182.4,
"left": 86.4,
"attrs": { "text": "Line Sensor" }
},
{
"type": "wokwi-text",
"id": "r8",
"top": 182.4,
"left": 297.6,
"attrs": { "text": "Line Sensor" }
}
],
"connections": [
[ "chip1:GND", "gnd1:GND", "black", [ "h0" ] ],
[ "chip1:VCC", "vcc1:VCC", "red", [ "h0" ] ],
[ "chip5:VCC", "vcc4:VCC", "red", [ "h0" ] ],
[ "chip5:GND", "gnd4:GND", "black", [ "v0", "h11.41" ] ],
[ "chip1:CW_CCW", "scope1:D0", "green", [ "h-19.2", "v153.6", "h403.2", "v-230.4" ] ],
[ "chip1:PWM_IN", "scope1:D1", "green", [ "h-28.8", "v153.6", "h422.4", "v-230.4" ] ],
[ "chip5:CW_CCW", "scope1:D2", "green", [ "h-19.2", "v172.8", "h211.2", "v-230.4" ] ],
[ "chip5:PWM_IN", "scope1:D3", "green", [ "h-28.8", "v172.8", "h230.4", "v-230.4" ] ],
[ "r1:2", "gnd2:GND", "green", [ "v0" ] ],
[ "chip3:PWM_A", "chip1:PWM_IN", "green", [ "h21.01", "v345.6" ] ],
[ "chip3:PWM_B", "chip5:PWM_IN", "green", [ "h11.41", "v259.2", "h268.8", "v57.6" ] ],
[ "chip2:OUT", "chip3:CLK", "green", [ "v-5.6", "h19.85", "v34.4", "h-144.65", "v19.2" ] ],
[ "chip3:PWM_L", "chip1:PWM_IN", "green", [ "h11.41", "v57.6", "h-182.4", "v163.2" ] ],
[ "chip3:PWM_R", "chip5:PWM_IN", "green", [ "h40.21", "v268.8" ] ],
[ "chip3:ROT_L", "chip1:CW_CCW", "green", [ "h21.01", "v86.4", "h-182.4", "v144" ] ],
[ "chip3:ROT_R", "chip5:CW_CCW", "green", [ "h49.81", "v278.4" ] ],
[ "sw1:1", "vcc2:VCC", "green", [ "h0" ] ],
[ "sw1:2", "r1:1", "green", [ "h0" ] ],
[ "r2:2", "gnd3:GND", "green", [ "v0" ] ],
[ "sw2:1", "vcc3:VCC", "green", [ "h0" ] ],
[ "sw2:2", "r2:1", "green", [ "h0" ] ],
[ "sw1:2", "chip3:SEN_L", "green", [ "h-28.8", "v-115.1" ] ],
[ "sw2:2", "chip3:SEN_R", "green", [ "h-28.8", "v-76.7", "h-201.6", "v-28.8" ] ],
[ "chip3:ROT_L", "chip1:ROT_IN", "green", [ "h21.01", "v86.4", "h-182.4", "v134.4" ] ],
[ "chip3:ROT_R", "chip5:ROT_IN", "green", [ "h49.81", "v220.8" ] ]
],
"dependencies": { "chip-scope": "github:Dlloydev/[email protected]" }
}
ー--------------------------
Line Trace Car
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ー--------------------------
Line Sensor
Line Sensor