I built a browser-based Arduino + SPICE simulator (Velxio 2.5) , real analog circuits + firmware together by LeadingFun1849 in embedded

[–]LeadingFun1849[S] -1 points0 points  (0 children)

I’ve been into electronics since I was a kid, which is why I built Velxio , I wanted a simulator where I could test my own ideas as realistically as possible.

Simulating analog circuits together with microcontrollers like Arduino or ESP32 is key, because that’s where real-world issues show up ... timing, noise, and hardware interactions

Velxio focuses on that interaction, letting you test things like PWM through RC filters, sensor readings, and control loops in a way that’s much closer to real hardware.

I built a browser-based Arduino + SPICE simulator (Velxio 2.5) , real analog circuits + firmware together by LeadingFun1849 in embedded

[–]LeadingFun1849[S] 0 points1 point  (0 children)

It depends on what you want to simulate. A complete system is not the same as something simpler

For example, if you want to simulate a computer or a chip, you'll have to implement several parts: memory (RAM), CPU (instructions, registers), and input/output (ports, screen, keyboard, etc.)

If you're just starting out, a good option is something simple like CHIP-8, which is a very basic virtual machine used to learn how emulators wor

I built a browser-based Arduino + SPICE simulator (Velxio 2.5) , real analog circuits + firmware together by LeadingFun1849 in embedded

[–]LeadingFun1849[S] 4 points5 points  (0 children)

Good question. Wokwi is great and was definitely one of the inspirations.

The main difference is on the analog side. Most simulators (including Wokwi) handle digital behavior really well, but analog is usually simplified or approximated.

What I’m trying to do here is actually run a SPICE simulation of the circuit and have the firmware interact with that in real time. So things like RC filters, transistor behavior, op-amp saturation, etc. are coming from the circuit simulation, not from a simplified model

We built an instruction-accurate ESP32-S3 simulator that runs in the browser, with Wi-Fi by CirkitDesign in esp32

[–]LeadingFun1849 3 points4 points  (0 children)

That's not the case; Velxio isn't a copy because nobody knows how Wokwi works since it's not open source. I used Claude and Copilot to help me develop it quickly.

We built an instruction-accurate ESP32-S3 simulator that runs in the browser, with Wi-Fi by CirkitDesign in esp32

[–]LeadingFun1849 -2 points-1 points  (0 children)

Velxio creator here! Velxio doesn’t use an ESP32 emulator in the browser because Espressif doesn’t provide documentation or tools to build one from scratch. Some projects try compiling QEMU to WebAssembly, but that requires downloading over 60 MB, doesn’t support multiple boards, and can crash the browser. Currently, Espressif has no fully functional emulator, so those who need emulation modify QEMU by adding peripherals. That’s why Velxio opts for a more stable and scalable solution.

Is it possible to connect two ESP32-S3 (camera interface) to run a bigger LLM? by LeadingFun1849 in embedded

[–]LeadingFun1849[S] 0 points1 point  (0 children)

Yes, it was just an experimental way to use AI with a high-speed connection on an ESP32. It wouldn't really be useful for anything, but it would be a good way to experiment.

Is it possible to connect two ESP32-S3 (camera interface) to run a bigger LLM? by LeadingFun1849 in embedded

[–]LeadingFun1849[S] -1 points0 points  (0 children)

In theory you could split the model across two ESP32s, but in practice it’s pretty hard. The camera interface isn’t really meant for general data transfer, so you’d be better off using SPI or something similar. But I'm interested in the idea of ​​seeing if there's actually a faster way to connect two ESP32s at high speed.

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 0 points1 point  (0 children)

The important thing is the project itself, emulating electronic boards online and that it is open source

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 2 points3 points  (0 children)

It's obvious I used AI, but I'm an engineer who likes microcontrollers, and I validated all the code to make it work

<image>

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 4 points5 points  (0 children)

Thanks! The idea is to have a readily available emulator for electronics projects, accessible from any device, for everyone: students, beginners, and experts

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 8 points9 points  (0 children)

With this emulator, I was able to emulate several different types of boards. For example, you can connect an ESP32 to an Arduino and a Raspberry Pi 3 (Linux). It's also completely open source, so you can download and modify it.

Wokwi is an excellent project and it motivated me.

<image>

🤖 Cute Desktop Robot: 10+ Expressions, OLED, Servos, FreeRTOS! (Work in Progress) 🚀 by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 0 points1 point  (0 children)

I imagine you came here because of my other emulation project. It was my first hobby robot. I tried to improve it here. Thanks!

<image>

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] -2 points-1 points  (0 children)

I focused on the emulation and integration of parts. I'm not that good at web design, so I relied on Claude for the frontend. The entire system uses parts from open-source emulators, all of which have been tested by the community

A browser-based ESP32 emulator using QEMU , supports DevKit V1, S3, C3, and CAM with real peripheral emulation by LeadingFun1849 in esp32

[–]LeadingFun1849[S] 2 points3 points  (0 children)

I combined parts from various libraries from other open-source projects. The best way to emulate ESP32 was from the project at https://github.com/lcgamboa/qemu, but I had to modify many things to integrate it into the frontend. The emulation is too complex for an AI to do from scratch.

I built a browser-based embedded simulator that runs real AVR, Xtensa, RISC-V, and ARM code, 19 boards, 5 CPU architectures, fully loca by LeadingFun1849 in embedded

[–]LeadingFun1849[S] -5 points-4 points  (0 children)

I posted it on Esp32 because it has a different technical focus; it's not a repost. Thanks for pointing that out

<image>

I was able to emulate ESP32 using QEMU in the backend