You can use Wokwi to simulate the ESP32, and soon also the ESP32-S2. The Wokwi is a free online embedded systems simulator for electronics, and it runs in your browser.
This means you can simulate code that interacts with 3rd-party sensors, display modules, LEDs, and many other common parts. There's also initial support for WiFi simulation, and the developers are working on extending it to support connecting to any host on the internet (e.g. HTTPS/MQTT)
ESP32 Simulator is still in the preview phase but can already help you start with basics. More and more features will be added in the coming days. You can also be a part of the development 😀
Link on the ESP32 documentation - https://docs.wokwi.com/guides/esp32
Discord community link - https://wokwi.com/discord
You can use the ESP32 Embedded Systems Simulator in three ways:
- Build projects using the ESP32 Arduino Core
- Run MicroPython projects
- Simulate bin application files you built on your machine (e.g. using ESP-IDF)
Here are the three template links so that you can start right away!✨⭐
https://wokwi.com/arduino/new?template=esp32
https://wokwi.com/arduino/new?template=micropython-esp32
https://wokwi.com/arduino/projects/305457271083631168
Simulator Examples #Arduino Examples #- Blink - In this example, you will Blink an LED connected to ESP32 pin D2
- Seven segment counter
- APA102 Color Cycles (TinyPico Board)
- WiFi Scanning
The following examples use the ESP-IDF functions. They are compiled using Arduino ESP32 Core:
The below article answers the following questions
- How to draw and connect using wires
- How to add a part in the Wokwi Simulator
- How to change wire colors
- How to delete a part on Wokwi
- How to move, rotate parts on the Wokwi Simulator, and more
https://www.hackster.io/Hack-star-Arduino/how-to-use-wokwi-arduino-simulator-what-is-wokwi-304e6b
Support/feedback/suggestions?You have many ways to ask for help, suggest a feature, or share your feedback
- Open an issue on GitHub
- Visit Facebook group
- Hop on to Discord Server!
- leave a comment here 😅
Comments