# Circuit design and analysis

> Creating a circuit project and drawing a schematic — adding parts, wiring, net labels, part values; electrical rule checks, SPICE analysis (operating point, DC sweep, transient, AC), sharing and revision history.

Source: https://embedarium.com/guide/circuit-design · Last updated: 2026-11-14


The **Circuit Design** module covers the whole flow from schematic to manufacturing files: you draw the schematic, calculate the circuit's behavior with SPICE analysis, place and route the printed circuit board (PCB) and download the manufacturing files. This page covers the schematic and analysis; for the board, see [PCB design](https://embedarium.com/guide/pcb-design).

> [!note]
> The circuit inside a microcontroller project (LEDs, buttons, LCD) is drawn in the **Circuit** view of the simulation workspace and is live while the program runs; see [Code and circuit together](https://embedarium.com/guide/debugging#with-circuit). Projects in the Circuit Design module are for analysis and PCB.

## Circuit projects {#projects}

Select **Circuit Design** in the sidebar. The **Circuit Projects** page lists your projects as cards.

![The Circuit Projects page](https://embedarium.com/assets/images/guide/en/cd-list.webp "Circuit projects. The Only my projects filter, and the Trash tab for deleted projects.")

- **Only my projects** hides projects shared with you in your organization and shows only your own.
- Projects you delete go to the **Trash** tab; you can restore them from there.

### A new circuit project {#new-project}

1. Select **New project**.
2. Type the **project name** and, optionally, a description.
3. Choose how to start:
   - **Empty schematic (add the microcontroller from the palette):** you start with an empty schematic; drag the processor and the other parts in from the palette.
   - **Schematic from simulation:** the circuit you drew in a simulation project becomes this project's schematic — for example, to draw the board for a circuit you ran and tried out.
   - **From a file:** choose a project file (JSON) you exported earlier; the name, description and board size are filled in from the file.
4. Set the board **width**, **height** (mm) and number of **layers** (2 or 4). You can change these later.
5. Select **Create project**.

![The new circuit project dialog](https://embedarium.com/assets/images/guide/en/cd-new-dialog.webp "New circuit project: name, starting schematic, board size and number of layers.")

## The schematic editor {#schematic}

When you open a project, the **Schematic** tab opens. Use the tabs at the top to switch between **Analysis**, **Board (PCB)**, **3D** and **Export**.

![The schematic editor with numbered parts](https://embedarium.com/assets/images/guide/en/cd-schematic.webp "The schematic editor: ① tabs, ② component palette, ③ net labels and connections, ④ canvas tools, ⑤ save, share and history.")

1. **Tabs:** Schematic, Analysis, Board (PCB), 3D, Export.
2. **Component palette:** Microcontrollers, Basic components, Power and reference, Semiconductors, Electromechanical, Display and input, Memory and sensors, and Instruments.
3. **Net labels and Connections:** connect terminals by name; every wire in the schematic appears in the list and can be deleted from there.
4. **Canvas tools:** undo, redo, add note, zoom in, zoom out, fit, center and the minimap.
5. **Save, Share, History:** changes are saved automatically; **Saved** in the header shows this.

### Adding parts {#adding-parts}

**Drag** a part from the palette onto the canvas, or **click** it (a clicked part is placed in a free spot in the visible area of the canvas).

| Group | Parts |
| --- | --- |
| Microcontrollers | 8051, 8052, MS51PC0AE, ADuC841, ATmega328P, ATmega2560, ATtiny85, Cortex-M0+, PIC16F877A |
| Basic components | LED, diode, Zener diode, resistor, push button, capacitor, inductor, potentiometer, crystal, pin header |
| Power and reference | +5V, +3V3, GND, DC source, AC source (sine, square, triangle) |
| Semiconductors | NPN and PNP transistors, N- and P-channel MOSFETs, IGBT, operational amplifier |
| Electromechanical | Relay, DC motor |
| Display and input | 7-segment display, DIP switch, buzzer, 4×4 keypad, 16×2 LCD |
| Memory and sensors | 24LC256 I²C EEPROM, 25LC256 SPI EEPROM, TMP102 temperature sensor |
| Instruments | Oscilloscope probe |

A schematic can have only **one microcontroller**; to add a different one, delete the existing one first. The microcontroller's pin names come from the target's processor pack.

With a part selected, [[R]] rotates it by 90° and [[Delete]] deletes it. Drag a part to move it.

You can also move a part without dragging:

- **From the keyboard:** press [[Tab]] until the part is selected, then move it with the arrow keys — one grid step at a time, five with [[Shift]].
- **With two clicks:** click the four-arrow handle at the part's corner, then click where it should go on the canvas. [[Esc]] cancels.

### Drawing wires {#wiring}

1. **Click a terminal** of a part; the wire starts.
2. **Click empty space** wherever you want a corner.
3. **Click the target terminal**; the wire ends.

While drawing, [[Esc]] cancels the wire. You can change a wire's route by dragging it.

### Connecting with net labels {#net-labels}

To connect two distant terminals without drawing a wire, use a net label: click a terminal on the canvas, then type a name in the **Net labels** panel (for example `VCC_SENSOR`). All terminals with the same name are connected as if wired.

### Changing part values {#part-settings}

Click a part; the **Component settings** panel opens on the right. Change values such as resistance, capacitance, source voltage and frequency here, together with their units.

![Component settings of the selected resistor](https://embedarium.com/assets/images/guide/en/cd-part-settings.webp "R1 selected: the resistor's value and unit in the Component settings panel.")

> [!tip]
> To write a comment on the canvas, use **Add note** in the tools at the bottom; notes also appear in the schematic's SVG output.

### Keyboard shortcuts (with the canvas focused) {#shortcuts}

| Keys | Action |
| --- | --- |
| [[Ctrl]] / [[⌘]] + [[+]] | Zoom in |
| [[Ctrl]] / [[⌘]] + [[−]] | Zoom out |
| [[Ctrl]] / [[⌘]] + [[0]] | Fit to the visible area |
| [[Home]] | Center the circuit canvas |
| [[F]] | Center and zoom to the selection |
| [[Ctrl]] / [[⌘]] + [[A]] | Select all |
| [[Ctrl]] / [[⌘]] + [[C]], [[V]] | Copy and paste the selection |
| [[Ctrl]] / [[⌘]] + [[Z]] | Undo |
| [[Ctrl]] / [[⌘]] + [[Shift+Z]] or [[Y]] | Redo |
| [[Tab]] | Reach the parts one by one; the part with focus is selected |
| [[←]] [[↑]] [[→]] [[↓]] | Move the selected part one grid step; with [[Shift]], five steps |
| [[R]] | Rotate the selected components by 90° |
| [[Delete]] / [[Backspace]] | Delete the selection |
| [[Esc]] | Cancel wiring, dragging or a two-click move |

The full list of shortcuts is in the app's **Help center**. Canvas shortcuts don't work while a text field has focus.

## Electrical rules {#electrical-rules}

The result of the **Electrical rules** check (ERC) sits at the top of the **Analysis** tab: the number of errors, warnings and notes, and a description of each finding. For example, if an 8051's crystal or reset pins are left unconnected, this is reported as a note: it doesn't matter in simulation, but a real board needs those connections.

![Electrical rules and analysis types](https://embedarium.com/assets/images/guide/en/cd-erc.webp "The Analysis tab: electrical rules (0 errors, 0 warnings, 3 notes) and the four analysis types.")

## SPICE analysis {#spice-analysis}

Embedarium calculates your circuit with its own SPICE solver on the server. On the **Analysis** tab, choose the type and select **Run analysis**:

| Analysis | What it gives | Settings |
| --- | --- | --- |
| Operating point | All node voltages and component currents (DC solution) | — |
| DC sweep | Voltages and currents while a source's value changes | Swept source, start, stop, step |
| Transient | Behavior over time: RC charging, oscillation, pulse response | Time step, duration, initial conditions (UIC) |
| AC (frequency) | Small-signal frequency response: gain (dB) and phase | Sweep type (e.g. decade), number of points, start and stop frequency |

You can enter values in SPICE notation: `20u` = 20 µs, `5m` = 5 ms, `1k` = 1000, `1meg` = 10⁶ (`m` means milli).

If the schematic has a microcontroller, push buttons or relays, choose the level of the microcontroller pins and the state of buttons and relays during the analysis in the **Conditions** section.

![An operating point result](https://embedarium.com/assets/images/guide/en/cd-op.webp "The operating point of a voltage divider: node voltages (5 V, 2.5 V) and component currents.")

![A transient analysis result](https://embedarium.com/assets/images/guide/en/cd-transient.webp "Transient analysis of an RC low-pass filter: input (red) and output (blue) voltages.")

![AC analysis: frequency response](https://embedarium.com/assets/images/guide/en/cd-ac.webp "The same filter's frequency response: the output falls after the cut-off frequency.")

- To read a value on the chart, move the pointer over the curve; clicking a name in the legend hides that series.
- Download each result as a table with **Download CSV**.
- The **SPICE netlist** section shows the netlist of the circuit analyzed.

## Sharing {#sharing}

Use the **Share** button to share the project with active members of your organization:

- A **Viewer** sees and exports the project but can't change it.
- An **Editor** saves and routes the board.

Type the member's email address, choose the role and select **Share**. In the **Shared with** list you can change the role or remove the share.

![The share dialog](https://embedarium.com/assets/images/guide/en/cd-share.webp "Sharing: the member's email, the role and the Shared with list.")

## Revision history {#history}

The **History** button lists the project's revisions. You can inspect and restore an earlier revision; restoring doesn't delete the history, it writes that content as a new revision.

![The circuit project's history](https://embedarium.com/assets/images/guide/en/cd-history.webp "The history panel: revisions and restoring.")
