MCU Simulator Robotic and Embedded System Laboratory
← Open the simulator
Documentation

The Diagram

Drawing the circuit on the wiring canvas: moving, turning, wiring, removing, looks and export.

The Diagram tab draws the board with its pin headers, every part as a module, and coloured wires between them, like a picture of your breadboard. It is another view of the parts list: rewiring here changes exactly what the pin dropdowns change.

Moving around and arranging

  • Drag the background to pan; the mouse wheel or − / + zooms; Fit shows everything.
  • Drag a part to move it; parts cannot overlap each other or the board. Tidy arranges them all again.
  • Hover a part for its buttons: ⟳ turns it a quarter, the copy button duplicates it (wired like a new part: free pins with Auto-wire, unconnected with Manual wiring), ✕ removes it. Select a part and press Delete to remove it too.
  • The ⟳ at the top-right corner of the board turns the board.
  • Click a part to show its card in the parts list; the Schematic selects it as well.

Wiring

  • Drag from a part's pin dot to a board pin (or from a board pin to a part's pin). While you drag, the pins that may take it turn green and the others red, with the reason when you hover them.
  • To disconnect, drag the pin to Drop here to disconnect, or click the wire (it is highlighted) and press ✕ or Delete.
  • Power wires are red (VCC) and grey (GND); Power wires hides them to make the signal wires easier to follow.
  • Orthogonal wires run only horizontally and vertically, each in its own lane, ordered to cross as little as possible; Curved wires is the older style.

Classic and realistic look

Classic look draws the board and parts as simple blocks. Realistic look draws them like the real modules: PCB colours, pin headers, displays behind their glass. Buttons, switches, the encoder, keypad keys, PIR and other inputs can be clicked on the drawing in both looks. Positions and wiring are the same in both.

While the sketch runs

Board pins and parts show what the sketch does: LEDs and RGB LEDs light up, relays switch, servos and steppers turn, motors spin, displays show their picture, and sensor values are written on the parts.

Undo, redo and export

  • ↶ / ↷ or Ctrl+Z / Ctrl+Y: undo and redo any change of the circuit (shared with the Schematic).
  • Export…: download the Diagram as SVG, PNG, JPEG or PDF, as it looks now (look, light or dark mode, display contents). PNG and JPEG are drawn at three times the screen size; the PDF holds that picture.