Close

Firmware Emulation in the Browser Using WASM

A project log for Home Plant Watering System Based on the PIC10F202

A home plant watering device based on a simple 8-pin PIC microcontroller and 74HC chips.

robert-gawronRobert Gawron 03/08/2026 at 16:130 Comments

I've built a version of my C firmware that runs in the browser. I stubbed the hardware peripherals using JavaScript, I can run, test, and validate high-level logic directly in the browser without needing to flash the real device.

This approach has several benefits:

The simulation setup includes:

You can check the source code on project's GitHub. 

Ultimately, WASM is quite an interesting technology!

Discussions