Embedarium by SDD Labs
English Türkçe

Circuit design and analysis

Students and participantsInstructors and assistants

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.

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.

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. Projects in the Circuit Design module are for analysis and PCB.

Circuit projects#

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

The Circuit Projects page
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#

  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
New circuit project: name, starting schematic, board size and number of layers.

The schematic editor#

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
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#

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).

GroupParts
Microcontrollers8051, 8052, MS51PC0AE, ADuC841, ATmega328P, ATmega2560, ATtiny85, Cortex-M0+, PIC16F877A
Basic componentsLED, 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)
SemiconductorsNPN and PNP transistors, N- and P-channel MOSFETs, IGBT, operational amplifier
ElectromechanicalRelay, DC motor
Display and input7-segment display, DIP switch, buzzer, 4×4 keypad, 16×2 LCD
Memory and sensors24LC256 I²C EEPROM, 25LC256 SPI EEPROM, TMP102 temperature sensor
InstrumentsOscilloscope 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#

  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#

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#

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
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)#

KeysAction
Ctrl / ⌘ + +Zoom in
Ctrl / ⌘ + −Zoom out
Ctrl / ⌘ + 0Fit to the visible area
HomeCenter the circuit canvas
FCenter and zoom to the selection
Ctrl / ⌘ + ASelect all
Ctrl / ⌘ + C, VCopy and paste the selection
Ctrl / ⌘ + ZUndo
Ctrl / ⌘ + Shift+Z or YRedo
TabReach the parts one by one; the part with focus is selected
← ↑ → ↓Move the selected part one grid step; with Shift, five steps
RRotate the selected components by 90°
Delete / BackspaceDelete the selection
EscCancel 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#

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
The Analysis tab: electrical rules (0 errors, 0 warnings, 3 notes) and the four analysis types.

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:

AnalysisWhat it givesSettings
Operating pointAll node voltages and component currents (DC solution)—
DC sweepVoltages and currents while a source's value changesSwept source, start, stop, step
TransientBehavior over time: RC charging, oscillation, pulse responseTime step, duration, initial conditions (UIC)
AC (frequency)Small-signal frequency response: gain (dB) and phaseSweep 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
The operating point of a voltage divider: node voltages (5 V, 2.5 V) and component currents.
A transient analysis result
Transient analysis of an RC low-pass filter: input (red) and output (blue) voltages.
AC analysis: frequency response
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#

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
Sharing: the member's email, the role and the Shared with list.

Revision 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
The history panel: revisions and restoring.

Last updated:

Could not find what you need? Write to support — tell us the screen and what you expected to happen.