Arduino simulators in web

There are now Arduino simulators for what you will just need a web browser you’re good to go.

Leonardo Russo’s ArduinoSimulator is an open-source Arduino Simulator written in JavaScript that runs code directly in your web browser and shows the serial output and digital/analog pins status for various Arduino boards like Arduino UNO R3, MEGA1280, MEGA2560, and NANO V3.

This simulator has an area to write your code and save it locally. To test a program simply click on the run button at the top. To visualize the program operation the simulator shows icons for digital pins states (red = low, green = high) and analog pins (value from 0 to 255), and a serial monitor with a field that allows you to send commands as needed.

Arduino simulator demo
https://lrusso.github.io/ArduinoSimulator/demo1.html

Arduino Simulator in JavaScript – source code
https://github.com/lrusso/ArduinoSimulator

arduinosim1

Wokwi is an online simulator for Arduino, Raspberry Pi Pico, and ESP32 boards designed to help to learn programming without the actual hardware. Wokwi simulator looks like it could be a great little tool for educators to emulate circuits and run code right in a web browser. Wokwi has support for several Arduino boards (Uno, Mega, Nano), the Raspberry Pi Pico, and a generic ESP32 board programmed either with Arduino or MicroPython. Wokwi is free to use with public projects and standard features, but there’s also a premium membership option with more features.

Wokwi
https://wokwi.com/

arduinosim2

Links to sources:

https://www.cnx-software.com/2024/01/16/arduinosimulator-is-an-open-source-arduino-simulator-that-runs-on-your-web-browser/

https://www.cnx-software.com/2023/04/10/wokwi-arduino-raspberry-pi-pico-esp32-board-simulator/

1 Comment

Leave a Comment

Your email address will not be published. Required fields are marked *

*

*