Arduino, running the sketch you wrote
arduino-cli compiles it, an AVR8 core executes it instruction by instruction, and the LCD shows what the ATmega328P actually put on the bus. Uno, Nano, Mega and ATtiny85, no board on your desk.

Hardware is all about iteration. Velxio lets you wire a circuit, program the board and run it in seconds, real firmware on a real solver, right in the browser.
DFRobot · M5Stack links on this page are affiliate links: a purchase through them earns Velxio a small commission at no extra cost to you.
Nothing on this page is a scripted animation: the firmware is compiled and executed, and the circuit around it is solved.
arduino-cli compiles it, an AVR8 core executes it instruction by instruction, and the LCD shows what the ATmega328P actually put on the bus. Uno, Nano, Mega and ATtiny85, no board on your desk.

arduino-cli or ESP-IDF compiles the sketch, then AVR8, RP2040, RISC-V, Xtensa or ARM executes it instruction by instruction. What the OLED draws and what the serial monitor prints is what the chip actually did.

ngspice compiled to WebAssembly runs a full nodal analysis about 60 times a second. GPIO pins drive real nets, ADC inputs read solved node voltages, and probes report RMS, DC and current wherever you drop them.

Adders, comparators, decoders, flip-flops and a 1-bit ALU slice: no microcontroller anywhere, just gates, switches and LEDs solved as a real net. The classroom half of electronics, without the breadboard.

The M5Stack Cardputer with its keyboard, Seeed's round display keeping time, Pimoroni's Badger 2350 driving e-paper, and DFRobot's UNIHIKER M10 in the catalogue alongside them. Their makers sent the hardware so the emulation could be checked against the real thing.




35 boards across 6 CPU architectures — AVR8, ARM Cortex-M, ARM Cortex-A, RISC-V, Xtensa, and Linux. Including partner boards from Pimoroni, M5Stack, Seeed Studio and DFRobot. All running locally, no cloud needed.
One institution contract gives every student in the class a full Pro account. No per-seat checkout, no card details in a classroom.
Private projects, BOM and schematic exports and GitHub Sync, for everyone enrolled.
Billed once to your institution, per semester or per year. Volume pricing on request for large cohorts.
Arduino, ESP32, RP2040, STM32, ATtiny and Raspberry Pi, with SPICE analog solved alongside the firmware. Not a sandboxed mock.
The simulator stays free forever, WiFi with internet included. Paid plans unlock the Linux and STM32 boards, custom WiFi networks and the local network gateway. Maker and Pro add the AI agent; No AI leaves it out.
Discover the simulator + light AI help.
The full workbench, zero AI. You write every line.
For makers shipping real circuits with AI help.
Private projects, GitHub Sync and BOM exports.
Questions, bugs and ideas: the Discord and the issue tracker are open, and so is every line of the simulator.
在 ESP32-S3 和 ILI9341 显示屏上绘制文字 mnrois
An interactive ESP32-S3 circuit simulation you can run free in your browser on Velxio, by janvelxio.
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <Preferences.h> // ESP32 掉电保存
//================ 屏幕 SPI 引脚 ================
#define TFT_CS 10
#define TFT_DC 9
#define TFT_RST 8
#define TFT_SCK 12
#define TFT_MOSI 11
#define TFT_MISO 13
//================ 触摸引脚 ================
#define TOUCH_CS 7
#define TOUCH_IRQ 6
//================ 继电器控制引脚 ================
const int RELAY_PIN[6] = {4, 5, 15, 16, 17, 18};
//================ 触摸校准参数 ================
#define TX_MIN 100
#define TX_MAX 1959
#define TY_MIN 1950
#define TY_MAX 100
#define TOUCH_Z_THRESHOLD 100
#define TOUCH_DEBOUNCE_MS 200
//================ 界面与按键参数 ================
const char* buttonLabels[6] = {"CD", "PHONO", "FM", "Balance", "AUX", "Decoder"};
#define BUTTON_TEXT_SIZE 1
#define BAR_X 70
#define BAR_Y 180
#define BAR_W 180
#define BAR_H 30
#define BTN_MINUS_X 10
#define BTN_MINUS_Y 180
#define BTN_PLUS_X 250
#define BTN_PLUS_Y 180
#define BTN_W 60
#define BTN_H 30
#define NUM_X 163
#define NUM_Y 80
#define NUM_TEXT_SIZE 10 // 大字体(阴影会掩盖一部分锯齿感)
//================ 颜色配置 ================
uint16_t volBarColor_bg = ILI9341_BLACK;
uint16_t volBarColor_fill = ILI9341_CYAN;
uint16_t volBarColor_text = ILI9341_CYAN;
uint16_t btnColor_off = ILI9341_DARKCYAN;
uint16_t btnColor_on = ILI9341_CYAN;
uint16_t btnText_off = ILI9341_WHITE;
uint16_t btnText_on = ILI9341_BLACK;
SPIClass hspi(HSPI);
Adafruit_ILI9341 tft(&hspi, TFT_DC, TFT_CS, TFT_RST);
Preferences prefs;
GFXcanvas16 canvas(BAR_W, BAR_H);
struct Button {
int x, y, w, h;
uint16_t Color_on, Color_off, text_Color_on, text_Color_off;
};
Button buttons[6] = {
{10, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE},
{60, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE},
{110, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE},
{160, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE},
{210, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE},
{260, 120, 45, 25, ILI9341_CYAN, ILI9341_DARKCYAN, ILI9341_BLACK, ILI9341_WHITE}
};
bool ch[6] = {false};
int currentCh = -1;
int volume = 50;
int targetVolume = 50;
unsigned long lastVolUpdateMs = 0;
unsigned long lastTouchMs = 0;
bool lastTouchPressed = false;
//================ 触摸读取 ================
uint16_t readTouch(uint8_t cmd)
{
hspi.beginTransaction(SPISettings(1000000, MSBFIRST, SPI_MODE0));
digitalWrite(TOUCH_CS, LOW);
hspi.transfer(cmd);
uint16_t data = hspi.transfer(0x00) << 8;
data |= hspi.transfer(0x00);
digitalWrite(TOUCH_CS, HIGH);
hspi.endTransaction();
return data >> 4;
}
void getTouchXY(uint16_t &x, uint16_t &y, uint16_t &z)
{
x = readTouch(0x90);
y = readTouch(0xD0);
z = readTouch(0xB0);
}
//==