{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "wokwi-breadboard-mini",
"id": "bb1",
"top": 263.7,
"left": 302.5,
"rotate": 270,
"attrs": {}
},
{
"type": "board-st-nucleo-c031c6",
"id": "nucleo",
"top": -37.57,
"left": -48.98,
"attrs": {}
},
{
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 275,
"left": -163.2,
"attrs": { "color": "red", "xray": "1" }
},
{ "type": "chip-spi-sim", "id": "chip1", "top": 49.02, "left": 283.2, "attrs": {} },
{
"type": "wokwi-text",
"id": "text1",
"top": 336,
"left": 57.6,
"attrs": { "text": "Connections:\nSCK: PA5 (D13)\nMISO: PA6 (D12)\nMOSI: PA7 (D11)\nCS: PB6 (D1)" }
}
],
"connections": [
[ "$serialMonitor:TX", "nucleo:PA3", "", [] ],
[ "$serialMonitor:RX", "nucleo:PA2", "", [] ],
[ "btn1:1.r", "nucleo:GND.6", "green", [ "v0" ] ],
[ "btn1:2.r", "nucleo:PA8", "green", [ "h374.6", "v-115" ] ],
[ "chip1:SCK", "nucleo:PA5", "orange", [ "h-48", "v76.8" ] ],
[ "nucleo:PA7", "chip1:MOSI", "purple", [ "h54.95", "v-86.4" ] ],
[ "nucleo:PA6", "chip1:MISO", "cyan", [ "h64.55", "v-67.2" ] ],
[ "nucleo:5V.2", "bb1:17t.a", "red", [ "v48", "h346.05" ] ],
[ "chip1:VCC", "bb1:17t.e", "red", [ "h-17.39", "v182.4" ] ],
[ "nucleo:GND.5", "bb1:16b.f", "black", [ "h0" ] ],
[ "chip1:GND", "bb1:16b.j", "black", [ "h0" ] ],
[ "chip1:CS", "nucleo:PB6", "blue", [ "v153.6", "h-197.14" ] ]
],
"dependencies": {}
}Connections:
SCK: PA5 (D13)
MISO: PA6 (D12)
MOSI: PA7 (D11)
CS: PB6 (D1)