{
  "version": 1,
  "author": "6V6GT",
  "editor": "wokwi",
  "parts": [
    { "type": "wokwi-esp32-devkit-v1", "id": "esp", "top": -417.8, "left": 469.72, "attrs": {} },
    {
      "type": "wokwi-max7219-matrix",
      "id": "matrix1",
      "top": -214.34,
      "left": 187.43,
      "attrs": { "chain": "2" }
    },
    { "type": "wokwi-vcc", "id": "vcc1", "top": -282.87, "left": 368.07, "attrs": {} },
    { "type": "wokwi-gnd", "id": "gnd1", "top": -254.56, "left": 427.31, "attrs": {} },
    {
      "type": "wokwi-max7219-matrix",
      "id": "matrix3",
      "top": -215.1,
      "left": 45.41,
      "attrs": { "chain": "1" }
    },
    {
      "type": "wokwi-max7219-matrix",
      "id": "matrix4",
      "top": -214.96,
      "left": -170.3,
      "attrs": { "chain": "1" }
    },
    {
      "type": "wokwi-text",
      "id": "title1",
      "top": -324.48,
      "left": -152.92,
      "attrs": { "text": "ALU ZCON\nPC\nBUS\n-\n" }
    },
    {
      "type": "wokwi-text",
      "id": "title1a",
      "top": -123.41,
      "left": -148.85,
      "attrs": { "text": "Sig 31-24\nSig 23-16\nSig 15-8\nSig 7-0\n" }
    },
    {
      "type": "wokwi-text",
      "id": "title2",
      "top": -322.23,
      "left": 69.16,
      "attrs": { "text": "RegA\nRegB\nRegC\nRegD\n" }
    },
    {
      "type": "wokwi-text",
      "id": "title2a",
      "top": -126.61,
      "left": 73.24,
      "attrs": { "text": "MAR\nINS\nSP\nALU\n" }
    },
    {
      "type": "wokwi-text",
      "id": "title3",
      "top": -257.05,
      "left": 247.94,
      "attrs": { "text": "RegA (dec)\n" }
    },
    {
      "type": "wokwi-text",
      "id": "title4",
      "top": -458.76,
      "left": -1.77,
      "attrs": { "text": "8 bit processor emulation based on the James Bates model" }
    },
    {
      "type": "wokwi-text",
      "id": "title4a",
      "top": 2.67,
      "left": -145.85,
      "attrs": {
        "text": "https://forum.arduino.cc/t/emulator-of-a-8-bit-breadboard-logic-chip-teaching-computer/1168240"
      }
    },
    {
      "type": "wokwi-text",
      "id": "title5",
      "top": -123.75,
      "left": 384.33,
      "attrs": { "text": "Din=GPIO4, CS=GPIO2, CLK=GPIO15" }
    },
    {
      "type": "wokwi-text",
      "id": "title5a",
      "top": -148.69,
      "left": 385.68,
      "attrs": { "text": "MAX7219" }
    },
    {
      "type": "wokwi-text",
      "id": "title5b",
      "top": -211.56,
      "left": 501.15,
      "attrs": { "text": "ESP32" }
    },
    {
      "type": "wokwi-text",
      "id": "title5c",
      "top": 1.68,
      "left": 592.04,
      "attrs": { "text": "V1_01 6v6GT" }
    }
  ],
  "connections": [
    [ "esp:TX0", "$serialMonitor:RX", "", [] ],
    [ "esp:RX0", "$serialMonitor:TX", "", [] ],
    [ "vcc1:VCC", "matrix1:V+", "red", [ "v0" ] ],
    [ "gnd1:GND", "matrix1:GND", "black", [ "v-7.02", "h-41.07", "v67.66" ] ],
    [ "matrix1:DIN", "esp:D4", "green", [ "h233.61", "v-121.26" ] ],
    [ "matrix1:CS", "esp:D2", "green", [ "h246.52", "v-120.46" ] ],
    [ "matrix1:CLK", "esp:D15", "green", [ "h259.44", "v-120.96" ] ],
    [ "matrix4:V+", "matrix3:V+.2", "green", [ "h0" ] ],
    [ "matrix4:GND", "matrix3:GND.2", "black", [ "h0" ] ],
    [ "matrix4:DIN", "matrix3:DOUT", "green", [ "h0" ] ],
    [ "matrix4:CS", "matrix3:CS.2", "green", [ "h0" ] ],
    [ "matrix4:CLK", "matrix3:CLK.2", "green", [ "h0" ] ],
    [ "matrix3:V+", "matrix1:V+.2", "green", [ "h0" ] ],
    [ "matrix3:GND", "matrix1:GND.2", "black", [ "h0" ] ],
    [ "matrix3:DIN", "matrix1:DOUT", "green", [ "h0" ] ],
    [ "matrix3:CS", "matrix1:CS.2", "green", [ "h0" ] ],
    [ "matrix3:CLK", "matrix1:CLK.2", "green", [ "h0" ] ]
  ],
  "serialMonitor": { "display": "auto", "newline": "crlf", "convertEol": false },
  "dependencies": {}
}
ALU ZCON PC BUS -
Sig 31-24 Sig 23-16 Sig 15-8 Sig 7-0
RegA RegB RegC RegD
MAR INS SP ALU
RegA (dec)
8 bit processor emulation based on the James Bates model
https://forum.arduino.cc/t/emulator-of-a-8-bit-breadboard-logic-chip-teaching-computer/1168240
Din=GPIO4, CS=GPIO2, CLK=GPIO15
MAX7219
ESP32
V1_01 6v6GT