Hello,
I am looking for a Arduino Simulator that supports the Arduino Micro board.
I came across Wokwi and Thinker CAD but they don't seem to support the Micro.
Any recommendations ? I am using a Mac to develop.
Thank you
Hello,
I am looking for a Arduino Simulator that supports the Arduino Micro board.
I came across Wokwi and Thinker CAD but they don't seem to support the Micro.
Any recommendations ? I am using a Mac to develop.
Thank you
It depends on exactly what you are trying to simulate.
If you are doing generic Arduino stuff, like trying to develop a non-blocking delay function for your own knowledge, you could use the Uno setting, work out the kinks, and then write the program for your Micro.
A sketch looking at button presses, LEDs, rotary encoders, etc could also be simulated this way. Of course, you would need to change pin numbers, actual resistors etc to match your board.
The code I am using needs the Keyboard, MIDI and Bounce2 library and I have a TPIC6B595 shift register in the circuit.
The simulator would also need to mimic the 2.5kb SRAM limitation of the Arduino MICRO.
Sorry, don't know of a sim for that. Perhaps someone else might know
No, I don't think so ![]()
Use a real Micro board.
You can test the Bounce2 and the shift register in a simulator, but not the USB devices.
As a workaround in a simulator, you could send messages to the Serial port at a high baudrate to tell what the Keyboard and the MIDI would do.
If you call a FreeMemory() function now and then, then you have a good idea about the memory usage. Wokwi can set the SRAM to any size.
I asked on the Wokwi Discord channel and the USB devices can not be simulated. Suppose a USB keyboard will be simulated in the future, then where will the keystrokes go ? Both Wokwi and Tinkercad are running inside the browser.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.