{
"version": 1,
"author": "UAICF Modelisme",
"editor": "wokwi",
"parts": [
{ "type": "wokwi-arduino-mega", "id": "mega", "top": 0.6, "left": 150, "attrs": {} },
{
"type": "wokwi-lcd1602",
"id": "lcd2",
"top": -166.4,
"left": 188,
"attrs": { "pins": "i2c" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -172.04, "left": 115.2, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd2", "top": -115.2, "left": 124.2, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 121.4,
"left": 336,
"attrs": { "color": "red", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn5",
"top": -2.2,
"left": 595.2,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn2",
"top": 26.6,
"left": 595.2,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn3",
"top": 55.4,
"left": 595.2,
"attrs": { "color": "black", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn4",
"top": 84.2,
"left": 595.2,
"attrs": { "color": "white", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn6",
"top": 170.6,
"left": 595.2,
"attrs": { "color": "black", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn7",
"top": 113,
"left": 595.2,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn8",
"top": 141.8,
"left": 595.2,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn9",
"top": 199.4,
"left": 595.2,
"attrs": { "color": "white", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn10",
"top": -2.2,
"left": 672,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn11",
"top": 84.2,
"left": 672,
"attrs": { "color": "white", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn12",
"top": 26.6,
"left": 672,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn13",
"top": 55.4,
"left": 672,
"attrs": { "color": "black", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn14",
"top": 113,
"left": 672,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn15",
"top": 141.8,
"left": 672,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn16",
"top": 170.6,
"left": 672,
"attrs": { "color": "black", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn17",
"top": 199.4,
"left": 672,
"attrs": { "color": "white", "xray": "1" }
},
{
"type": "wokwi-text",
"id": "text1",
"top": -134.4,
"left": 508.8,
"attrs": { "text": "TCO XpressNet\nDémo avec boutons poussoir" }
},
{
"type": "wokwi-text",
"id": "text2",
"top": 67.2,
"left": 336,
"attrs": { "text": "Arrêt\nUrgence" }
},
{
"type": "wokwi-text",
"id": "text3",
"top": -28.8,
"left": 595.2,
"attrs": { "text": "10" }
},
{ "type": "wokwi-text", "id": "text4", "top": -28.8, "left": 672, "attrs": { "text": "11" } },
{ "type": "wokwi-text", "id": "text5", "top": 28.8, "left": 729.6, "attrs": { "text": "21" } },
{ "type": "wokwi-text", "id": "text6", "top": 57.6, "left": 729.6, "attrs": { "text": "22" } },
{ "type": "wokwi-text", "id": "text7", "top": 86.4, "left": 729.6, "attrs": { "text": "23" } },
{
"type": "wokwi-text",
"id": "text8",
"top": 115.2,
"left": 729.6,
"attrs": { "text": "24" }
},
{ "type": "wokwi-text", "id": "text9", "top": 144, "left": 729.6, "attrs": { "text": "31" } },
{
"type": "wokwi-text",
"id": "text10",
"top": 172.8,
"left": 729.6,
"attrs": { "text": "32" }
},
{
"type": "wokwi-text",
"id": "text11",
"top": 220.8,
"left": 595.2,
"attrs": { "text": "13" }
},
{ "type": "wokwi-text", "id": "text12", "top": 220.8, "left": 672, "attrs": { "text": "14" } },
{ "type": "wokwi-logo", "id": "logo2", "top": -163.2, "left": 508.8, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn18",
"top": 83,
"left": 28.8,
"attrs": { "color": "blue", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn19",
"top": 169.4,
"left": 28.8,
"attrs": { "color": "blue", "xray": "1" }
},
{ "type": "wokwi-text", "id": "text13", "top": 57.6, "left": 48, "attrs": { "text": "12-1" } },
{
"type": "wokwi-text",
"id": "text14",
"top": 220.8,
"left": 48,
"attrs": { "text": "12-0" }
},
{
"type": "wokwi-text",
"id": "text15",
"top": 134.4,
"left": 9.6,
"attrs": { "text": "Test Souris" }
},
{ "type": "wokwi-slide-switch", "id": "sw1", "top": 90.8, "left": 281.5, "attrs": {} },
{
"type": "wokwi-led",
"id": "led1",
"top": 44.4,
"left": 205.4,
"attrs": { "color": "limegreen" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 43.2,
"left": 210.65,
"rotate": 90,
"attrs": { "value": "1000" }
},
{ "type": "wokwi-gnd", "id": "gnd1", "top": 96, "left": 210.6, "attrs": {} },
{
"type": "wokwi-text",
"id": "text16",
"top": -48,
"left": 595.2,
"attrs": { "text": "Adresses DCC" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn20",
"top": 122.6,
"left": 873.6,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn21",
"top": 74.6,
"left": 873.6,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn22",
"top": 218.6,
"left": 816,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn23",
"top": 170.6,
"left": 873.6,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn24",
"top": 218.6,
"left": 873.6,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn25",
"top": 74.6,
"left": 940.8,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-text",
"id": "text17",
"top": 201.6,
"left": 816,
"attrs": { "text": "V11" }
},
{
"type": "wokwi-text",
"id": "text18",
"top": 57.6,
"left": 940.8,
"attrs": { "text": "V31" }
},
{
"type": "wokwi-text",
"id": "text19",
"top": 57.6,
"left": 873.6,
"attrs": { "text": "V21" }
},
{
"type": "wokwi-text",
"id": "text20",
"top": 105.6,
"left": 873.6,
"attrs": { "text": "V22" }
},
{
"type": "wokwi-text",
"id": "text21",
"top": 153.6,
"left": 873.6,
"attrs": { "text": "V23" }
},
{
"type": "wokwi-text",
"id": "text22",
"top": 201.6,
"left": 873.6,
"attrs": { "text": "V24" }
},
{
"type": "wokwi-text",
"id": "text23",
"top": 28.8,
"left": 825.6,
"attrs": { "text": "Voies - Itinéraires" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn26",
"top": 26.6,
"left": 1008,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-text", "id": "text24", "top": 9.6, "left": 1008, "attrs": { "text": "V41" } },
{
"type": "wokwi-pushbutton",
"id": "btn27",
"top": 227,
"left": 288,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-text",
"id": "text25",
"top": 220.8,
"left": 192,
"attrs": { "text": "Validation\nItineraire" }
},
{
"type": "wokwi-pushbutton-6mm",
"id": "btn28",
"top": 74.6,
"left": 1008,
"attrs": { "color": "green", "xray": "1" }
},
{
"type": "wokwi-text",
"id": "text26",
"top": 57.6,
"left": 1008,
"attrs": { "text": "V42" }
},
{ "type": "wokwi-microsd-card", "id": "sd1", "top": 317.03, "left": 432.07, "attrs": {} },
{ "type": "wokwi-gnd", "id": "gnd3", "top": 374.4, "left": 537, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": 327.16, "left": 556.8, "attrs": {} },
{
"type": "wokwi-pushbutton",
"id": "btn29",
"top": 303.8,
"left": 105.6,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn30",
"top": 303.8,
"left": 201.6,
"attrs": { "color": "black", "xray": "1" }
},
{
"type": "wokwi-pushbutton",
"id": "btn31",
"top": 303.8,
"left": 288,
"attrs": { "color": "yellow", "xray": "1" }
},
{
"type": "wokwi-text",
"id": "text29",
"top": 374.4,
"left": 230.4,
"attrs": { "text": "OK" }
},
{
"type": "wokwi-text",
"id": "text30",
"top": 374.4,
"left": 96,
"attrs": { "text": "Bibli. Access. --" }
},
{
"type": "wokwi-text",
"id": "text27",
"top": 374.4,
"left": 278.4,
"attrs": { "text": "Bibli. Access. ++" }
}
],
"connections": [
[ "mega:20", "lcd2:SDA", "blue", [ "v-19.2", "h-324.4", "v-105.8" ] ],
[ "lcd2:SCL", "mega:21", "orange", [ "h-28.8", "v86.7", "h326.4", "v28.8" ] ],
[ "vcc1:VCC", "lcd2:VCC", "red", [ "v19.2" ] ],
[ "gnd2:GND", "lcd2:GND", "black", [ "v0" ] ],
[ "btn5:2.r", "btn2:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn2:2.r", "btn3:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn3:2.r", "btn4:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn4:2.r", "btn7:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn7:2.r", "btn8:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn8:2.r", "btn6:2.r", "gold", [ "h20", "v29.2" ] ],
[ "btn9:2.r", "btn6:2.r", "gold", [ "h20", "v-9.2" ] ],
[ "btn5:1.r", "btn10:1.l", "violet", [ "v0" ] ],
[ "btn2:1.r", "btn12:1.l", "violet", [ "v0" ] ],
[ "btn3:1.r", "btn13:1.l", "violet", [ "v0" ] ],
[ "btn4:1.r", "btn11:1.l", "violet", [ "v0" ] ],
[ "btn7:1.r", "btn14:1.l", "violet", [ "v0" ] ],
[ "btn8:1.r", "btn15:1.l", "violet", [ "v0" ] ],
[ "btn6:1.r", "btn16:1.l", "violet", [ "v0" ] ],
[ "btn9:1.r", "btn17:1.l", "violet", [ "v0" ] ],
[ "btn10:2.r", "btn12:2.r", "#8f4814", [ "h20", "v28.8" ] ],
[ "btn12:2.r", "btn13:2.r", "#8f4814", [ "h20", "v29.2" ] ],
[ "btn13:2.r", "btn11:2.r", "#8f4814", [ "h20", "v19.6" ] ],
[ "btn11:2.r", "btn14:2.r", "#8f4814", [ "h20", "v28.8" ] ],
[ "btn14:2.r", "btn15:2.r", "#8f4814", [ "h20", "v29.2" ] ],
[ "btn15:2.r", "btn16:2.r", "#8f4814", [ "h20", "v29.2" ] ],
[ "btn16:2.r", "btn17:2.r", "#8f4814", [ "h20", "v29.2" ] ],
[ "btn19:2.r", "btn18:2.r", "black", [ "h38.6", "v-86.4" ] ],
[ "btn19:1.l", "mega:A7", "white", [ "h-19.2", "v96", "h415.9" ] ],
[ "btn18:1.l", "mega:A6", "cyan", [ "h-28.8", "v192", "h412.8" ] ],
[ "sw1:2", "sw1:1", "black", [ "v0" ] ],
[ "mega:A5", "sw1:3", "white", [ "v-69.9", "h-99.25" ] ],
[ "r1:1", "mega:12", "white", [ "h48" ] ],
[ "r1:2", "led1:A", "white", [ "h0", "v18" ] ],
[ "gnd1:GND", "led1:C", "black", [ "v0" ] ],
[ "mega:GND.2", "sw1:2", "black", [ "v-31.5", "h2.15" ] ],
[ "btn21:2.r", "btn20:2.r", "blue", [ "h10.4", "v48" ] ],
[ "btn20:2.r", "btn23:2.r", "blue", [ "h10.4", "v48" ] ],
[ "btn23:2.r", "btn24:2.r", "blue", [ "h10.4", "v48" ] ],
[ "btn26:2.r", "btn28:2.r", "blue", [ "h20", "v48.4", "h-19.2" ] ],
[ "btn28:2.l", "btn25:2.r", "blue", [ "h0" ] ],
[ "btn25:2.r", "btn22:2.r", "blue", [ "h0.8", "v173.2", "h-115.2" ] ],
[ "btn24:1.l", "btn22:1.r", "green", [ "h-38.4" ] ],
[ "btn25:1.l", "btn23:1.r", "green", [ "h-9.6", "v96" ] ],
[ "btn28:1.l", "btn20:1.r", "green", [ "h-9.6", "v48" ] ],
[ "btn26:1.l", "btn21:1.r", "green", [ "h-38.4", "v28.8", "h-48", "v19.2" ] ],
[ "mega:A1", "btn27:2.r", "yellow", [ "v0" ] ],
[ "btn5:1.l", "mega:23", "violet", [ "h-9.6", "v18.1" ] ],
[ "mega:25", "btn2:1.l", "violet", [ "v0" ] ],
[ "btn3:1.l", "mega:27", "violet", [ "h-9.6", "v-20.25" ] ],
[ "btn4:1.l", "mega:29", "violet", [ "h-19.2", "v-39.55" ] ],
[ "btn7:1.l", "mega:31", "violet", [ "h-28.8", "v-57.6" ] ],
[ "mega:33", "btn8:1.l", "violet", [ "v1.1", "h35.8", "v76.8" ] ],
[ "btn6:1.l", "mega:35", "violet", [ "h-48", "v-96" ] ],
[ "btn9:1.l", "mega:37", "violet", [ "h-57.6", "v-115.2" ] ],
[ "mega:39", "btn4:2.l", "gold", [ "v1.15", "h55", "v9.6" ] ],
[ "btn14:2.l", "mega:41", "#8f4814", [ "h-19.2", "v-9.2", "h-124.8", "v-19.2" ] ],
[ "sd1:VCC", "vcc2:VCC", "red", [ "h0" ] ],
[ "gnd3:GND", "sd1:GND", "black", [ "v0" ] ],
[ "btn29:1.r", "btn30:1.l", "black", [ "v0" ] ],
[ "btn30:1.r", "btn31:1.l", "black", [ "v0", "h29" ] ],
[ "btn27:1.l", "btn30:1.r", "black", [ "h-9.6", "v105.6" ] ],
[ "mega:A4", "btn31:2.r", "magenta", [ "v0" ] ],
[ "mega:A3", "btn30:2.r", "magenta", [ "v170.1", "h-118.65" ] ],
[ "mega:A2", "btn29:2.r", "magenta", [ "v179.7", "h-204.9" ] ],
[ "mega:A0", "btn1:2.l", "magenta", [ "v-31.5", "h-12.9" ] ],
[ "btn1:1.l", "sw1:2", "black", [ "h0" ] ],
[ "btn1:1.l", "btn18:2.r", "black", [ "h-201.6", "v-19.2" ] ],
[ "btn21:2.r", "mega:24", "blue", [ "h10.4", "v-143.6", "h-412.8", "v75.85" ] ],
[ "btn26:2.r", "mega:22", "blue", [ "h20", "v-105.2", "h-547.2" ] ],
[ "btn20:1.l", "mega:28", "green", [ "h-96", "v124.8", "h-288", "v-201.6" ] ],
[ "btn23:1.l", "mega:30", "green", [ "h-86.4", "v86.4", "h-307.2", "v-201.6" ] ],
[ "btn22:1.l", "mega:32", "green", [ "h-19.2", "v48", "h-326.4", "v-201.6" ] ],
[ "btn21:1.l", "mega:26", "green", [ "h-105.6", "v163.2", "h-268.8", "v-201.6", "h11.8" ] ],
[ "mega:GND.2", "btn27:1.l", "black", [ "v16.5", "h-45.85", "v115.2" ] ],
[ "mega:50", "sd1:DO", "yellow", [ "v1", "h-50.2", "v144" ] ],
[ "mega:52", "sd1:SCK", "yellow", [ "v1.1", "h-59.8", "v192" ] ],
[ "mega:51", "sd1:DI", "yellow", [ "v1", "h7", "v220.8" ] ],
[ "sd1:CS", "mega:53", "yellow", [ "h9.6", "v0.06" ] ]
],
"dependencies": {}
}TCO XpressNet
Démo avec boutons poussoir
Arrêt
Urgence
10
11
21
22
23
24
31
32
13
14
12-1
12-0
Test Souris
Adresses DCC
V11
V31
V21
V22
V23
V24
Voies - Itinéraires
V41
Validation
Itineraire
V42
OK
Bibli. Access. --
Bibli. Access. ++