Velxio, Arduino Emulator

velxio.dev

32 points by dmonterocrespo 2 days ago


dmonterocrespo - 5 minutes ago

If anyone wants a quick thing to try in the simulator, here's a simple LED blink example with Serial output:

void setup() { pinMode(13, OUTPUT); Serial.begin(9600); }

void loop() { digitalWrite(13, HIGH); Serial.println("LED ON"); delay(500);

  digitalWrite(13, LOW);
  Serial.println("LED OFF");
  delay(500);
}

In Velxio you can connect an LED to pin 13 and watch it blink, while the Serial Monitor prints the messages in the terminal.

dmonterocrespo - 2 days ago

I built a small emulator project called Velxio.

A fully local, open-source Arduino emulator. Write Arduino code, compile it, and simulate it with real AVR8 CPU emulation and 48+ interactive electronic components,All running in your browser. GitHub: https://github.com/davidmonterocrespo24/velxio

The goal of this project was to learn more about how emulators work internally: CPU instructions, memory management, and low-level architecture.

It's still experimental, but it already runs basic instructions and I'm continuing to improve it.

zellyn - an hour ago

See also: https://wokwi.com (ESP32 equivalent)

[Edit] Which also does Arduino.

platevoltage - 3 hours ago

Very cool. I can't wait to play around with this!

noahnathan25 - 5 hours ago

This is amazing!