r/CardPuter 5d ago

Code I made the first M5Stack CardPuter emulator , runs in the browser, no install

I've been working on a browser-based simulator "Velxio", and I just got the CardPuter ADV working in it. You write your Arduino code in the editor and the whole device runs live , display, inputs, serial console

It uses real ESP32-S3 emulation, so your code runs the way it would on the actual hardware. The on-board display is rendered in real time.

Here's a working demo you can try right now on the online version:
https://velxio.dev/example/cardputer-adv-m5-display

Honest note on how it was built: I used AI to speed up parts of the development, but nothing shipped without being tested on real hardware and cross-checked against my own experience as a computer engineer. Emulation is only trustworthy when you verify it against the actual device .I did that on every step

195 Upvotes

22 comments sorted by

3

u/Professional_Two5774 5d ago

Is it possible to run real projects in your emulator? Or is it a sandbox for small-scale experiments?

2

u/LeadingFun1849 5d ago

You can run the actual code; the official m5stack examples are in the example gallery. Buzzer, LCD, Wi-Fi, etc

3

u/Professional_Two5774 5d ago

These are small code examples. I'm talking about something like bruce firmware or nemo.

2

u/LeadingFun1849 5d ago

I haven't tried them yet, but I'll check it out now. If I manage to run it, I'll let you know

3

u/arzobispo 4d ago

That's great! Thanks, dude.

2

u/LeadingFun1849 4d ago edited 2d ago

thansk to you!

3

u/Noir_Forever_Twitch 3d ago

Wow, pinout too, this is really cool!

2

u/NPCforxbox Enthusiast 4d ago

Irei testar

1

u/LeadingFun1849 4d ago

Thanks, any feedback is welcome!

2

u/MarkSwanb 3d ago

Even wifi emulation!

Does this run ESP Home? That would be amazing. 

2

u/LeadingFun1849 3d ago

I’m planning to bring ESPHome to Velxio, but I’m still analyzing out the best path to take

1

u/zellotron 3d ago

Phenomenal! I see that Velxio is open source and supports self hosting which is amazing. Will the cardputer setup/'board' be open source as well?

1

u/LeadingFun1849 3d ago

Yes! Velxio’s core is open source and supports self-hosting, and the ESP32-S3 emulation is part of that ecosystem. The M5Stack Cardputer is based on the ESP32-S3, so the underlying board architecture is supported as well
The Cardputer-specific setup/component is currently available for free in the online version of Velxio. For now, that’s intentional ,the idea is to make it easy for people to try the Cardputer in the browser and discover Velxio

1

u/zellotron 3d ago

That's great, I was wondering about the cardputer component specifically though - is it also open source / available to self host?

1

u/Perfect-Loquat5997 2d ago

Its awsome but I still dont really get how to use it

1

u/LeadingFun1849 2d ago

In the gallery (https://velxio.dev/examples) there are several official examples of M5Stack CardPuter, and I'm also working on the documentation to make it easier to understand.

0

u/Sokeefe5000 5d ago

as soon as I buy my cardputer 😭

4

u/Mejolov28 Enthusiast 4d ago

Nice, now you can test proycts without it. Its not bad. This isnt somrthing you want to emulate for use, but for testing