{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-arduino-nano",
"id": "nano",
"top": -2.8,
"left": 87.7,
"rotate": 270,
"attrs": {}
},
{ "type": "chip-line-sensor-l", "id": "chip3", "top": 193.02, "left": 24, "attrs": {} },
{ "type": "chip-line-sensor-r", "id": "chip4", "top": 193.02, "left": 235.2, "attrs": {} },
{
"type": "wokwi-text",
"id": "r2",
"top": 163.2,
"left": 28.8,
"attrs": { "text": "Click to Adjust" }
},
{
"type": "wokwi-text",
"id": "r1",
"top": 163.2,
"left": 240,
"attrs": { "text": "Click to Adjust" }
},
{ "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": 163.96, "left": 144, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc3", "top": 163.96, "left": 355.2, "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": 211.2, "left": 143.4, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd3", "top": 211.2, "left": 354.6, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd4", "top": 326.4, "left": 354.6, "attrs": {} },
{
"type": "chip-scope",
"id": "scope1",
"top": 231.42,
"left": 484.8,
"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": -105.6,
"left": -38.4,
"attrs": { "text": "ー--------------------------\n Line Trace Car" }
},
{
"type": "wokwi-text",
"id": "r4",
"top": -100.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|\n|\n|\n|" }
},
{
"type": "wokwi-text",
"id": "r5",
"top": -96,
"left": 393.6,
"attrs": { "text": "|\n|\n|\n|\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-vcc", "id": "vcc5", "top": -76.04, "left": 211.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd5", "top": -28.8, "left": 210.6, "attrs": {} }
],
"connections": [
[ "chip1:GND", "gnd1:GND", "black", [ "h0" ] ],
[ "nano:5", "chip1:CW_CCW", "green", [ "h-144", "v288" ] ],
[ "nano:9", "chip1:PWM_IN", "green", [ "h-134.4", "v259.2" ] ],
[ "chip1:VCC", "vcc1:VCC", "red", [ "h0" ] ],
[ "chip3:VCC", "vcc2:VCC", "red", [ "h0" ] ],
[ "chip3:GND", "gnd2:GND", "black", [ "v0", "h11.41" ] ],
[ "chip3:SENS_OUT", "nano:A0", "green", [ "h-9.6", "v-76.8", "h201.6", "v-57.6" ] ],
[ "chip4:VCC", "vcc3:VCC", "red", [ "h0" ] ],
[ "chip4:GND", "gnd3:GND", "black", [ "v0", "h21.01" ] ],
[ "nano:A1", "chip4:SENS_OUT", "green", [ "h28.8", "v28.8" ] ],
[ "chip5:VCC", "vcc4:VCC", "red", [ "h0" ] ],
[ "chip5:GND", "gnd4:GND", "black", [ "v0", "h11.41" ] ],
[ "nano:6", "chip5:CW_CCW", "green", [ "h-28.8", "v105.6", "h96", "v172.8" ] ],
[ "nano:10", "chip5:PWM_IN", "green", [ "h-19.2", "v57.6", "h96", "v192" ] ],
[ "chip1:CW_CCW", "scope1:D0", "green", [ "h-28.8", "v153.6", "h441.6", "v-230.4" ] ],
[ "chip1:PWM_IN", "scope1:D1", "green", [ "h-19.2", "v153.6", "h441.6", "v-230.4" ] ],
[ "chip5:CW_CCW", "scope1:D2", "green", [ "h-28.8", "v172.8", "h249.6", "v-230.4" ] ],
[ "chip5:PWM_IN", "scope1:D3", "green", [ "h-19.2", "v172.8", "h249.6", "v-230.4" ] ],
[ "nano:VIN", "vcc5:VCC", "red", [ "h0" ] ],
[ "nano:GND.1", "gnd5:GND", "black", [ "h0" ] ]
],
"dependencies": { "chip-scope": "github:Dlloydev/[email protected]" }
}Click to Adjust
Click to Adjust
ー--------------------------
Line Trace Car
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ー--------------------------