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.
// ESP32-S3 + PCF8574 1602时钟|修复星期溢出BUG(出现星期8)|定点局部刷新无闪烁版
// 底层约定:每行代码右侧注释,写本行执行逻辑、取值推演、作用;不合并多行注释
#include <LiquidCrystal_PCF8574.h> // 引入PCF8574 I2C 1602驱动库,LCD依赖该库实现字符输出
#include <Wire.h> // 引入I2C底层库,PCF8574是I2C从设备,必须加载
#define LCD_ADDR 0x27 // 定义LCD I2C从地址;0x27常见,黑屏换0x3F
#define LCD_COL 16 // 1602屏幕一行字符容量:16列
#define LCD_ROW 2 // 1602屏幕总行数:2行
#define KEY_SET A0 // 设置按键IO分配到A0引脚
#define KEY_MENU A1 // 菜单按键IO分配到A1引脚
// 自定义星期点阵数组,7个字符,每个字符8字节点阵数据
byte weekFont[7][8] = {
{0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04}, // 索引0:“一”点阵,8行5bit像素
{0x0A,0x0A,0x0A,0x0A,0x0A,0x1F,0x0A,0x0A}, // 索引1:“二”点阵,8行5bit像素
{0x0E,0x11,0x04,0x0A,0x04,0x11,0x0E,0x00}, // 索引2:“三”点阵,8行5bit像素
{0x04,0x04,0x04,0x04,0x04,0x04,0x1F,0x04}, // 索引3:“四”点阵,8行5bit像素
{0x04,0x04,0x04,0x1F,0x04,0x04,0x04,0x04}, // 索引4:“五”点阵,8行5bit像素
{0x0E,0x11,0x11,0x0E,0x04,0x04,0x04,0x04}, // 索引5:“六”点阵,8行5bit像素
{0x0E,0x11,0x11,0x0E,0x11,0x11,0x0E,0x00} // 索引6:“日”点阵,8行5bit像素
};
const uint8_t weekCharMap[] = {0,0,1,2,3,4,5,6}; // 映射表:week=1→下标0,week=7→下标6;week取值范围1~7
LiquidCrystal_PCF8574 lcd(LCD_ADDR); // 实例LCD对象,传入I2C地址,初始化驱动实例
uint8_t hour=20; // 小时变量,初始值20,范围0~23
uint8_t minute=45; // 分钟变量,初始值45,范围0~59
uint8_t second=30; // 秒变量,初始值30,范围0~59
uint16_t year=2026; // 年份变量,16位无符号,容纳2000~9999
uint8_t mon=11; // 月份变量,初始11,范围1~12
uint8_t day=30; // 日期变量,初始30,随当月天数约束
uint8_t week=1; // 星期变量,初始1=周一,范围1~7
unsigned long timerTick = 0; // 保存上一次走秒的毫秒标记,配合millis实现非阻塞计时
const unsigned long TICK_1S = 1000; // 1秒对应毫秒数,定时周期基准
enum SYS { MAIN, MENU, SET_TIME, SET_DATE }; // 枚举定义系统4种工作状态
SYS sys = MAIN; // 上电默认状态:主时钟界面
SYS lastSys = MAIN; // 保存上一次状态,用于判断是否需要整屏重绘
uint8_t menuSel = 1; // 菜单选中项,初始选中1:设置时间
uint8_t editIdx = 0; // 当前编辑字段索引,时间/日期设置共用索引
bool needRefresh = true; // 屏幕刷新标志,true=画面数据变更,需要刷屏
unsigned long keySetTm=0; // SET按键按下瞬间时间戳,用于计算长按时长
unsigned long keyMenuTm=0; // MENU按键按下瞬间时间戳,用于计算长按时长
const unsigned long LONG_PRESS = 600; // 长按判定阈值,按下时长≥600ms判定长按
uint8_t keySetLast=1; // SET按键上一次电平缓存,1=高电平(未按下,上拉)
uint8_t keyMenuLast=1; // MENU按键上一次电平缓存,1=高电平(未按下,上拉)
// 枚举标记字段类型,解决uint8_t/uint16_t混用指针BUG
typedef enum {
T_U8,
T_U16
} VarType;
// 结构体:编辑字段描述,增加类型标记,安全读写
typedef struct {
void *pVal; // 通用空指针,兼容uint8_t、uint16_t两种变量类型
VarType type; // 变量类型标记
uint16_t maxLim; // 当前字段允许的最大值
uint8_t step; // 每次短按自增步长,本项目固定+1
} EditField;
EditField timeField[] = { // 时间字段数组:时、分、秒,全部uint8
{&hour, T_U8, 23, 1}, // 绑定hour地址,uint8,上限23,步长1
{&minute, T_U8, 59, 1}, // 绑定minute地址,uint8,上限59,步长1
{&second, T_U8, 59, 1} // 绑定second地址,uin