Velxio is an open-source, self-hosted Arduino, Raspberry Pi, and ESP32 simulator

Velxio is an open-source, self-hosted simulator for Arduino, ESP32, and Raspberry Pi boards that works directly in your web browser. You can drag-and-drop boards, connect components and modules, write and run code in Arduino or Python, and access the serial console, all without hardware.

If it looks similar to what the Wokwi simulator has to offer, it’s because Velxio was inspired by it and even integrates the AVR8 CPU emulator, RP2040 emulator, and QEMU fork for ESP32 Xtensa emulation from the Wokwi project. But the key difference is that Velxio can be self-hosted, although there’s also an online demo.

Velxio Arduino simulator
Velxio online demo

Velxio currently supports 19 targets across five architectures

The project also offers 48 components. The developer mentions that additional features compared to Wokwi include multiple heterogeneous boards in the same circuit (e.g., two Arduinos connected over SPI or serial, ESP32 with Arduino, Raspberry Pi 3 with a Pico, etc.) and full QEMU emulation support for ESP32 and Raspberry Pi 3.

Besides using the online demo, I found it very easy to install on my Ubuntu 24.04 machine with a single command (assumes Docker is already installed and enabled):


Once the installation was complete, I could access it in a web browser using the local IP on port 3080 (http://localhost:3080).

Self hosted Arduino ESP32 Raspberry Pi simlator

Clicking “Try Simulator Free” brings you to the simulator preloaded with a blinky example for Arduino UNO, as in the top screenshot in this article. I could build it and run it to see the blinking LED. I added a Raspberry Pi 3 and Raspberry Pi Pico 2 W to the dashboard, and built the blinky sample for the Pico board.

Velxio multi board simulator

The Raspberry Pi 3 can be started, but even after waiting for a few minutes, I was unable to access the serial console and run the Python and Bash sample scripts.  It’s in beta, maybe that’s why.

Adding additional components or boards is very easy as everything is well described and you can just drag-and-drop the selected component in position before wiring it to one of the GPIO of the board.

Velxio add component others

If you don’t want to wire a project by yourself just yet, you can always head over to the example section to browse various samples for Arduino, Raspberry Pi Pico, or ESP32 boards.

Velxio ESP32 Examples

I did try a few ESP32 examples. They will load the code and the required libraries, but the builds failed for me:


Doing the same on the online demo also fails with a similar error, but with a more verbose output.


I decided to select a simpler ESP32 example (Blink LED), and this time it worked.

Velxio ESP32 Blink LED sample

Velxio is a cool project, although there’s still some extra work to do to make it more stable. You’ll find the code and full details on GitHub. The code is released under a dual-licensing model with an AGPLv3 licence for personal, educational, and open-source projects, and a commercial license for proprietary and closed-source products or SaaS.

Via Adafruit

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress. We also use affiliate links in articles to earn commissions if you make a purchase after clicking on those links.

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
4 Comments
oldest
newest
Boardcon MINI1126B-P AI vision system-on-module wit Rockchip RV1126B-P SoC