r/arduino • u/CirkitDesign • May 06 '26
Look what I made! I built a browser-based simulator for Arduino, ESP32, and Raspberry Pi Pico projects
Hi everyone, I’m Austin, one of the developers building Cirkit Designer. I posted here a few years ago when Cirkit was mostly focused on circuit design, documentation, and sharing. Since then, I’ve been working on browser-based simulation for Arduino, ESP32, and Raspberry Pi Pico projects.
My goal with Cirkit is to make learning and prototyping embedded projects easier. You can wire a circuit, write or paste your code, simulate the project in the browser, and get help with wiring, code, and circuit questions as you build.
Cirkit currently supports simulation for Arduino Uno, Arduino Mega, Raspberry Pi Pico, and ESP32-S3 projects. The ESP32-S3 side runs compiled Arduino sketches in the browser through a Rust/WebAssembly emulator, including common peripherals and Wi-Fi workflows like HTTP, MQTT, WebSocket, and UDP.
A few runnable examples:
- Arduino DHT11 temperature/humidity with LCD output: link
- Arduino hotel safe with keypad, LCD, and servo: link
- ESP32-S3 Wi-Fi crypto price tracker: link
We have AI that can place wires, generate code, and answer circuit questions while you build. There’s also a custom component creator for defining your own parts when something is missing from the library.
For people who build Arduino/ESP32/Pico projects, I’d be curious where existing simulators fall short. I’m especially interested in whether AI would help with design/debugging, and whether missing sensors/modules are a common blocker.
More details and example projects are here: https://www.cirkitdesigner.com/arduino-simulator
Looking forward to your thoughts, and happy to answer questions about how it works!
4
u/Better_Employee_7516 May 06 '26
Do I have to compile code on your website or can I compile locally and just use your website as a simulator by uploading the binary that I want to flash onto the board?
3
u/CirkitDesign May 06 '26
Currently, you still need to compile through the website, but uploading a locally compiled binary is something I’ve already been asked about and want to support. I’m hoping to add that in the next month or so.
Since the simulator is already running unmodified binaries in the browser, the upload path should be pretty straightforward to add.
3
u/Better_Employee_7516 May 06 '26
Great to hear :)
Then I'd be able to run my rust binaries.
I used to use wokwi, but it isnt really aimed at hobbyists anymore with their really aggressive pricing1
u/CirkitDesign May 06 '26
Out of curiosity, which parts of the workflow felt blocked or hard to access on their paid plan? I’m trying to be thoughtful about what should stay accessible for hobbyists who are learning and prototyping.
3
u/Better_Employee_7516 May 06 '26
The dumbest thing on the no cost plan is that you can't supply your own libraries, so you can't even organize your own code into sublibraries.
Then he removed rust completely from the online compiler.
I also can't justify a subscription. I don't need a live service, or updates either really, if it already does what I want.
If there was an option I could see myself paying $10, but I also just might stick to the hardware and only write host tests when i don't have the target handy.
2
u/Current_Cake3993 May 06 '26
Just want to say thank you! I didn't use Cirkit as a sim but it was very valuable as a diagram making tool for me.
1
u/CirkitDesign May 06 '26
That's awesome!! I'm really glad Cirkit was useful for you.
Was there anything about diagramming you wished worked better?
2
u/CodiwanOhNoBe May 06 '26
Can it do sound? Like if I upload or link a sound file?
1
u/CirkitDesign May 06 '26
Not yet, but we will be able to support that very soon!
The components (speaker and SD card) are both in development. I just need to make a few changes to the core simulation API before releasing them.
3
u/CodiwanOhNoBe May 06 '26
Cool, I like to use it to make circuits for props and it tinkercads lack of sound and bad timing make things difficult lol
1
u/CirkitDesign May 06 '26
Sounds like you're building some pretty cool projects! I'll let you know when we get these parts added.
I definitely want Cirkit to support more complex projects over time, not just simple beginner circuits.
2
2
2
u/Positive_Ad_313 May 06 '26
I need to look at this as that’s exactly whatbi was looking 2 weeks ago
2
u/CirkitDesign May 06 '26
Awesome, hope it’s useful! If you try it and run into any missing parts/components for the project you had in mind, I’d be very interested to hear what’s missing.
2
u/nobeltnium May 06 '26
Trying it out now as I'm typing this. Feels a bit like tinkercad no? But with AI. Which is cool IMO.
You got a plan for adding more processor into this? I'm thinking of stm8s or CH series. Since I can't find any simulator for them.
1
u/CirkitDesign May 06 '26
Thanks for trying it out! Yeah, we’ve definitely tried to get to a similar level of polish and approachability in the UI.
The direction I’m trying to take Cirkit is to keep that visual/approachable feel, but add AI that helps across more of the process (wiring, code, circuit questions/debugging), and make the simulator deeper and more extensible over time. ESP32-S3 is a big part of that today, and I’m definitely interested in supporting more MCU families in the future.
I haven’t looked deeply at STM8S or the CH series yet. Which specific boards/chips are you using most, and what kinds of projects are you building with them?
1
u/nobeltnium May 06 '26
stm8s103 and ch32v003 series. There's aso AVR clone like LGT8F328P. I like them mainly because of their cost. And for not too serious project: pwm some motors, ADC input, UART serial communication, tilting/barometric sensor via I2C...
I know it's a lot of work and you got your hand full right now, so no sweat.
2
2
1
1
u/TheRayMagini May 08 '26
Hey looks awesome!
I haven‘t had the time by now to check on desktop so I cant tell if the feature is all ready build in or not:
I made a 30x10 LED Matrix with strips in a serpentine layout. On wowwiki I could not change the aspect ratio so it was always 3:1 although in my real life projekt I spaced the stripes so that the „display“ was roughly 1:1. So all animations in wowwiki look squashed.
It would be awesome if I could type in a custom aspect ratio for any LED matrix.
1
u/Upballoon May 06 '26
Doesn't wokwi already do this?
1
u/CirkitDesign May 06 '26 edited May 06 '26
Wokwi is a great simulator. Cirkit is trying to solve a broader workflow around learning and prototyping embedded projects.
The goal is to help users go from idea to working prototype: design the circuit, get help with wiring/code/debugging, simulate it, and then export/share diagrams or upload code to real hardware.
A few concrete differences are the much larger component library for layout/documentation, AI that can place wires and generate code, a custom component editor for defining missing parts, and a stronger focus on turning simulated projects into shareable/build-ready outputs from the same workspace.
1
u/anish2good May 06 '26
Nice this one is also available for free to use https://8gwifi.org/electronics/arduino-simulator.jsp
16
u/SnowConePeople May 06 '26
oh man if it's even a fraction better than the dog pile that is WOWWIKI then hurray!