I just came across WokWi (https://wokwi.com) - an online Arduino and ESP32 simulator that runs in your browser. As always we’re sponsored by https://www.PCBWay.com/?from=atomic
It’s pretty amazing stuff, you can run your normal Arduino code, or you can use MicroPython and CircuitPython. Even more interestingly you can build your firmware locally and then upload the binary file to run on the simulator.
I built a simple blink sketch using PlatformIO, uploaded the binary and it worked. I almost fell off my chair.
There’s a WokWi channel if you want more information: https://www.youtube.com/channel/UCXjWweOkccNu1WeFPkXIBXw
Patreon: https://www.patreon.com/atomic14 ko-fi: https://ko-fi.com/atomic14