// setup
Getting Started
Follow these steps to simulate your first Arduino sketch.
Option 1: Use the Hosted Version
No installation needed, go to https://velxio.dev and start coding immediately.
Option 2: Self-Host with Docker
Run a single Docker command to start a fully local instance:
docker run -d \
--name velxio \
-p 127.0.0.1:3080:80 \
ghcr.io/davidmonterocrespo24/velxio:masterThen open http://localhost:3080 in your browser.
Option 3: Manual Setup (Development)
Prerequisites: Node.js 24+ (Corepack), Rust (Cargo), arduino-cli
1. Clone the repository
git clone https://github.com/davidmonterocrespo24/velxio.git
cd velxio2. Start the backend
cargo build --locked -p eidolon-esp32-worker
cargo run --locked -p eidolon-server -- --port 80013. Start the frontend in a second terminal at the repository root
corepack enable
pnpm install --frozen-lockfile
pnpm --filter @eidolon/web run devOpen http://localhost:5173.
4. Set up arduino-cli (first time)
arduino-cli core update-index
arduino-cli core install arduino:avr
# For Raspberry Pi Pico support:
arduino-cli config add board_manager.additional_urls \
https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
arduino-cli core install rp2040:rp2040Your First Simulation
- Open the editor at velxio.dev/editor.
- Select a board from the toolbar (e.g., Arduino Uno).
- Write Arduino code in the Monaco editor, for example:
1void setup() {
2 pinMode(13, OUTPUT);
3}
4
5void loop() {
6 digitalWrite(13, HIGH);
7 delay(500);
8 digitalWrite(13, LOW);
9 delay(500);
10}- Click Compile: the backend calls
arduino-cliand returns a.hexfile. - Click Run: the AVR8 emulator executes the compiled program.
- Add components using the component picker (click the + button on the canvas).
- Connect wires by clicking a component pin and then another pin.
Troubleshooting
| Problem | Solution |
|---|---|
arduino-cli: command not found | Install arduino-cli and add it to your PATH. |
| LED doesn't blink | Check the browser console for port listener errors; verify pin assignment in the component property dialog. |
| Serial Monitor is empty | Ensure Serial.begin() is called inside setup() before any Serial.print(). |
| Compilation errors | Check the compilation console at the bottom of the editor for full arduino-cli output. |