Online simulator for Microcontrollers

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
williamhenrick
Posts: 16
Joined: Wed Jul 14, 2021 8:58 am

Online simulator for Microcontrollers

Post by williamhenrick » Wed Jul 14, 2021 9:03 am

Hi,

I have been working on Microcontrollers for quite a long time, and now I am in need of some online simulator for microcontrollers. Something like PRoteus software but it should be online.

Although I have to work on multiple microcontrollers, but right now I am looking for any online simulator of Arduino programming.

Thanks.

User avatar
jimmo
Posts: 2754
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Online simulator for Microcontrollers

Post by jimmo » Wed Jul 14, 2021 12:08 pm

williamhenrick wrote:
Wed Jul 14, 2021 9:03 am
Although I have to work on multiple microcontrollers, but right now I am looking for any online simulator of Arduino programming.
This is the MicroPython forum so I'll stick to that, but here are two that I know of:

-- Online ARM Cortex M emulation running MicroPython: https://micropython.org/unicorn/
-- Online MicroPython emulator (as part of a MicroPython course for kids): https://groklearning.com/microbit/

The first one is interesting because the technology behind it (unicorn.js) is extremely powerful and might be a good starting point for what you're after.

I don't think the second one is what you're after, but I wrote it so let me know if you have questions.

williamhenrick
Posts: 16
Joined: Wed Jul 14, 2021 8:58 am

Re: Online simulator for Microcontrollers

Post by williamhenrick » Thu Jul 15, 2021 12:21 am

Yeah, the first link is good and its exactly the thing I am looking for but its only for micropython.

User avatar
kamil
Posts: 1
Joined: Fri Apr 30, 2021 7:32 pm

Re: Online simulator for Microcontrollers

Post by kamil » Tue Nov 02, 2021 8:29 pm

This looks nice https://wokwi.com/
I've made some circuits e.g. simple simulation of a home security system in MicroPython using Raspberry Pi Pico https://wokwi.com/arduino/projects/314179891742376513 but all Arduino stuff is far more supported in the Wokwi (also you'll find many example circuits in the docs for almost every elements).

I've made some research and for me the whole simulation looks like a virtual machine. Off course not 100% of things are working, but personally I'm impressed.

Areba21
Posts: 3
Joined: Sat Nov 13, 2021 5:04 am

Re: Online simulator for Microcontrollers

Post by Areba21 » Wed Nov 17, 2021 4:34 am

kamil wrote:
Tue Nov 02, 2021 8:29 pm
This looks nice https://wokwi.com/
I've made some circuits e.g. simple simulation of a home security system in MicroPython using Raspberry Pi Pico https://wokwi.com/arduino/projects/314179891742376513 but all Arduino stuff is far more supported in the Wokwi (also you'll find many example circuits in the docs for almost every elements).

I've made some research and for me the whole simulation looks like a virtual machine. Off course not 100% of things are working, but personally I'm impressed.
Compile the most recent version of kicad for design (the stable version is old, but CERN is actively improving it currently, so it's a lot better than it was two years ago). Nonetheless, it isn't quite ready for complex design - matched differential traces, microwave PCB design, and so on - but developers are working on it).

LTSpice under WINE is used to simulate board-level electronics.

To my understanding, gEDA is likewise a well-known Linux program. For simulation, it connects to ngSpice. I haven't tried it yet.

Post Reply