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 ESP32-S3 circuit simulation you can run free in your browser on Velxio, by tcflm.
#include <Wire.h> // 引入I2C底层库,ESP32 I2C主设备需要加载
#include <LiquidCrystal_I2C.h> // 引入PCF8574 I2C 1602驱动库,LCD依赖该库实现字符输出
#define LCD_ADDR 0x27 // 定义LCD I2C从地址;0x27常见,黑屏换0x3F
#define LCD_COL 16 // 1602屏幕一行字符容量:16列
#define LCD_ROW 2 // 1602屏幕总行数:2行
#define KEY_SET 35 // 设置按键IO分配到35引脚
#define KEY_MENU 42 // 菜单按键IO分配到42引脚
#define LED_CNT 39 // LED引脚
#define LONG_PRESS 600 // 长按判定阈值,按下时长≥600ms判定长按
#define SHORT_PRESS 20 // 短按判定阈值,按下时长<600ms判定短按
#define TICK_1S 1000 // 1秒对应毫秒数,定时周期基准
#define TIME_FLD_CNT 3 // 时间字段总数:时、分、秒
#define DATE_FLD_CNT 4 // 日期字段总数:年、月、日
#define TIME_START_COL 4 // 时间居中偏移计算:HH:MM:SS共8字符,(16-8)/2=4,起始列4
#define HH 8 //初始时间日期
#define MM 11
#define SS 14
#define YEAR 2026
#define MON 12
#define DAY 1
uint8_t hour=HH; // 小时变量,初始值20,范围0~23
uint8_t minute=MM; // 分钟变量,初始值45,范围 0~59
uint8_t second=SS; // 秒变量,初始值30,范围0 ~59
uint16_t year=YEAR; // 年份变量,16位无符号,
uint8_t mon=MON; // 月份变量,初始11,范围1~12
uint8_t day=DAY; // 日期变量,初始30,随当月
unsigned long timerTick = 0; // 保存上一次走秒的毫秒标记,配合millis实现非阻塞计时
bool needRefresh = true; // 屏幕刷新标志,true=画面数据变更,需要刷屏
// 显示缓存:记录上一次写入LCD的数值,只有变化才重绘,消除闪烁
uint8_t last_hour = 255, last_min = 255, last_sec = 255;
uint8_t last_year = 255, last_mon = 255, last_day = 255, last_week = 255;
LiquidCrystal_I2C lcd(LCD_ADDR,LCD_COL,LCD_ROW ); // 实例LCD对象,传入I2C地址,初始化驱动实例
typedef struct
{
uint8_t pin; // 按键对应的GPIO引脚
uint8_t keySetLast = 1; // 按键上一次电平缓存,1=高电平(未按下,上拉)
unsigned long pressTm; // 按下时刻的时间戳,
unsigned long deboounceTm; // 上次电平变化时间,用于计算消抖
bool keyShort ;// 按键短按标志
bool KeyLong ; // 按键长按标志
}Key_t;
Key_t keySet = {KEY_SET,1,0,0,false,false}; // 设置按键结构体实例
Key_t keyMenu = {KEY_MENU,1,0,0,false,false}; // 菜单按键结构体实例
enum SYS { MAIN, MENU, SET_TIME, SET_DATE }; // 枚举定义系统4种界面,主,菜单,时间,日期设置
SYS sysState = MAIN; // 上电默认状态:主时钟界面
uint8_t menuSel = 0; // 菜单选中项,初始选中1:设置时间,2日期设置,3星期设置
uint8_t editIdx = 0; // 当前编辑字段位数索引,时间/日期设置共用索引
//============界面功能函数区===============================================
void showMain();//显示主界面 ,加自己走时间日期
void showMenu();//显示菜单界面
void showSetTime();//显示时间设置界面
void showSetDate();//显示日期设置界面
//=============按键扫描函数区=========================================
void keyScanOne(Key_t *key); //按键扫描函数,传入按键结构体指针
void keyScan();//按键扫描函数,处理2个按键事件
//=============时间日期函数区=========================================
void SysTime();//系统时间自加函数
void SysDate();//系统日期自加函数
////////////////////////////////////////////////////////////////
void setup() {
Serial.begin(115200); // 初始化串口,波特率115200,预留调试打印
Wire.begin(); // 启动I2C总线,ESP32 I2C初始化
l