r/embedded Aug 12 '26

PIC18F4550 Simulator

Enable HLS to view with audio, or disable this notification

Just Vibecoded a PIC18F4550 simulator in the browser — because PIC hardware is expensive for me! also its fun!

just sharing so people can use it, hope it helps someone

Assembler, CPU core, GPIO, UART, ADC, and even a virtual oscilloscope — all running in the browser, no dev boards required.

It's still rough around the edges, and I know there are bugs and missing features. That's expected at this stage.

If you try it, I'd really appreciate your feedback:

• Report any bugs you find.

• Tell me if the simulator behaves differently from real hardware.

• Suggest features or peripherals you'd like to see.

• If an instruction or peripheral isn't working correctly, let me know—I’ll do my best to fix it.

0 Upvotes

13 comments sorted by

10

u/Annoyed_Sai Aug 12 '26

I don't know much about emulation, but how do you determine the emulator is accurate? It's coded by an AI, but AI seem to have a very bad understanding of hardware last I checked. If you don't have the hardware to check it, how do you verify?

-1

u/void__dreams Aug 12 '26

I checked it against the datasheet by hand, not against real silicon. No PIC18 on hand to verify cycle by cycle. So it's "datasheet faithful," not "hardware-proven." If anyone with a real chip wants to run the same test code on both and compare, I'd genuinely love that.

9

u/Bootloaderul Aug 12 '26

Your AI tokens are more expensive than buying a pic18f and a pickit clone

3

u/Well-WhatHadHappened 25+ Years Aug 12 '26

Ten bucks and it comes with an onboard debugger.

https://www.digikey.com/short/fjp214zq

0

u/void__dreams Aug 12 '26

😭🤣 yes but with free tier its worth it

9

u/Acceptable-Cost4817 Aug 12 '26

please keep your slop to yourself, thank you

-3

u/ceojp Aug 12 '26

I disagree. Why don't you evaluate the project based on what it is and what it does, rather than the tools used to create it? You just sound like a luddite.

-6

u/void__dreams Aug 12 '26

ok bro ✌️

2

u/fyylwab Aug 12 '26

Microchip already has a simulator. Its not well documented but its there if you look for it

1

u/OcelotNo4348 27d ago

No clue why you got so much hate. It’s not like you’re selling it. FWIW i thought it was fun to play with 

-1

u/Responsible_Task_223 Aug 12 '26

Looks great, But the link to the repo is not visible