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, GitHub Sync and the offline desktop app, 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. Paid plans unlock the Linux and STM32 boards, WiFi and the offline desktop app. 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 siteofprojects.
// TFT ILI9341 Display Demo (240x320)
// Library: Adafruit ILI9341 + Adafruit GFX
// Connect: CS=10, DC/RS=9, RST=8, LED=7, MOSI=11(SPI), SCK=13(SPI)
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
#include <SPI.h>
#define TFT_CS 10
#define TFT_DC 9
#define TFT_RST 8
#define TFT_LED 7
Adafruit_ILI9341 tft(TFT_CS, TFT_DC, TFT_RST);
// Background color: blue (visible on dark simulator canvas)
#define BG_COLOR 0x0000
#define Ball_COLOR 0xf800
// --- Physics Variables ---
float ballX = 160.0; // Start center screen
float ballY = 200.0;
float ballDX = 1.0; // X speed
float ballDY = -5.0; // Y speed
int ballRadius = 10;
// For erasing the previous frame without clearing the whole screen (prevents flickering)
float oldBallX = ballX;
float oldBallY = ballY;
// --- Spatial Grid Variables ---
bool boxes[9]; // Array to store active/inactive state of the 9 steps
const int boxSize = 40; // 40x40 pixel boxes
const int gridStartX = 100; // Centers the 120px grid on a 320px screen
const int gridStartY = 60; // Centers the 120px grid on a 240px screen
void setup() {
tft.begin();
tft.setRotation(1); // Set to Landscape (320x240)
//tft.fillScreen(0x0000);
// Initialize and draw the 3x3 sequencer grid
for (int i = 0; i < 9; i++) {
boxes[i] = true; // Set all boxes to active (1)
// Calculate grid coordinates based on index (0-8)
int col = i % 3;
int row = i / 3;
int x = gridStartX + (col * boxSize);
int y = gridStartY + (row * boxSize);
// Draw the box (leaving a 1px gap for visual padding)
// -> SWAP THIS if you want to draw a base sprite for the sequencer pads
tft.drawRect(x + 1, y + 1, boxSize - 2, boxSize - 2, Ball_COLOR);
}
}
void loop() {
// 1. ERASE OLD BALL (Draw black over the last position)
// -> If using sprites, draw a black square over old pos, or redraw background
tft.fillRect(ballX, ballY, ballRadius+1,ballRadius+1, BG_COLOR);
// 2. UPDATE POSITION
ballX += ballDX;
ballY += ballDY;
// 3. WALL BOUNDARY COLLISIONS (Screen is 320x240)
if (ballX - ballRadius <= 0 || ballX + ballRadius >= 320) {
ballDX = -ballDX; // Flip X velocity
ballX += ballDX; // Push out of wall to prevent sticking
}
if (ballY - ballRadius <= 0 || ballY + ballRadius >= 240) {
ballDY = -ballDY; // Flip Y velocity
ballY += ballDY;
}
// 4. 3x3 GRID COLLISION MATH
// First check: Is the ball inside the grid zone?
if (ballX > gridStartX && ballX < gridStartX + (boxSize * 3) &&
ballY > gridStartY && ballY < gridStartY + (boxSize * 3)) {
// Calculate which specific row and column the ball is in
int col = (ballX - gridStartX) / boxSize;
int row = (ballY - gridStartY) / boxSize;
// Convert to 1D array index (0-8)
int index = col + (row * 3);
// If the calculated index is valid and the box is still active
if (index >= 0 && index < 9 && boxes[index]) {