# Simulation projects

> Creating a microcontroller project — choosing the target processor, language and starting template; copying from the example gallery, categories, the archive, exporting and importing a project, and going back to an earlier version from the revision history.

Source: https://embedarium.com/guide/simulation-projects · Last updated: 2026-11-14


In the Simulation module every piece of work is a **project**: your source files, the target processor you chose, the build settings and (if there is one) the project's circuit are kept together. Projects are stored on the server, so you can carry on from any computer.

## Where are my projects? {#project-list}

Select **Simulation** in the sidebar. The **Simulation projects** page opens.

![The Simulation projects page](https://embedarium.com/assets/images/guide/en/sp-list.webp "The projects page: categories on the left, the Active and Archived tabs at the top, Import, Example projects and New project at the top right.")

- **Active / Archived:** the projects you're working on are on the Active tab; projects you archive move to the Archived tab.
- **Categories:** projects are grouped into categories (for example "Laboratuvar"). Categories are created by the unit's instructors, assistants, engineers or administrators; you put your project in one with **Move to category** in the row's ⋮ menu. Projects without a category are listed under **Uncategorized**.
- To open a project, select its name or the **Open** button; the workspace opens (see [Writing and building code](https://embedarium.com/guide/code-and-build)).

The **⋮** menu at the right of each row has these actions:

| Action | What it does |
| --- | --- |
| Export | Downloads the project as a `.circuit-sim.json` file (sources, settings, circuit). |
| Copy | Creates a copy of the project. |
| Edit | Changes the name and description. |
| Move to category | Puts the project in another category. |
| Archive | Moves the project to the Archived tab. Archiving is not deleting: content and history are preserved, and you can restore the project from the Archived tab. |
| Build for release (Build & Analysis) | Builds and analyzes the project on the server for real hardware (if your license includes Build & Analysis; see [Build & Analysis](https://embedarium.com/guide/code-and-build#build-and-analysis)). |

## How do I create a new project? {#new-project}

1. On the **Simulation projects** page, select **New project**.
2. Type the **Project name**; optionally add a description and choose a category.
3. Choose the **Target processor**. Only active processor packs assigned to your license are listed.
4. Choose the **Language** (Assembly or C, depending on the target).
5. Choose a **Starting template**:
   - **LED pattern** — writes a running pattern to a port; you watch it on the eight LEDs of the ready-made circuit.
   - **Write to serial** — sends text over the UART; it appears in the serial terminal.
   - **Timer interrupt** — produces a regular interrupt with a timer; you watch it on the Peripherals tab.
   - **Blank** — only an entry point and a main loop; you write the rest.
6. Select **Create**. The project is created and the workspace opens.

![The new simulation project dialog](https://embedarium.com/assets/images/guide/en/sp-new-dialog.webp "The new project dialog: name, category, target processor, language and starting template.")

> [!tip]
> If you're just starting, choose the **LED pattern** template and select **Run** in the workspace straight away: the program is built and the LEDs light up one after another.

### Which language for which processor? {#languages}

| Target processor | Languages | Where it is built |
| --- | --- | --- |
| Generic 8051, Generic 8052, Nuvoton MS51PC0AE, Analog Devices ADuC841 | Assembly, C | In the browser: the built-in assembler or SDCC 4.6 (C). Optionally with SDCC on the server. |
| Microchip ATmega328P, ATmega2560, ATtiny85 | C | On the server (avr-gcc) |
| Arm Cortex-M0+ | C | On the server (arm-none-eabi-gcc) |
| Microchip PIC16F877A | C, Assembly | On the server (SDCC pic14 and gputils) |

The first C build for the 8051 family downloads a compiler of about 4.8 MB into the browser once; later builds are fast.

> [!note]
> Each project is **locked to the processor pack version** it was created with (header files, peripheral model). Pack versions published later don't change your existing project, so an update in the middle of term won't break your assignment.

## Starting from an example project {#examples}

The **Microcontroller examples** gallery has 91 examples for all nine target processors, each verified while running: writing and reading ports, 7-segment displays, DIP switches, timers, interrupts, serial communication and analog peripherals. Examples labelled **Circuit included** come with a ready-made circuit. Open the gallery with the **Example projects** button on the projects page or from the start wizard.

![The Microcontroller examples gallery](https://embedarium.com/assets/images/guide/en/sp-examples.webp "The example gallery. Next to the search box you can filter by target processor, peripheral, language and difficulty.")

Select **View example** on an example to open its detail page: a description, the source code, the **expected register timeline** verified while the example runs, and the license notice.

- **Copy to my private project** copies the example into your account as a project you can edit; the example itself doesn't change.
- **Download ZIP** downloads the source files.

![An example's detail page](https://embedarium.com/assets/images/guide/en/sp-example-detail.webp "An example's detail: the source code and the register timeline verified while running.")

## Exporting and importing a project {#export-import}

- **Export** (in the row's ⋮ menu) downloads the project as a single `.circuit-sim.json` file.
- **Import** (top right of the page) creates a new project from such a file. This is how you bring a project a classmate or your instructor shared into your own account.

## Revision history: going back to an earlier version {#revision-history}

Every save creates a **revision**. In the workspace, the **Toggle revision history** button at the top right opens the history panel.

![The revision history panel](https://embedarium.com/assets/images/guide/en/sp-history.webp "The history panel: revisions, their notes and build records.")

- If you type what changed in **Note for the next save**, the note is attached to the revision created by your next save.
- The panel shows each revision's date and author, as well as build records (successful or failed, with the number of errors and warnings).
- To go back to an earlier revision, choose **Restore** on it. The history isn't deleted; that content is written as a **new revision**. You can bring back a file you deleted the same way.

## Opening someone else's project {#read-only}

If you're allowed to see a project that belongs to someone else (for example as an instructor or administrator), it opens **read-only**: you can run and inspect it, but changes aren't saved. To edit it, select **Copy and edit** among the workspace's commands: a copy is made in your own account and opens.

## How do I submit my project to an assignment? {#submit-to-assignment}

The **Submit to assignment** button on the workspace toolbar hands in the project's saved files to the open assignment you choose. For details: [My courses and assignments](https://embedarium.com/guide/courses-for-participants#submitting).
