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.
An interactive Arduino Uno circuit simulation you can run free in your browser on Velxio, by tcflm.
/*
* 库函数版 - 4路舵机控制
* 芯片:ATmega328P (Arduino Uno)
* 舵机:SG90 × 4
* 引脚:舵机1→D9, 舵机2→D10, 舵机3→D11, 舵机4→D3
* 功能:4个舵机分别独立控制,演示各种运动模式
*/
// 引入Arduino官方舵机库
// Servo库封装了底层定时器操作,自动配置PWM频率50Hz
#include <Servo.h>
// 创建4个舵机对象
// 每个对象对应一个物理舵机,独立控制
Servo servo1; // 舵机1对象
Servo servo2; // 舵机2对象
Servo servo3; // 舵机3对象
Servo servo4; // 舵机4对象
// 舵机角度范围定义
#define ANGLE_MIN 0 // 最小角度0度
#define ANGLE_MAX 180 // 最大角度180度
#define ANGLE_MID 90 // 中间角度90度
// ==================== 初始化函数 ====================
void setup()
{
// 初始化串口,用于调试输出(可选)
Serial.begin(9600);
Serial.println("4路舵机控制 - 库函数版启动");
// 将4个舵机对象分别绑定到Arduino引脚
// attach()函数会自动配置对应引脚为输出,
// 并配置定时器生成50Hz PWM信号
servo1.attach(9); // 舵机1 → D9 (OC1A, Timer1通道A)
servo2.attach(10); // 舵机2 → D10 (OC1B, Timer1通道B)
servo3.attach(11); // 舵机3 → D11 (OC2A, Timer2通道A)
servo4.attach(3); // 舵机4 → D3 (OC2B, Timer2通道B)
// 所有舵机归位到中间位置90度
// write()函数发送对应角度的PWM信号给舵机
servo1.write(ANGLE_MID); // 舵机1转到90度
servo2.write(ANGLE_MID); // 舵机2转到90度
servo3.write(ANGLE_MID); // 舵机3转到90度
servo4.write(ANGLE_MID); // 舵机4转到90度
delay(1000); // 等待1秒,让舵机转到初始位置
}
// ==================== 主循环 ====================
void loop()
{
// ========== 模式1:4个舵机同步从0→180度 ==========
Serial.println("模式1:4个舵机同步转动 0→180度");
for(int angle = 0; angle <= 180; angle += 5)
{
// 4个舵机同时设置相同角度,实现同步转动
servo1.write(angle);
servo2.write(angle);
servo3.write(angle);
servo4.write(angle);
delay(30); // 每步延时20ms,控制转动速度
}
delay(500); // 到达180度后停留0.5秒
// ========== 模式2:4个舵机同步从180→0度 ==========
Serial.println("模式2:4个舵机同步转动 180→0度");
for(int angle = 180; angle >= 0; angle -= 5)
{
servo1.write(angle);
servo2.write(angle);
servo3.write(angle);
servo4.write(angle);
delay(30);
}
delay(500);
// ========== 模式3:分别单独控制每个舵机 ==========
Serial.println("模式3:分别单独控制每个舵机");
servo1.write(0); // 舵机1转到0度
delay(500);
servo2.write(45); // 舵机2转到45度
delay(500);
servo3.write(90); // 舵机3转到90度
delay(500);
servo4.write(135); // 舵机4转到135度
delay(500);
servo1.write(180); // 舵机1转到180度
delay(500);
// 全部归位到90度
servo1.write(90);
servo2.write(90);
servo3.write(90);
servo4.write(90);
delay(1000);
// ========== 模式4:反向运动(舵机1和舵机3反向,舵机2和舵机4反向)==========
Serial.println("模式4:交叉反向运动");
for(int angle = 0; angle <= 180; angle += 5)
{
servo1.write(angle); // 舵机1:0→180
servo2.write(180 - angle); // 舵机2:180→0(反向)
servo3.write(angle); // 舵机3:0→180
servo4.write(180 - angle); // 舵机4:180→0(反向)
delay(20);
}
delay(500);
// 全部归位
servo1.write(90);
servo2.write(90);
servo3.write(90);
servo4.write(90);
delay(1000);
Serial.println("=== 一轮演示完成,重新开始 ===");
}