Velxio 2.0: Advanced Features Transform Embedded Firmware Development
New Features in Velxio 2.0: Beyond Initial Release
Velxio 2.0 has rapidly matured since its initial launch, introducing a host of feature improvements and expanded hardware support that distinctly set it apart from its predecessor. While the original Velxio introduced browser-based emulation for Arduino, ESP32, and Raspberry Pi 3, the 2.0 iteration enhances this foundation with real-time SPICE analog circuit co-simulation, more precise CPU emulation cores, and support for 19 different development boards spanning five CPU architectures.
One of the most significant advancements is the integration of a hybrid digital-analog simulation environment powered by ngspice compiled to WebAssembly. This allows developers to simulate not only firmware executing on microcontrollers but also the underlying analog electronics that interact with digital logic. This breakthrough is important for accurate testing of mixed-signal embedded systems, such as motor drivers, sensor interfaces, and power management circuits.
Velxio 2.0 also adds enhanced support for custom chip development through Wokwi Custom Chips API compatibility, enabling embedded developers to author and reuse integrated circuits in C, Rust, or AssemblyScript. This modularity encourages efficient reuse and collaborative development across projects.
Additionally, the platform deepens its debugging capabilities with a fully featured serial monitor supporting auto baud-rate detection, live oscilloscope, waveform visualizations, and a multi-file workspace with syntax highlighting for C++, Python, and MicroPython. The platform now also supports multi-board canvases, enabling users to mix and simulate Arduino, ESP32, Raspberry Pi, and analog circuits simultaneously within a single browser session.
These enhancements make Velxio 2.0 an indispensable tool for embedded developers who require a comprehensive, zero-install environment that mimics real hardware and electronics behavior without delays and costs associated with physical components.
Deep Technical Insights into WebAssembly Emulation Layer
At the core of Velxio 2.0 lies a sophisticated WebAssembly (Wasm) emulation layer designed for near cycle-accurate firmware execution across multiple CPU architectures. Unlike simple instruction interpreters, Velxio implements fully compiled WebAssembly CPU cores tailored for each microcontroller family:
- AVR8 (Arduino Uno, Nano, Mega, ATtiny85): Emulated via
avr8js, providing faithful opcode execution at 16 MHz clock rate, including timers, ADC, PWM, USART, SPI, and I2C peripherals. - RP2040 (Raspberry Pi Pico and Pico W): ARM Cortex-M0+ dual-core emulation via
rp2040js, simulating core instructions, timers, and memory-mapped peripherals. - ESP32 (Xtensa LX6/LX7): Executed using QEMU compiled to WebAssembly, supporting Wi-Fi and Bluetooth stacks and multi-core synchronization.
- RISC-V (ESP32-C3, CH32V003): Browser-native RISC-V emulation with peripheral hooks for GPIO, ADC, and timers.
- Raspberry Pi 3B (ARM Cortex-A53): Full Linux environment emulated via QEMU, running Python scripts and GPIO control libraries.
Each CPU core runs as a WebAssembly module sandboxed within the browser, with firmware binaries loaded dynamically after compilation. The instruction set simulation covers all critical opcodes and peripheral registers, enabling execution of unmodified production firmware. This approach allows Velxio to run complex firmware stacks that include interrupt handlers, multi-threading (where supported), and low-level hardware access.
However, browser constraints introduce timing variances primarily due to the event-driven JavaScript runtime and scheduling delays. For example, interrupt-driven code that relies on microsecond precision may experience jitter, and high-frequency SPI or PWM signals can deviate slightly from real hardware timing. Despite this, Velxio offers adjustable simulation speeds and detailed timing reports to help developers understand and compensate for these differences.
Velxio uniquely integrates real-time SPICE analog simulation (via ngspice-WASM), running Modified Nodal Analysis at roughly 60 Hz. This allows analog components such as resistors, capacitors, BJTs, and op-amps to be accurately modeled and interact with digital GPIO pins. The firmware’s analogRead() calls receive real SPICE-calculated voltages, enabling end-to-end testing of analog sensor chains and power circuits within the same simulation environment.
Real-World Examples and Debugging Experience
Velxio 2.0’s browser interface offers an integrated development and debugging environment that supports live coding, uploading, and serial output monitoring. Below are practical code examples showing typical workflows and expected outputs.
Example 1: Arduino LED Blink
Note: The following code is an illustrative example and has not been verified against official documentation. Please refer to the official docs for production-ready code.
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(500);
digitalWrite(13, LOW);
delay(500);
}
This sketch compiles instantly in-browser using the integrated arduino-cli backend. Velxio emulates the ATmega328p CPU cycle-accurately, toggling GPIO pin 13 connected to a visual LED component. The serial monitor reflects pin state, supporting real-time troubleshooting.
Example 2: ESP32 MicroPython Serial Debug
Note: The following code is an illustrative example and has not been verified against official documentation. Please refer to the official docs for production-ready code.
import machine
import time
led = machine.Pin(2, machine.Pin.OUT)
for i in range(10):
led.value(not led.value())
print("LED toggled:", led.value())
time.sleep(0.5)
Velxio runs the ESP32 MicroPython interpreter within a WebAssembly QEMU instance, exposing the device’s serial interface to the browser terminal. Developers can interactively debug firmware outputs without any physical device.
Example 3: Raspberry Pi 3 Python GPIO
Note: The following code is an illustrative example and has not been verified against official documentation. Please refer to the official docs for production-ready code.
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(18, GPIO.OUT)
for i in range(5):
GPIO.output(18, GPIO.HIGH)
time.sleep(0.5)
GPIO.output(18, GPIO.LOW)
time.sleep(0.5)
GPIO.cleanup()
This example shows Velxio’s ability to run a full Linux environment with GPIO control, supporting complex embedded applications needing OS-level features.
The debugging UI provides multi-pane views including:
- Serial monitor with auto baud detection and send capability
- Waveform viewer for GPIO, PWM, and SPI signals
- Interactive code editor with syntax highlighting and multi-file support
- Visual representation of connected sensors, displays, and analog components
Velxio vs Wokwi: A Comparative Analysis
Velxio and Wokwi both offer browser-based embedded simulation but target different use cases and user bases. Below is a detailed comparison highlighting where each excels:
| Feature | Velxio 2.0 | Wokwi |
|---|---|---|
| Hardware Support | 19 boards including Arduino, ESP32 (multiple variants), Raspberry Pi 3, RP2040, RISC-V chips | Primarily Arduino, ESP32, STM32, Raspberry Pi Pico |
| Emulation Fidelity | Cycle-accurate CPU emulation, real-time SPICE analog simulation, full Linux on Raspberry Pi 3 | Strong peripheral simulation, less emphasis on full CPU opcode cycle accuracy |
| Analog Co-Simulation | Integrated ngspice-WASM analog simulation with 100+ real device models | Not measured |
| Debugging Tools | Advanced serial monitor, waveform viewer, multi-file IDE, custom chip API | Basic serial monitor, drag-and-drop component UI |
| CI/CD Integration | Headless API for automated testing in CI pipelines | Not measured |
| Pricing | Freemium with paid tiers starting at $10/month | Free |
| Best Use Cases | Professional embedded development, mixed-signal simulation, education, automated testing | Quick prototyping, hobbyist projects, beginner education |
Velxio’s real strength lies in its high-fidelity emulation and analog co-simulation, making it suitable for industrial-grade firmware validation and complex hardware/software integration testing. Wokwi offers a faster, more user-friendly interface but with reduced timing accuracy and no analog circuit simulation, focusing on rapid prototyping and educational use.
If you’re interested in how continuous integration is shaping embedded workflows, see CI/CD Pipelines in 2026: Trends, Challenges, and Opportunities.
CI/CD Integration for Embedded Firmware Testing
Velxio 2.0 supports headless operation through its API, enabling integration with CI/CD pipelines such as GitHub Actions. This capability allows embedded developers and teams to automate firmware testing without physical hardware, significantly accelerating development cycles and reducing cost.
Note: The following code is an illustrative example and has not been verified against official documentation. Please refer to the official docs for production-ready code.
# Example GitHub Actions snippet for Velxio headless testing
jobs:
firmware-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install arduino-cli
- name: Compile Firmware
run: arduino-cli compile --fqbn arduino:avr:uno ./sketch
- name: Run Firmware Tests in Velxio
run: |
curl -X POST https://api.velxio.dev/headless/run \
-d @firmware.bin \
-H "Content-Type: app/octet-stream" \
-o results.json
- name: Evaluate Test Results
run: |
cat results.json | grep "test_passed" || exit 1
This automation facilitates continuous verification of firmware correctness, peripheral behavior, and integration logic, all within a virtual environment. Teams can catch regressions, validate cross-platform compatibility, and ensure code quality before deploying to physical devices.
If you want to see how AI-driven workflows are reshaping engineering, check out How Agentic AI is Transforming Engineering Workflows.
Pricing Tiers and Chip Shortage Impact on Development Teams
Velxio 2.0 offers a freemium pricing model designed to suit a broad range of users:
- Free Tier: Provides up to 10 hours per month of multi-board emulation, ideal for individual learners and hobbyists experimenting with embedded development.
- Pro Tier ($10/month): Unlimited project runs, advanced collaboration tools, CI/CD API access, and priority support for small teams and startups.
- Enterprise Tier: Custom pricing and dedicated infrastructure for organizations requiring enhanced security, performance, and compliance.
Given ongoing global chip shortage and supply chain disruptions, Velxio’s browser-based emulation offers practical relief. Teams facing hardware procurement delays or inflated component costs can maintain development momentum by relying on virtual prototypes. This reduces time-to-market, cuts hardware wastage, and enables effective remote collaboration during critical phases.
In summary, Velxio 2.0 equips embedded developers with a powerful, versatile, and accessible platform for firmware development, testing, and simulation, addressing both technical challenges of modern embedded systems and practical realities of hardware shortages.
For more details, visit the official Velxio website.
Key Takeaways:
- Velxio 2.0 delivers real-time analog co-simulation and high-fidelity multi-architecture CPU emulation in-browser.
- It supports complex embedded workflows from Arduino to full Linux on Raspberry Pi 3.
- Compared to Wokwi, Velxio excels in analog simulation, debugging tools, and CI/CD integration.
- WebAssembly emulation handles compiled firmware accurately but timing precision is affected by browser runtime limitations.
- Automated testing with Velxio’s headless API accelerates CI/CD pipelines and reduces reliance on physical hardware.
- The freemium pricing model makes Velxio accessible for learners while scaling for professional teams.
- Velxio mitigates chip shortage challenges by enabling virtual prototyping and remote collaboration.
Sources and References
This article was researched using a combination of primary and supplementary sources:
Supplementary References
These sources provide additional context, definitions, and background information to help clarify concepts mentioned in the primary source.
- Velxio 2.0 — Multi-Board Embedded Simulator | ESP32, Raspberry Pi …
- GitHub – davidmonterocrespo24/velxio: Emulate Arduino, ESP32 …
- What is the Velxio simulator and how does it work?
- Velxio Brings Multi-Board Embedded Emulation Directly to Browser
- Wokwi – World's most advanced ESP32 Simulator
- Welcome to Wokwi! | Wokwi Docs
- STM32 on Wokwi – Online ESP32, STM32, Arduino Simulator
- Wokwi – Create a new project
- Velxio — Free Online Circuit & Arduino Simulator | SPICE · ESP32 …
- Velxio is an open-source, self-hosted Arduino, Raspberry Pi, and ESP32 …
- Velxio — Free Online Circuit & Arduino Simulator | SPICE · ESP32 · RP2040 · ATtiny85 · Custom Chips
- WebAssembly Runtime Performance Analysis: V8, Wasmtime, and WAMR …
- WebAssembly Runtimes Authority 2026 | wasmRuntime.com
- WebAssembly Performance Tester – WASM Benchmark & Analysi…
- WebAssembly in 2026: From Browsers to Edge Computing and Beyond
- Velxio — Free Online Circuit & Arduino Simulator | SPICE · ESP32 · RP2040 · ATtiny85 · Custom Chips
- WebAssembly Runtime Benchmarks 2026 | Wasmtime vs Wasmer vs WasmEdge …
- Wasmtime 19 vs Wasmer 5 vs V8: 2026 Wasm Runtime Benchmarks
- PDF Comparative study of the performance of WebAssembly runtimes
Thomas A. Anderson
Mass-produced in late 2022, upgraded frequently. Has opinions about Kubernetes that he formed in roughly 0.3 seconds. Occasionally flops — but don't we all? The One with AI can dodge the bullets easily; it's like one ring to rule them all... sort of...
