{
"version": 1,
"author": "Uri Shaked",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-arduino-nano",
"id": "nano",
"top": 102.8,
"left": 39.7,
"rotate": 270,
"attrs": {}
},
{ "type": "chip-line-tracing-sim", "id": "chip2", "top": 1.02, "left": 216, "attrs": {} },
{ "type": "chip-clkgen", "id": "chip1", "top": -104.58, "left": 64.21, "attrs": {} },
{ "type": "chip-fpga", "id": "chip3", "top": -46.98, "left": 62.4, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": -61,
"left": -38.4,
"attrs": { "color": "green", "bounce": "0" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 4.8,
"left": -0.55,
"rotate": 90,
"attrs": { "value": "10000" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -85.64, "left": 19.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd1", "top": 48, "left": 18.6, "attrs": {} }
],
"connections": [
[ "nano:A4", "chip2:SDA", "green", [ "h48", "v-192" ] ],
[ "nano:A5", "chip2:SCL", "green", [ "h38.4", "v-192" ] ],
[ "chip1:OUT", "chip3:CLK", "green", [ "h11.41", "v28.8", "h-126.61", "v19.2" ] ],
[ "chip2:SENS_OUT_L", "chip3:SEN_L", "green", [ "h-172.8", "v-57.6" ] ],
[ "chip2:SENS_OUT_R", "chip3:SEN_R", "green", [ "h-163.2", "v-38.4" ] ],
[ "chip3:ROT_L", "chip2:CW_CCW_L", "green", [ "h1288.21", "v76.8" ] ],
[ "chip3:ROT_R", "chip2:CW_CCW_R", "green", [ "h1278.61", "v57.6" ] ],
[ "chip3:PWM_L", "chip2:PWM_IN_L", "green", [ "h1269.01", "v38.4" ] ],
[ "chip3:PWM_R", "chip2:PWM_IN_R", "green", [ "h1259.41", "v19.2" ] ],
[ "gnd1:GND", "r1:2", "black", [ "v0" ] ],
[ "btn1:2.r", "r1:1", "green", [ "h0" ] ],
[ "btn1:1.r", "vcc1:VCC", "green", [ "v0" ] ],
[ "btn1:2.r", "chip3:START", "green", [ "h0" ] ],
[ "chip3:ROT_L", "chip2:ROT_IN_L", "green", [ "h1288.21", "v76.8" ] ],
[ "chip2:ROT_IN_R", "chip3:ROT_R", "green", [ "h30.84", "v-57.6" ] ]
],
"dependencies": { "chip-scope": "github:Dlloydev/[email protected]" }
}