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.
Robô seguidor de linha com desvio de obstáculos via sensor ultrassônico.
An interactive Arduino Uno circuit simulation you can run free in your browser on Velxio, by manuufrazao.
// =====================================================================
// Robo seguidor de linha + desvio de obstaculos
// Base: firmware Visuino "funcionando.hex" (somente seguidor de linha),
// reescrito em C++ com a MESMA logica e os MESMOS pinos, e acrescido
// do HC-SR04 e da manobra de contorno das caixas.
// As caixas ficam a ~53 cm uma da outra: o sonar volta a ser lido logo
// apos o retorno a linha, para a segunda caixa ser vista a tempo.
// =====================================================================
// ---------- Pinos (iguais ao firmware Visuino) ----------
const uint8_t M_ESQ_A = 4, M_ESQ_B = 7, M_ESQ_EN = 5; // motor esquerdo (L293D)
const uint8_t M_DIR_A = 8, M_DIR_B = 12, M_DIR_EN = 6; // motor direito (L293D)
const uint8_t S_ESQ = 9, S_CEN = 10, S_DIR = 11; // sensores de linha (LOW = linha preta)
const uint8_t TRIG = 2, ECHO = 3; // HC-SR04 (nao era usado no Visuino)
// ---------- Velocidades no padrao Visuino (0.0 .. 1.0, 0.5 = parado) ----------
const float V_RETO = 0.65; // Visuino: so o sensor do centro na linha
const float V_CURVA_FR = 0.65; // Visuino: roda de fora na curva
const float V_CURVA_TR = 0.45; // Visuino: roda de dentro (leve re)
// ---------- Desvio ----------
const float DIST_DETECCAO_CM = 18.0; // distancia para iniciar o desvio
const float V_MANOBRA = 0.75; // velocidade usada na manobra
const uint16_t T_GIRO_SAIDA = 400; // giro p/ esquerda (sair da linha)
const uint16_t T_AFASTA = 1100; // anda para o lado da caixa
const uint16_t T_GIRO_PARALELO = 400; // giro p/ direita (fica paralelo a linha)
const uint16_t T_PASSA = 2400; // anda ao lado da caixa ate passar dela
const uint16_t T_GIRO_VOLTA = 380; // giro p/ direita (aponta de volta p/ linha)
const uint16_t T_MAX_BUSCA = 4000; // tempo maximo procurando a linha
const uint16_t T_CENTRALIZA = 150; // avanca apos achar a linha
const uint16_t T_MAX_ALINHA = 1500; // tempo maximo girando p/ alinhar
unsigned long ultimaLeituraSonar = 0;
int desvios = 0;
// ---------------------------------------------------------------------
// Motor no estilo Visuino: v > 0.5 = frente, v < 0.5 = re, PWM = |v-0.5|*2*255
// ---------------------------------------------------------------------
void motor(uint8_t a, uint8_t b, uint8_t en, float v) {
bool frente = v > 0.5;
digitalWrite(a, frente ? HIGH : LOW);
digitalWrite(b, frente ? LOW : HIGH);
analogWrite(en, (uint8_t)(fabs(v - 0.5) * 2.0 * 255.0 + 0.5));
}
void motores(float esq, float dir) {
motor(M_ESQ_A, M_ESQ_B, M_ESQ_EN, esq);
motor(M_DIR_A, M_DIR_B, M_DIR_EN, dir);
}
void parar() { motores(0.5, 0.5); }
void frente(float v) { motores(v, v); }
void girarEsquerda(float v){ motores(1.0 - v, v); } // gira no proprio eixo
void girarDireita(float v) { motores(v, 1.0 - v); }
bool naLinha(uint8_t pino) { return digitalRead(pino) == LOW; }
bool algumSensor