{
"version": 1,
"author": "Vince Lee",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-arduino-nano",
"id": "nano",
"top": 62.4,
"left": -0.5,
"attrs": {
"psramSize": "8mb"
}
},
{
"type": "wokwi-tm1637-7segment",
"id": "sevseg1",
"top": -153.64,
"left": -2.57,
"attrs": { "color": "red" }
},
{
"type": "wokwi-led-ring",
"id": "ring1",
"top": -181.76,
"left": -162.01,
"attrs": { "pixels": "16" }
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 179,
"left": 86.4,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn2",
"top": 179,
"left": -28.8,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-led", "id": "led1", "top": -42, "left": -34.6, "attrs": { "color": "red" } },
{
"type": "wokwi-resistor",
"id": "r1",
"top": 109.55,
"left": -67.2,
"attrs": { "value": "1000" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": 0.76, "left": -259.2, "attrs": {} },
{
"type": "wokwi-text",
"id": "text1",
"top": 259.2,
"left": 38.4,
"attrs": {
"text": "Button 2 ----^\n* Press for next gauge or menu item\n* Long press to open menu / select item\n* Longer press for prev gauge or item\n"
}
},
{
"type": "wokwi-text",
"id": "text2",
"top": 259.2,
"left": -278.4,
"attrs": {
"text": "Button 1 -----------------------------------------------^\n* Press for prev gauge or menu item\n* Long press to change briteness"
}
},
{
"type": "wokwi-text",
"id": "text3",
"top": -28.8,
"left": 0,
"attrs": { "text": "K-LINE (OUT)" }
},
{
"type": "wokwi-text",
"id": "text4",
"top": 86.4,
"left": -268.8,
"attrs": { "text": "BATTERY LVL (SIM)" }
},
{ "type": "wokwi-potentiometer", "id": "pot1", "top": 113.9, "left": -240.2, "attrs": {} },
{ "type": "wokwi-slide-switch", "id": "sw1", "top": -14.8, "left": -208.1, "attrs": {} },
{
"type": "wokwi-text",
"id": "text5",
"top": -48,
"left": -259.2,
"attrs": { "text": "IGNITION (TEST)" }
},
{
"type": "wokwi-text",
"id": "text6",
"top": -259.2,
"left": -134.4,
"attrs": { "text": "vOBD Super Gauge\n(Starts in \"demo mode\" since no ECU available)" }
},
{
"type": "wokwi-text",
"id": "text7",
"top": -124.8,
"left": 67.2,
"attrs": { "text": " ◾" }
}
],
"connections": [
[ "ring1:VCC", "nano:5V", "red", [ "v163.2", "h220.8" ] ],
[ "ring1:GND", "nano:GND.1", "black", [ "v182.4", "h249.6" ] ],
[ "nano:GND.1", "sevseg1:GND", "black", [ "v38.4", "h57.6", "v-230.4" ] ],
[ "nano:5V", "sevseg1:VCC", "red", [ "v19.2", "h86.4", "v-220.8" ] ],
[ "nano:6", "sevseg1:DIO", "orange", [ "v-48", "h153.6", "v-115.2" ] ],
[ "nano:5", "sevseg1:CLK", "gold", [ "v-38.4", "h134.4", "v-134.4" ] ],
[ "ring1:DIN", "nano:2", "green", [ "v38.4", "h201.6" ] ],
[ "btn1:2.r", "nano:9", "blue", [ "h38.6", "v-172.6", "h-144" ] ],
[ "btn2:2.r", "nano:8", "blue", [ "h0.2", "v29", "h144", "v-192", "h-124.8" ] ],
[ "led1:C", "r1:1", "purple", [ "h-57.2", "v67.2" ] ],
[ "r1:2", "nano:GND.1", "black", [ "v57.6", "h152.4" ] ],
[ "nano:3", "led1:A", "purple", [ "v0" ] ],
[ "btn1:1.l", "nano:GND.1", "black", [ "v-28.8", "h57.6" ] ],
[ "btn2:1.l", "nano:GND.1", "black", [ "v-19.2", "h172.8" ] ],
[ "pot1:GND", "btn2:1.l", "black", [ "v28.8", "h105.6", "v-19.2" ] ],
[ "pot1:SIG", "nano:A0", "green", [ "v38.4", "h105.2", "v-57.6", "h144" ] ],
[ "nano:7", "sw1:2", "magenta", [ "v-38.4", "h-259.3" ] ],
[ "sw1:1", "vcc1:VCC", "magenta", [ "v19.2", "h-28.8" ] ],
[ "pot1:VCC", "sw1:2", "magenta", [ "v19.2", "h76", "v-172.8", "h-76.9" ] ]
],
"dependencies": {}
}Button 2 ----^
* Press for next gauge or menu item
* Long press to open menu / select item
* Longer press for prev gauge or item
Button 1 -----------------------------------------------^
* Press for prev gauge or menu item
* Long press to change briteness
K-LINE (OUT)
BATTERY LVL (SIM)
IGNITION (TEST)
vOBD Super Gauge
(Starts in "demo mode" since no ECU available)
◾